dolphin/Source/Core/VideoCommon/Src
pierre 1f2adf0563 VideoCommon: Always update pixel shader constants when tevregs change
This time, it doesn't break the games i tested, and still fixes
Metroid Prime 3 texts/colors.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7668 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-04 13:49:40 +00:00
..
OpenCL Fixed some memory leaks. Only one was mine ;P 2011-03-22 07:27:23 +00:00
AVIDump.cpp When using the "Start Renderer in Fullscreen" option, really start in fullscreen. In other words this now switches to fullscreen before the renderer is initiated instead of after. This is a partial fix for issue 4316. 2011-03-25 18:12:40 +00:00
AVIDump.h When using the "Start Renderer in Fullscreen" option, really start in fullscreen. In other words this now switches to fullscreen before the renderer is initiated instead of after. This is a partial fix for issue 4316. 2011-03-25 18:12:40 +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 DX11: I think I've figured out where the game enables texture offsets for lines and points. 2011-04-15 22:34:54 +00:00
BPStructs.cpp VideoCommon: Always update pixel shader constants when tevregs change 2011-07-04 13:49:40 +00:00
BPStructs.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
CPMemory.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
CPMemory.h Add graphics FIFO recorder and player for debugging the graphics system. 2011-03-27 02:55:08 +00:00
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
DLCache.cpp A long time since my last commit but i have a lot of work. hope to find some time to fix more things. 2011-05-25 02:05:48 +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
DataReader.h Simplify the SSSE3 code for better understanding. 2011-01-11 07:25:36 +00:00
Debugger.cpp Various UI and documentation improvements to the GFX debugger. 2011-07-01 20:59:57 +00:00
Debugger.h Virtual base classes should have a virtual destructor. 2011-01-30 01:58:54 +00:00
EmuWindow.cpp Quick fix for Dolphin crashing when using 3D and clicking anywhere on screen. Basically just re-adding something that I removed a while ago... it wasn't needed anymore, apparently it is again. 2011-04-29 23:02:06 +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 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
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 Don't use lookup tables. It's better to use CPU registers and reduce memory accesses. 2009-07-30 20:29:52 +00:00
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
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 Add graphics FIFO recorder and player for debugging the graphics system. 2011-03-27 02:55:08 +00:00
OpcodeDecoding.h Add graphics FIFO recorder and player for debugging the graphics system. 2011-03-27 02:55:08 +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 just a little cleanup to maintain minimal interfaces 2011-06-10 19:16:09 +00:00
PixelShaderGen.h just a little cleanup to maintain minimal interfaces 2011-06-10 19:16:09 +00:00
PixelShaderManager.cpp VideoCommon: Always update pixel shader constants when tevregs change 2011-07-04 13:49:40 +00:00
PixelShaderManager.h VideoCommon: Always update pixel shader constants when tevregs change 2011-07-04 13:49:40 +00:00
RenderBase.cpp Don't resize render target to handle out-of-bounds viewports. Instead, adjust the projection matrix. 2011-05-12 02:14:45 +00:00
RenderBase.h Don't resize render target to handle out-of-bounds viewports. Instead, adjust the projection matrix. 2011-05-12 02:14:45 +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 just a little cleanup to maintain minimal interfaces 2011-06-10 19:16:09 +00:00
TextureConversionShader.h hopefully fixed zww issue with new efb to ram. 2010-07-12 19:30:25 +00:00
TextureDecoder.cpp fix a memleak and quiet some warnings 2011-03-22 15:23:39 +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.cpp Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone. 2011-03-21 05:46: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 Add graphics FIFO recorder and player for debugging the graphics system. 2011-03-27 02:55:08 +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
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 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
VertexLoader_Normal.cpp Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone. 2011-03-21 05:46:33 +00:00
VertexLoader_Normal.h Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone. 2011-03-21 05:46:33 +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 VideoCommon: Added automatic selection routines for SSSE3/SSE4.1 codes. It selects SSSE3/SSE4.1 codes only if a proper preprocessor definition is defined and the target cpu supports SSSE3/SSE4.1. The selection routines in VertexLoader_* use function pointers. TextureDecoder uses a combination of "#if" and "if" statements. 2010-04-09 15:13:42 +00:00
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 VideoCommon: Added automatic selection routines for SSSE3/SSE4.1 codes. It selects SSSE3/SSE4.1 codes only if a proper preprocessor definition is defined and the target cpu supports SSSE3/SSE4.1. The selection routines in VertexLoader_* use function pointers. TextureDecoder uses a combination of "#if" and "if" statements. 2010-04-09 15:13:42 +00:00
VertexManagerBase.cpp Fix "Disable Lighting" in D3D9 and D3D11. 2011-04-30 17:34:08 +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 just a little cleanup to maintain minimal interfaces 2011-06-10 19:16:09 +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 Don't resize render target to handle out-of-bounds viewports. Instead, adjust the projection matrix. 2011-05-12 02:14:45 +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 just a little cleanup to maintain minimal interfaces 2011-06-10 19:16:09 +00:00
VideoConfig.cpp Fix applying anti-aliasing without having to open the gfx config. Thanks to skid for pointing out the VerifyValidity problem to me ;) 2011-05-31 20:16:59 +00:00
VideoConfig.h Fix applying anti-aliasing without having to open the gfx config. Thanks to skid for pointing out the VerifyValidity problem to me ;) 2011-05-31 20:16:59 +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 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
XFMemory.h Fix an error introduced in r7083. In the pixel shader manager the farZ and zRange of the z bias were flipped. Switched to using the viewport struct rather than a raw float array to hopefully avoid such confusion in the future. Fixes issue 4060. 2011-04-11 01:49:32 +00:00
XFStructs.cpp some code cleanup i have left in my folder :) 2011-05-25 18:14:29 +00:00
XFStructs.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
memcpy_amd.cpp GL Vertex loader moved to VideoCommon. 2008-12-26 13:09:16 +00:00