summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
AgeCommit message (Collapse)Author
2013-09-09videoCommon: also reset logicOp on mode switchdegasus
2013-08-15Only call SetGenerationMode from BPWritten if the cull mode changed.Pierre Bourdon
Should decrease CPU usage on the GPU thread by a bit in the OGL backend.
2013-06-18BPMemory: Assign a more descriptive name to a field in the genmode register.NeoBrainX
2013-05-01Apply color mask when alpha test parameters change. Required to make the ↵NeoBrainX
changes in revision be706a397720 work properly. Fixes issue 6080.
2013-04-24Formatting cleanup for VideoCommon.Lioncash
Block braces on new lines. Also killed off trailing whitespace and dangling elses. Spaced some things out to make them more readable (only in places where it looked like a bit of a clusterfuck).
2013-04-17New license header introduced for DiscIO, AudioCommon, InputCommon, ↵Lioncash
VideoCommon, and Common projects.
2013-03-17GLSL: fix transparency issues on dual source blend. fix issue 6104degasus
2013-03-06Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/CMakeLists.txt Source/Core/DolphinWX/Src/GLInterface.h Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-03-01Add documentation to PerfQueryBase interface.NeoBrainX
Remove the config field for perf queries (wasn't used for the new interface anyway). Few other cleanups.
2013-03-01Remove two incorrect lines. How did those even get there?!NeoBrainX
2013-03-01Merge branch 'master' into perfqueries.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/VideoConfig.h Source/Core/VideoCommon/VideoCommon.vcxproj.filters Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp Source/Plugins/Plugin_VideoSoftware/Src/Tev.cpp
2013-02-20Remove some unneeded sampler-related calls in BPStructs.Jordan Woyak
2013-02-18Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/Dolphin.vcxproj Source/Core/DolphinWX/Src/GLInterface/WX.cpp Source/Core/DolphinWX/Src/GLInterface/WX.h Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/TextureCacheBase.h Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp damn mipmap_fixes ...
2013-02-07Fix some potential issues when blending on EFB formats without alpha.NeoBrainX
Clean up state transition tables.
2013-01-25Duplicate condition fix.Lioncash
Thanks j4ck.fr0st
2013-01-24Merge branch 'immediate-removal' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal so we get less conflicts by merging
2013-01-24Fix a potential memory leak on non-windows systems.lioncash
Also added a FIXME to BPStructs.cpp and BPMemLoader.cpp
2013-01-18set blending if dual source might be triggereddegasus
2013-01-15Fix two unsigned/signed mismatch warnings.lioncash
2013-01-10VideoCommon: Implement proper RGBA8 texture loading from tmem.NeoBrainX
2013-01-08Move alpha pretest to BPMemory.h and rename a bunch of alpha testing related ↵NeoBrainX
stuff
2012-12-23revert last commit, add CheckInvalidState to VideoBackenddegasus
2012-12-21add invalid flag for BPStructs (fix issue 5790)degasus
this flag will be set on loading a state and checked before every rendering.
2012-08-26OGL: Implement pixel metrics (untested)NeoBrainX
2012-08-26D3D11: Implement some PE pixel performance metrics.NeoBrainX
Super Mario Sunshine is using a cool trick: To determine how much goop has been cleaned in ep. 6 of Sirena Beach, it counts the number of pixels that are input to the blending stage. For that it's using the PE performance registers ;) Fixes issue 1498.
2012-08-07Maintenance.NeoBrainX
2012-06-02Remove some TODOs.NeoBrainX
2012-06-02OSX build fix for BPStructs. Thanks to pauldacheez for the fix.skidau
2012-05-26fixed some graphics problems with loading savestates (for example, wrong ↵nitsuja
colors on title screen of metroid prime 3)
2012-05-20Avoid changing video state on useless BP writesPierre Bourdon
When a game writes the same value that was already configured to a BP register, Dolphin previously flushed the GPU pipeline and reconfigured the internal video state (calling SetScissor/SetLineWidth/SetDepthMode). Some of these useless writes still need to perform actions, for example writes to the EFB copy trigger or the texture preload registers (which need to reload the texture from memory).
2012-05-18Check if BP and XF changes actually change values before flushingPierre Bourdon
2012-03-25Added a check for TMEM overflows while preloading textures. Thanks to ↵skidau
NeoBrainX for the tip.
2012-03-23Checked PRELOAD_MODE to determine if TMEMODD or TMEMEVEN should be used.skidau
Fixes issue 5212.
2012-02-03Prepare texture preloading supportNeoBrainX
2011-10-28Bounding Box bugfixes.crudelios
- Fixes all (I hope) BBox-related unknown pointer crashes. - Fixes wrong BBox values with Frame Skip on (and the resulting unknown pointer crashes). - Fixes a small oversight on the change I made to the ISO Properties dialog. This should also be a (very very little) bit faster than the previous version.
2011-10-26Added proper Bounding Box support.crudelios
Should fix most graphical issues with Paper Mario: TTYD and Super Paper Mario. Fixes issue 360. Since only those two games seem to require BBox support, and as per ector's suggestion, BBox is only enabled for those two games. BBoxes and Display List Caches don't get along too well, causing Paper Mario: TTYD to hang during certain effects where BBoxes are used. For now, I disabled DList Cache for the Paper Mario games, hopefully both will be compatible in the future.
2011-09-05Merge some scissor rect related code to VideoCommon.NeoBrainX
2011-07-04VideoCommon: Always update pixel shader constants when tevregs changepierre
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-03Revert r7665. Breaks about all other games.pierre
Sorry, MP3 users will have to wait a bit longer. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7666 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-07-03VideoCommon: Always update pixel shader constants when tevregs changepierre
Fixes texts staying visible and strange colors in Metroid Prime 3. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7665 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-03VideoCommon: Update color writing mask if pixel format changes.NeoBrainX
Possibly fixes issue 4340. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7436 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05Missed a critical section.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7295 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-26Add EFB encode-to-RAM support in DX11 backend. It could probably be ↵Nolan Check
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. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7253 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-02Remove PluginSpecs.h. Merge the few needed enums from that file into ↵Glenn Rice
Common.h for now. I am up for suggestions on a better place for those. Fix frame dumping on linux. Make sure that on screen messages get cleared between games. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7039 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29initial implementation of fog range adjust, I don't think is correct or work ↵Rodolfo Osvaldo Bogado
right but is a start. some tweaks and fixes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6957 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Clean out the long since bit-rotted video profiling code.Soren Jorvang
Profiler.{cpp,h} also happened to be the only dupliated filenames left in Source, the absence of which should make link-time optimization easier to get working. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6935 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Fixed the black (alpha) textures in the 8ing games like Tatsunoko vs Capcom ↵skidau
and the Naruto series when using the OpenGL plug-in. Thanks to jim.lee for the tip. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6930 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-05corrected depth copy shader in dx9/dx11 to improve accuracy when doing efb ↵Rodolfo Osvaldo Bogado
to texture for depth formats git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6751 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-31Finish implementing gamma correction in DX9.donkopunchstania
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6697 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-27Implement pixel data reinterpretation on EFB format change.NeoBrainX
Whatever that means, it fixes that stupid Super Mario Sunshine glitch and possibly lots of other stuff, so test as many glitchy games as possible with this ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6669 8ced0084-cf51-0410-be5f-012b33b47a6e