Main change: Implemented EFB pokes in DX9/DX11.
commitdc66fd03f8b1a2cd62af1a86c5fde5c2d0c2489e
authorNeoBrainX <NeoBrainX@8ced0084-cf51-0410-be5f-012b33b47a6e>
Fri, 22 Oct 2010 19:40:05 +0000 (22 19:40 +0000)
committerNeoBrainX <NeoBrainX@8ced0084-cf51-0410-be5f-012b33b47a6e>
Fri, 22 Oct 2010 19:40:05 +0000 (22 19:40 +0000)
tree9ea897a88493bc3c6176aecb269dedc8aa248b33
parentc003035fb1a6d2595265cce6ef184f9203e98011
Main change: Implemented EFB pokes in DX9/DX11.
Games affected by this change: Mario Smash Football, Mario Strikers Charged Football, Monster Hunter Tri.
Other games possibly affected: Shaun White Snowboarding, Resident Evil Code: Veronica, Baten Kaitos.
This implementation will decrease performance if the game uses this feature, but the glitches will be gone. I'll add an option for this in a later commit. EFB pokes are somewhat slow in DX11 right now, speed should be okayish in DX9 though.

Other changes:
- SOMEWHAT cleaned up the EFB access code in DX9
- Fixed incompatible parameter list of AccessEFB and TVideo_AccessEFB.
- Fixed a theoretical bug in ReplaceRGBATexture2D, add support for STAGING textures
- Removed unused parameters in various DX9 functions

git-svn-id: http://dolphin-emu.googlecode.com/svn/trunk@6300 8ced0084-cf51-0410-be5f-012b33b47a6e
16 files changed:
Source/Core/VideoCommon/Src/Render.h
Source/Plugins/Plugin_VideoDX11/Src/D3DTexture.cpp
Source/Plugins/Plugin_VideoDX11/Src/D3DUtil.cpp
Source/Plugins/Plugin_VideoDX11/Src/D3DUtil.h
Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
Source/Plugins/Plugin_VideoDX11/Src/main.cpp
Source/Plugins/Plugin_VideoDX9/Src/D3DUtil.cpp
Source/Plugins/Plugin_VideoDX9/Src/D3DUtil.h
Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.h
Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp
Source/Plugins/Plugin_VideoDX9/Src/TextureConverter.cpp
Source/Plugins/Plugin_VideoDX9/Src/main.cpp
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Source/Plugins/Plugin_VideoOGL/Src/main.cpp