dolphin/Source/Core/VideoCommon/Src
Rodolfo Osvaldo Bogado 19d7bb2c84 big commit, implemented depth textures with hardware support in D3D, so now they will be correct as in opengl. please test a lot because i only tested the ati path, nvidia path is "Theoretical" :).
Also reimplemented screen clearing as a color quad to support alpha blending when clearing as in the original hardware.
the funny thing is how is implemented peeking, as locking depth textures is not supported, implemented peeking copying the values form the depth texture to a r32f render target and then reading back the data.
please a lot of testing to this commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4599 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-22 02:37:00 +00:00
..
OpenCL OpenCL: Fixed and enabled CMPR decompression 2009-10-22 01:42:21 +00:00
AVIDump.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
AVIDump.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
BPFunctions.h STAND BACK - NEWLINE POLICE 2009-11-15 22:26:39 +00:00
BPMemory.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
BPMemory.h fix Jit64::fmrx (well, fixes soul calibur 2 SPS at least) cottonvibes wrote this :) 2009-10-29 04:01:31 +00:00
BPStructs.cpp Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +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 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
CommandProcessor.cpp The WGP does not loop if the write pointer is set beyond the end of the fifo. Updated the video plugins this time. 2009-11-12 01:51:40 +00:00
CommandProcessor.h Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
DataReader.h D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things 2009-09-13 21:18:04 +00:00
Fifo.cpp The WGP does not loop if the write pointer is set beyond the end of the fifo. Updated the video plugins this time. 2009-11-12 01:51:40 +00:00
Fifo.h Frameskipping! Complete with GUI! Even my most naive approach resulted in great speeds, even with graphic-intensive games such as Pikmin. 2009-08-08 01:39:56 +00:00
GlobalControl.cpp DSPLLE + 2 small fixes, many GC AX games are almost perfect (sound wise, ex. Super Monkey Ball 1/2), if PC is fast enough (3GHz C2D+), Zelda type games too slow to be testable 2009-09-28 16:39:29 +00:00
GlobalControl.h more uninteresting cleanup, fixed a minor race condition when toggling efb copy mode 2009-09-13 10:18:01 +00:00
HiresTextures.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
HiresTextures.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
ImageWrite.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
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 Sps fixed in all the games tested, code cleanup and reordering 2009-10-06 14:24:10 +00:00
IndexGenerator.h Sps fixed in all the games tested, code cleanup and reordering 2009-10-06 14:24:10 +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
NativeVertexFormat.h D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things 2009-09-13 21:18:04 +00:00
NativeVertexWriter.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
NativeVertexWriter.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
OnScreenDisplay.cpp Moving more things out of GL into VideoCommon... 2009-09-03 20:37:35 +00:00
OnScreenDisplay.h Moving more things out of GL into VideoCommon... 2009-09-03 20:37:35 +00:00
OpcodeDecoding.cpp STAND BACK - NEWLINE POLICE 2009-11-15 22:26:39 +00:00
OpcodeDecoding.h I hope you all like this. Changes: 2009-10-02 14:03:07 +00:00
PixelEngine.cpp small code cleanup: rename "dual core" stuff to CPUThread, bOnThread, etc. 2009-10-23 15:26:35 +00:00
PixelEngine.h Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
PixelShaderGen.cpp big commit, implemented depth textures with hardware support in D3D, so now they will be correct as in opengl. please test a lot because i only tested the ati path, nvidia path is "Theoretical" :). 2009-11-22 02:37:00 +00:00
PixelShaderGen.h Implemented secondary path for hardware with no multiples render target support, so please a lot of testing from people with problems in the last release. 2009-11-10 12:45:03 +00:00
PixelShaderManager.cpp Try to do Z textures better. Z texturing does not work if early z or no z update. Corrected the Z texture bias used on 8 and 16 bit textures. 2009-11-21 02:49:46 +00:00
PixelShaderManager.h a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback 2009-11-19 02:28:41 +00:00
Profiler.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
Profiler.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
Render.h D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it. 2009-09-13 17:46:33 +00:00
SConscript Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
Statistics.cpp D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup. 2009-09-19 13:14:55 +00:00
Statistics.h D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup. 2009-09-19 13:14:55 +00:00
TextureConversionShader.cpp Well this commit has 2 parts: 2009-11-20 18:46:30 +00:00
TextureConversionShader.h Well this commit has 2 parts: 2009-11-20 18:46:30 +00:00
TextureDecoder.cpp EFB to RAM in OGL and software plugin now work correctly when texture in RAM is a different size than the source. Corrected some block heights in texture decoder to fix copying certain EFB formats. 2009-11-15 20:14:03 +00:00
TextureDecoder.h Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
VertexLoader.cpp Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
VertexLoader.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
VertexLoaderManager.cpp Frameskipping! Complete with GUI! Even my most naive approach resulted in great speeds, even with graphic-intensive games such as Pikmin. 2009-08-08 01:39:56 +00:00
VertexLoaderManager.h make DLCache compile on linux, required some weird casting so tell me 2009-08-10 06:18:10 +00:00
VertexLoader_Color.cpp Got rid of all of jp's ////////////////////////////// lines (nearly 500 of them)! 2009-09-02 21:00:45 +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 D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things 2009-09-13 21:18:04 +00:00
VertexLoader_Normal.h D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things 2009-09-13 21:18:04 +00:00
VertexLoader_Position.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
VertexLoader_Position.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_TextCoord.cpp Linux: Tons of warning cleanup plus workaround a nasty crash problem in StatusBarMessage. 2009-09-08 21:16:05 +00:00
VertexLoader_TextCoord.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
VertexShaderGen.cpp small code cleanup, and little fixing of errors introduced by mi in my first commit :( 2009-10-30 04:14:43 +00:00
VertexShaderGen.h D3D: Minor bug fix and some code cleanup for DirectX API call reduction. 2009-09-10 03:36:32 +00:00
VertexShaderManager.cpp a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback 2009-11-19 02:28:41 +00:00
VertexShaderManager.h a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback 2009-11-19 02:28:41 +00:00
VideoCommon.h D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup. 2009-09-19 13:14:55 +00:00
VideoConfig.cpp Change some default settings: 2009-10-23 05:48:54 +00:00
VideoConfig.h Fix issue 1549, issue 1400, a crash when pressing reset while no game were running and better fix for issue 1556 2009-10-22 19:13:22 +00:00
VideoState.cpp Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder. 2009-10-10 21:19:39 +00:00
VideoState.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
XFBConvert.cpp Woops, that is why getting work group size failed 2009-10-07 07:44:35 +00:00
XFBConvert.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
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 a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback 2009-11-19 02:28:41 +00:00
XFStructs.cpp a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback 2009-11-19 02:28:41 +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