dolphin/Source/Plugins/Plugin_VideoDX11/Src
NeoBrainX 48859da6e3 DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!)
Explanation of this commit: We only have to care about four BP registers in ClearScreen, the remaining API state should be reset. The colorEnable and alphaEnable parameters are obsolete, for some reason directly using them caused the SMS glitch with DX11 (because of that bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24 check in BPFunctions.cpp, is this one actually correct?)

The comment in BPFunctions.cpp was at least misleading (if not even wrong), so I removed it.

For what it's worth, someone needs to port this to the OpenGL and Software plugins (unless they're doing this properly already)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6327 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-01 19:13:50 +00:00
..
W32Util Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00
BPFunctions.cpp DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!) 2010-11-01 19:13:50 +00:00
D3DBase.cpp Change Disc functionality: 2010-09-15 12:30:56 +00:00
D3DBase.h DX9/DX11: Workaround the viewpoint/EFB creation issues in e.g. SMG2 on NVIDIA hardware or when using HD. Will most likely cause glitches, but prevents crashing. Correct behavior can't be implemented in Direct3D, so this is the best option we have. 2010-07-11 16:26:46 +00:00
D3DBlob.cpp boring svn:eol-style native again... 2010-06-22 23:45:56 +00:00
D3DBlob.h boring svn:eol-style native again... 2010-06-22 23:45:56 +00:00
D3DShader.cpp Drop d3dcompiler_xx.dll dependence, using D3DX11CompileFromMemory instead. 2010-06-27 16:08:54 +00:00
D3DShader.h DX11: Introduce a D3DBlob class. 2010-06-16 23:25:19 +00:00
D3DTexture.cpp Main change: Implemented EFB pokes in DX9/DX11. 2010-10-22 19:40:05 +00:00
D3DTexture.h Committing some cleanups by avindra: 2010-07-18 10:11:34 +00:00
D3DUtil.cpp DX11: Fix ClearScreen properly this time. Should fix quite a few games (or break them :P) 2010-10-24 16:53:33 +00:00
D3DUtil.h Main change: Implemented EFB pokes in DX9/DX11. 2010-10-22 19:40:05 +00:00
DlgSettings.cpp DX11: Add texture dumping and hires texture loading support. 2010-10-04 11:02:35 +00:00
DlgSettings.h Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00
EmuWindow.cpp Minor code formatting: 2010-09-28 02:15:02 +00:00
EmuWindow.h Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00
FramebufferManager.cpp A couple minor things I have left over 2010-10-24 19:41:10 +00:00
FramebufferManager.h DX11: If the virtual XFB list overflows, replace the oldest XFB with a new one instead of just failing. 2010-10-23 18:44:01 +00:00
GfxState.cpp Put infrastructure in place so that other plugins may support dual-source blending. 2010-10-21 05:22:18 +00:00
GfxState.h DX11 plugin: Do destination-alpha in a single pass. No more drawing the same geometry twice! SMG is faster now because it uses destination-alpha extensively. This uses dual-source color blending, a DirectX 10-level feature. The equivalent OpenGL function comes from the GL_ARB_blend_func_extended extension, which was made core in OpenGL 3.3. 2010-10-20 03:11:22 +00:00
Globals.h Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00
NativeVertexFormat.cpp Minor code formatting: 2010-09-28 02:15:02 +00:00
PixelShaderCache.cpp Put infrastructure in place so that other plugins may support dual-source blending. 2010-10-21 05:22:18 +00:00
PixelShaderCache.h Put infrastructure in place so that other plugins may support dual-source blending. 2010-10-21 05:22:18 +00:00
Render.cpp DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!) 2010-11-01 19:13:50 +00:00
TextureCache.cpp Clarify texture cache code. Previously, there were THREE sets of texture dimensions, and it was hard to tell which set was for what purpose. 2010-10-20 00:39:45 +00:00
TextureCache.h Merged common texture cache code from video plugins into VideoCommon. (DX11 native mipmaps currently broken, disabled) Hopefully everything else should still be working. 2010-10-19 22:24:27 +00:00
VertexManager.cpp Put infrastructure in place so that other plugins may support dual-source blending. 2010-10-21 05:22:18 +00:00
VertexManager.h DX11 plugin: Do destination-alpha in a single pass. No more drawing the same geometry twice! SMG is faster now because it uses destination-alpha extensively. This uses dual-source color blending, a DirectX 10-level feature. The equivalent OpenGL function comes from the GL_ARB_blend_func_extended extension, which was made core in OpenGL 3.3. 2010-10-20 03:11:22 +00:00
VertexShaderCache.cpp Minor code formatting: 2010-09-28 02:15:02 +00:00
VertexShaderCache.h Committing some cleanups by avindra: 2010-07-18 10:11:34 +00:00
main.cpp Added the wait/sync back in the video thread on XFB swaps. Fixes issue 3391. 2010-10-23 12:26:57 +00:00
main.h Fix saving states on mesa3d and clean up the handling of asynchronous requests 2010-08-04 21:02:32 +00:00
resource.h DX11: Add texture dumping and hires texture loading support. 2010-10-04 11:02:35 +00:00
resource.rc DX11: Add texture dumping and hires texture loading support. 2010-10-04 11:02:35 +00:00
stdafx.cpp Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00
stdafx.h Add a DX11 video plugin. 2010-06-13 19:50:06 +00:00