dolphin/Source/Plugins/Plugin_VideoOGL/Src
pierre 236f75aac3 Make shader for copying from depth buffer to texture more resilent against precision loss.
The theoretical result is slightly different to the original shader because the
final adjustment is to the range [0/255..255/255] instead of 
[0/16777215..16777215/16777215].

The real result is vastly different on some gpus that were giving incorrect results
of bits 23..16 (y-component) wrapping around while bits 31..24 (z-component)
stayed the same, and bits 31..24 changing while in the middle of the value range
for bits 23..16 for large depth values.

This should fix issue #3123.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6217 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-19 20:01:17 +00:00
..
Debugger Lots more work on making the frame aui stuff functional. 2010-07-22 02:05:28 +00:00
GUI Dlist Cache step 2: 2010-09-14 22:48:22 +00:00
OS Take care of some compiler warnings from unused variables, and a little code cleanup. 2010-08-10 01:08:22 +00:00
BPFunctions.cpp hopefully fixed zww issue with new efb to ram. 2010-07-12 19:30:25 +00:00
FramebufferManager.cpp Improve iterator usage. 2010-05-28 23:14:16 +00:00
FramebufferManager.h Extend the OGL virtual XFB to handle games that use multiple XFBs to make a frame. This should allow games that require the XFB to work without using a real XFB in RAM which is slow and limited to the original resolution. To use this enhancement you must check Use XFB in the options. The previous option was renamed Use Real XFB. I don't think this works with the aspect settings yet. 2010-03-10 06:45:13 +00:00
GLUtil.cpp Several little things: 2010-08-08 00:13:05 +00:00
GLUtil.h addendum to last commit: forgot files outside the /Externals/GLew directory... 2010-09-09 17:52:52 +00:00
GLWindow.h Config.h should never be included directly, but rather through Common.h 2010-06-26 13:11:34 +00:00
Globals.h Some work on cleaning up the FrameAui code. Primarily this fixes the debugger windows for the audio and video plugins. They are now all subclasses of a wxPanel, instead of a mix of wxFrames and wxDialogs. This makes them work correctly in linux, windows (they really didn't before), and most likely on MacOSX too! 2010-07-19 02:09:34 +00:00
NativeVertexFormat.cpp sometimes to advance you have to make a step back. 2010-08-28 15:09:42 +00:00
PixelShaderCache.cpp Make shader for copying from depth buffer to texture more resilent against precision loss. 2010-09-19 20:01:17 +00:00
PixelShaderCache.h HUGE commit :) 2010-06-05 00:01:18 +00:00
PostProcessing.cpp HUGE commit :) 2010-06-05 00:01:18 +00:00
PostProcessing.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
RasterFont.cpp VSW: Copied rasterfont from ogl to prevent inter plugin dependencies 2009-10-13 06:12:58 +00:00
RasterFont.h VSW: Copied rasterfont from ogl to prevent inter plugin dependencies 2009-10-13 06:12:58 +00:00
Render.cpp Remove a bunch of freshly-obsolete code 2010-08-29 19:34:54 +00:00
SConscript I'm an 100% scons noob but I think this fixes r6149, although it seems that the repository revision isn't appearing correctly (only happening with me?). 2010-08-30 00:00:14 +00:00
TextureConverter.cpp sometimes to advance you have to make a step back. 2010-08-28 15:09:42 +00:00
TextureConverter.h hopefully fixed zww issue with new efb to ram. 2010-07-12 19:30:25 +00:00
TextureMngr.cpp std::string needs <string> rather than <string.h>. 2010-09-06 12:14:18 +00:00
TextureMngr.h Fix EFB Scaled Copy in OpenGL plugin. 2010-08-29 04:56:53 +00:00
VertexManager.cpp Remove a bunch of freshly-obsolete code 2010-08-29 19:34:54 +00:00
VertexManager.h Sps fixed in all the games tested, code cleanup and reordering 2009-10-06 14:24:10 +00:00
VertexShaderCache.cpp DX9/OGL: Remove some superfluous checks (this is already done in VideoCommon). 2010-08-08 16:28:03 +00:00
VertexShaderCache.h HUGE commit :) 2010-06-05 00:01:18 +00:00
XFB.cpp Moving more things out of GL into VideoCommon... 2009-09-03 20:37:35 +00:00
XFB.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
cocoaGL.h Revert parts of r5576 and r5598 for Sonicadvance1's sake. 2010-06-04 04:59:07 +00:00
cocoaGL.m Remove NSAutoreleasePools that are no longer necessary now that pools 2010-07-09 22:31:04 +00:00
main.cpp Add Common::AtomicDecrement for gcc to match win32. 2010-08-10 08:29:15 +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
stdafx.cpp Fix some cases of variables being used uninitialized. Also some unused 2010-06-02 20:35:12 +00:00
stdafx.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