dolphin/Source/Core/VideoCommon/Src
Matt Callaghan 8eaed1c105 Partial fix for 3D Vision.
It now works in the debug builds, but not in release builds for some reason. I'm not used to big projects like this so it's probably something obvious that I'm missing. Exclusive full screen mode seems to need the fullscreen resolution for the backbuffer when the DX device is created, so I used adapters[adapter].resolutions[f].xres and yres to get that, but in release builds, that gives me the windowed resolution (in debug it give me the fullscreen res, like I believe it's supposed to), which it reallly doesn't like.

It's not a difficult fix probably, but I've been staring at my monitor in confusion for too long now and need to get to bed. If anyone wants to test, you can still enable the 3D Vision option, it just wouldn't be 3D (obviously).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7385 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21 03:39:28 +00:00
..
OpenCL Simplify the SCons build: 2011-03-20 18:35:07 +00:00
AVIDump.cpp Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases. 2011-02-28 20:40:15 +00:00
AVIDump.h On linux encode frame dumps in MPG format instead of writing raw frames. To enable this portion of the code you must have libavcodec-dev and libswscale-dev installed (package names for Ubuntu). 2010-11-14 21:14:26 +00:00
BPFunctions.cpp Minor cleanup. 2011-03-04 23:23:59 +00:00
BPFunctions.h Add EFB encode-to-RAM support in DX11 backend. It could probably be simplified a lot, and not all the possible formats are implemented. I tried to use the dynamic-linking feature of shader model 5, but Microsoft's HLSL compiler is broken. "Dynamic mode" is implemented, but disabled for now. 2011-02-26 23:41:02 +00:00
BPMemory.cpp Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
BPMemory.h Fix a typo in BPFunctions causing a PanicAlert in SW:RS2. 2011-03-04 23:14:21 +00:00
BPStructs.cpp Missed a critical section. 2011-03-05 12:05:58 +00:00
BPStructs.h
CommandProcessor.cpp Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +00:00
CommandProcessor.h Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +00:00
CPMemory.cpp
CPMemory.h Some more cleanup which should've been in r6232. Thanks Billiard. 2010-09-27 05:16:11 +00:00
DataReader.h Simplify the SSSE3 code for better understanding. 2011-01-11 07:25:36 +00:00
Debugger.cpp More conversion from char * to std::string. 2011-03-01 03:06:14 +00:00
Debugger.h Virtual base classes should have a virtual destructor. 2011-01-30 01:58:54 +00:00
DLCache.cpp Fix things so that those who wish to compile with -std=c++0x can. To active this with the cmake build add CXXFLAGS="-std=c++0x" before cmake on the command line, or export that variable. This enables the experimental features like std::thread, std::mutex, etc., that are provided by g++ instead of using the implementation in dolphin. 2011-03-12 00:01:33 +00:00
DLCache.h Experimental commit: this is the base for a more complex dlist control code, is incomplete but i need some feedback. 2011-02-08 00:28:28 +00:00
EmuWindow.cpp Partial fix for 3D Vision. 2011-03-21 03:39:28 +00:00
EmuWindow.h Win32-only: 2010-12-19 19:43:18 +00:00
Fifo.cpp Fix the video software backend. (closes issue 4269) 2011-03-16 22:48:17 +00:00
Fifo.h Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +00:00
FramebufferManagerBase.cpp Make sure to not do any XFB emulation at all if it's not enabled. 2011-03-19 00:21:59 +00:00
FramebufferManagerBase.h Second Experimental commit: 2010-12-27 03:18:01 +00:00
HiresTextures.cpp More conversion from char * to std::string. 2011-03-01 03:06:14 +00:00
HiresTextures.h Changes to hi-res textures. Textures now load correctly when loading/saving a savestate, and can be toggled on and off in game. 2011-02-05 10:08:06 +00:00
ImageWrite.cpp Wrapped fopen/close/read/write functions inside a simple "IOFile" class. Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p 2011-03-11 10:21:46 +00:00
ImageWrite.h
IndexGenerator.cpp Related to Texture's glitches: 2010-11-25 20:39:54 +00:00
IndexGenerator.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
LightingShaderGen.cpp Deal with some clang-inspired buglets. 2011-02-06 01:56:45 +00:00
LightingShaderGen.h Deal with some clang-inspired buglets. 2011-02-06 01:56:45 +00:00
LookUpTables.h
MainBase.cpp Fix the video software backend. (closes issue 4269) 2011-03-16 22:48:17 +00:00
MainBase.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
memcpy_amd.cpp
NativeVertexFormat.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
OnScreenDisplay.cpp Remove PluginSpecs.h. Merge the few needed enums from that file into Common.h for now. I am up for suggestions on a better place for those. 2011-02-02 04:40:27 +00:00
OnScreenDisplay.h Remove PluginSpecs.h. Merge the few needed enums from that file into Common.h for now. I am up for suggestions on a better place for those. 2011-02-02 04:40:27 +00:00
OpcodeDecoding.cpp A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue) 2011-03-15 23:09:12 +00:00
OpcodeDecoding.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
OpenCL.cpp Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
OpenCL.h Fix *BSD build. 2011-01-31 03:02:23 +00:00
PixelEngine.cpp Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +00:00
PixelEngine.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
PixelShaderGen.cpp Game-specific video settings: 2011-03-19 00:50:34 +00:00
PixelShaderGen.h initial implementation of fog range adjust, I don't think is correct or work right but is a start. 2011-01-29 04:31:56 +00:00
PixelShaderManager.cpp Game-specific video settings: 2011-03-19 00:50:34 +00:00
PixelShaderManager.h Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry). 2011-02-05 18:25:34 +00:00
RenderBase.cpp A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue) 2011-03-15 23:09:12 +00:00
RenderBase.h A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue) 2011-03-15 23:09:12 +00:00
Statistics.cpp D3D9: Delete some long dead code. Also add one more statistic: number of compiled shaders that actually have unique code (not accurate unless you delete the shader cache before running). This stat clearly shows that in f-zero we create 5x as many pixel shaders as we should, so there's clearly a problem with the shader ID generation. 2010-06-20 22:23:34 +00:00
Statistics.h added the possibility to allocate aligned memory, an use it to allocate the buffer utilized in texture decoding, this will make a little easy to use aligned writes when possible in sse2/3 optimized algorithms. 2011-02-25 20:35:05 +00:00
TextureCacheBase.cpp More conversion from char * to std::string. 2011-03-01 03:06:14 +00:00
TextureCacheBase.h Add EFB encode-to-RAM support in DX11 backend. It could probably be simplified a lot, and not all the possible formats are implemented. I tried to use the dynamic-linking feature of shader model 5, but Microsoft's HLSL compiler is broken. "Dynamic mode" is implemented, but disabled for now. 2011-02-26 23:41:02 +00:00
TextureConversionShader.cpp Eliminated the plugin interface. Merged DX9/DX11/OGL video plugins into Dolphin. It could still use a lot of cleanup. Lots of things are still named "plugin". Software renderer is temporarily disabled until it gets some namespaces. I only updated vs08/10, Linux/OSX builds are broken. 2011-01-31 01:28:32 +00:00
TextureConversionShader.h hopefully fixed zww issue with new efb to ram. 2010-07-12 19:30:25 +00:00
TextureDecoder.cpp Added a toggle switch for the OpenMP texture decoder in the graphics settings. 2011-03-19 01:55:57 +00:00
TextureDecoder.h added the possibility to allocate aligned memory, an use it to allocate the buffer utilized in texture decoding, this will make a little easy to use aligned writes when possible in sse2/3 optimized algorithms. 2011-02-25 20:35:05 +00:00
VertexLoader_Color.cpp little fix for one piece unlimited cruise 2 and ju-on the grudge 2011-01-26 17:22:09 +00:00
VertexLoader_Color.h
VertexLoader_Normal.cpp 2 fixes one for dx9 and one for software plugin. 2011-01-23 15:29:57 +00:00
VertexLoader_Normal.h rework the normal loading now it should be a accurate as real hardware. 2011-01-19 13:57:15 +00:00
VertexLoader_Position.cpp Use SSSE3 shuffle for DataReader's DataReadU32xN in VideoCommon. The function is used for reading up to 16 u32's at a time (512-bits) and then converting endianness. 2011-01-10 13:14:56 +00:00
VertexLoader_Position.h
VertexLoader_TextCoord.cpp Merged identical VertexManager code from DX9/DX11/OGL plugins into VideoCommon. Still need to merge VertexManager::Flush (will be easier after TextureCache is merged). Purposely using a class/virtualfuncs rather than a namespace so multiple VertexManager can be in one plugin (VideoMergeNew? :p). 2010-10-03 00:41:06 +00:00
VertexLoader_TextCoord.h
VertexLoader.cpp Fix things so that those who wish to compile with -std=c++0x can. To active this with the cmake build add CXXFLAGS="-std=c++0x" before cmake on the command line, or export that variable. This enables the experimental features like std::thread, std::mutex, etc., that are provided by g++ instead of using the implementation in dolphin. 2011-03-12 00:01:33 +00:00
VertexLoader.h Changed macro for disallowing copy-ctor and =operator into an inheritable class. Removed IrPointer.ini (no longer used) 2010-11-15 05:29:10 +00:00
VertexLoaderManager.cpp Eliminated the plugin interface. Merged DX9/DX11/OGL video plugins into Dolphin. It could still use a lot of cleanup. Lots of things are still named "plugin". Software renderer is temporarily disabled until it gets some namespaces. I only updated vs08/10, Linux/OSX builds are broken. 2011-01-31 01:28:32 +00:00
VertexLoaderManager.h fully implemented display list cache with vertex data included and added in all the plugins. 2010-08-29 23:08:56 +00:00
VertexManagerBase.cpp Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases. 2011-02-28 20:40:15 +00:00
VertexManagerBase.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
VertexShaderGen.cpp Game-specific video settings: 2011-03-19 00:50:34 +00:00
VertexShaderGen.h DX11: Support thick lines and large points with geometry shaders. Lines still aren't drawn with correct thickness, see Twilight Princess map. But the map corners are drawn with correct shadow "blobs" for the first time! 2011-03-14 09:38:29 +00:00
VertexShaderManager.cpp Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry). 2011-02-05 18:25:34 +00:00
VertexShaderManager.h Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry). 2011-02-05 18:25:34 +00:00
VideoCommon.h Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore. 2011-02-14 02:18:03 +00:00
VideoConfig.cpp Added a toggle switch for the OpenMP texture decoder in the graphics settings. 2011-03-19 01:55:57 +00:00
VideoConfig.h Removed the OpenMP option from the DolphinWX project. It was causing a slowdown when the EFB to texture option was activated. This means that the OpenMP texture decoder option will not be hidden for non-OpenMP builds. 2011-03-19 10:05:57 +00:00
VideoState.cpp Big Fifo Commit Part2: Now the fifo is more stable than my first commit, so is time... 2011-02-17 04:25:21 +00:00
VideoState.h Paused the video thread while a save state was being created or loaded. Performed the save state operation after the fifo became idle. Saved the interrupt status of the video thread into the save state. This helps stabilise the save states in dual core mode in games like Super Mario Galaxy. 2011-02-08 10:37:47 +00:00
XFMemory.cpp
XFMemory.h Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry). 2011-02-05 18:25:34 +00:00
XFStructs.cpp Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry). 2011-02-05 18:25:34 +00:00
XFStructs.h