dolphin/Source/Plugins/Plugin_VideoDX9/Src
Rodolfo Osvaldo Bogado 02189ec5e0 Simplify the params for the safe texture cache
after some test the more relevant parameters were the color samples and the tlut max size.
so delete the rest of the parameters and define 3 modes:
Safe : the two values are set to 0 meaning all the texture data and all the tlut data are hashed this is the most correct and slowwwwwwwwwww way
Normal: 37 samples are taken from the color textures an the firs 4096 bytes of the tlut are hashed, is a lot faster than safe mode but in some games i observe small glitches.
Fast: 8 samples are taken from the color textures an the first 1024 bytes are hashed from the tlut, is a little slower than the unsafe cache but at least all the games i tested have correct text output and fast frame rate. the glitches in dinamyc color textures are more noticeable in this mode
this values could be improved, if you find a better combination please post it and the game it fixes and i will update the source.
for the moment, as my time is limited by a lot of work, only implemented the d3d gui, if someone can implement the opengl gui will be a lot of help for me.
please test a lot and let me know the results.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5135 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-26 12:54:08 +00:00
..
Debugger a lot of modifications here :) 2010-02-03 03:52:50 +00:00
W32Util fix a linux wiimote compile error and apply some little changes to the dx plugin :P 2009-11-30 03:48:59 +00:00
bmp_io.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
bmp_io.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
BPFunctions.cpp Fies Issue 1584 2010-01-29 07:44:21 +00:00
CPStructs.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
CPStructs.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
D3DBase.cpp fix some D3D memory leaks 2010-02-25 03:14:40 +00:00
D3DBase.h Shader Disk Cache implementation for D3D. Saves generated shaders on disk. Eliminates "freeze jerks" in D3D plugin the _second_ and later times you play something.... not much to do about the first time. The D3D shader compiler is just slow. 2010-01-17 17:44:09 +00:00
D3DShader.cpp Shader Disk Cache implementation for D3D. Saves generated shaders on disk. Eliminates "freeze jerks" in D3D plugin the _second_ and later times you play something.... not much to do about the first time. The D3D shader compiler is just slow. 2010-01-17 17:44:09 +00:00
D3DShader.h Shader Disk Cache implementation for D3D. Saves generated shaders on disk. Eliminates "freeze jerks" in D3D plugin the _second_ and later times you play something.... not much to do about the first time. The D3D shader compiler is just slow. 2010-01-17 17:44:09 +00:00
D3DTexture.cpp fixes for my last commit: 2010-02-03 14:13:03 +00:00
D3DTexture.h Attempt at fixing the colors of loaded "hi-res" replacement textures in D3D. Fixes issue 2074. Delete some obsolete commented-out code. 2010-01-21 19:31:48 +00:00
D3DUtil.cpp fixed some glitches caused by SSAA when resolving the supersampled efb to Textures. 2010-02-04 22:25:09 +00:00
D3DUtil.h a lot of people don't get convinced by my "Pseudo-antialiasing " effect and is true is not near the quality of the true effect so :) 2010-02-03 22:19:00 +00:00
DLCompiler.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
DLCompiler.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
DlgSettings.cpp Simplify the params for the safe texture cache 2010-02-26 12:54:08 +00:00
DlgSettings.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
EmuWindow.cpp make ESC pause the game now instead of quitting plus fix another bug with key and window handling 2010-02-09 00:34:27 +00:00
EmuWindow.h Fies Issue 1584 2010-01-29 07:44:21 +00:00
FramebufferManager.cpp ok big changes here: 2010-01-15 15:52:08 +00:00
FramebufferManager.h 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
Globals.h Rename Config.cpp/h to VideoConfig.cpp/h. 2009-09-13 09:23:30 +00:00
main.cpp finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p 2010-02-25 06:12:35 +00:00
main.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
NativeVertexFormat.cpp D3D vertex format wrapper: Fix a really small memory leak, add some sanity checks. 2010-01-11 23:47:32 +00:00
PixelShaderCache.cpp finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p 2010-02-25 06:12:35 +00:00
PixelShaderCache.h second try to implement a more correct safe texture cache, implemented full hashing of tlut textures as they are the more problematic, this should solve virtually all the problems with characters in all the games that have them. 2010-02-08 23:23:04 +00:00
Render.cpp finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p 2010-02-25 06:12:35 +00:00
resource.h Simplify the params for the safe texture cache 2010-02-26 12:54:08 +00:00
resource.rc Simplify the params for the safe texture cache 2010-02-26 12:54:08 +00:00
RGBAFloat.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
stdafx.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
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
TextureCache.cpp Simplify the params for the safe texture cache 2010-02-26 12:54:08 +00:00
TextureCache.h a lot of modifications here :) 2010-02-03 03:52:50 +00:00
TextureConverter.cpp a lot of modifications here :) 2010-02-03 03:52:50 +00:00
TextureConverter.h forget the new files Sorry :) 2009-11-20 20:14:34 +00:00
Utils.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
Utils.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
Vec3.h STAND BACK - NEWLINE POLICE 2009-11-15 22:26:39 +00:00
VertexManager.cpp this was a hard fix to found: 2010-01-23 12:56:07 +00:00
VertexManager.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
VertexShaderCache.cpp fix some D3D memory leaks 2010-02-25 03:14:40 +00:00
VertexShaderCache.h First a bugfix: 2010-02-23 21:52:12 +00:00
XFStructs.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
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