dolphin/Source/Plugins/Plugin_VideoDX9/Src
Rodolfo Osvaldo Bogado 8de76f8fe8 ok big changes here:
in videocommon little fix for the alpha test values, return to the original values as they are more accurate.
in D3D:
huge change in state management, now all the state management is centralized and redundant state changes are eliminated.
Fixed the overlapped viewport error in non ati cards:
the error was caused by this: when a viewport is defined larger than the current rendertarget, an error is thrown and the last valid viewport is used, this is the reference behavior, in ati cards if a larger viewport is defined, no eror is returned, the rendering is valid and is rendered using the projection defined by the viewport but limited to the rendertarget are, exactly like opengl or the GC hardware.
to solve this in reference drivers defined a large rendertarget (2x the size of the original) and proceed to render in a centered quad insithe the larger rendertarget, in this way larger viewports always falls inside a valid rendertarget size, the drawback of this is the waste of resources. it can be dynamized, depending or games or changed at runtime when a oversized viewport is detected, but i live that to future commits.
please test this and let me know the results.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4841 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-15 15:52:08 +00:00
..
Debugger 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
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 D3D: Fix some texture wrapping issues by setting the texture state for every texture used at draw time. Hopefully there will not be a noticable slowdown, thanks to the state caching. Also some minor cleanup. Should fix issues like repeated shadows. TODO: In theory it should have worked without this, so I should investigate why this change was needed. 2010-01-12 23:40:30 +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 ok big changes here: 2010-01-15 15:52:08 +00:00
D3DBase.h ok big changes here: 2010-01-15 15:52:08 +00:00
D3DShader.cpp Rename Config.cpp/h to VideoConfig.cpp/h. 2009-09-13 09:23:30 +00:00
D3DShader.h D3D: Fixed dstAlpha, aka "when everything is broken, at least mario have a nice shadow", and removed Cg leftover from it. 2009-09-02 04:10:40 +00:00
D3DTexture.cpp mixed commit: 2009-12-07 18:48:31 +00:00
D3DTexture.h mixed commit: 2009-12-07 18:48:31 +00:00
D3DUtil.cpp ok big changes here: 2010-01-15 15:52:08 +00:00
D3DUtil.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
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 ok big changes here: 2010-01-15 15:52: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 Remap wiimote hotkeys to Alt+F5/F6/F7/F8 to make Windows happy. 2010-01-04 03:31:49 +00:00
EmuWindow.h 1. Proper shutdown, hopefully no crash anymore (Continuation of skidau's work) 2009-12-30 09:00:43 +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 1. This should fix Issue 1625 (Bizarre Auto Frame Limit) 2010-01-07 20:01:41 +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 ok big changes here: 2010-01-15 15:52:08 +00:00
PixelShaderCache.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
Render.cpp ok big changes here: 2010-01-15 15:52:08 +00:00
resource.h Add "Auto Aspect Ratio" to both graphics plugins. It's the new default, so you can forget about switching aspect manually from now on. In the Auto mode, aspect ratio is automatically set depending on whether it's a Wii or GC game, and whether the global Wii Widescreen setting has been set. There is still the possibility to override, which can be useful for the very few GC games that do support widescreen. 2010-01-13 21:11:02 +00:00
resource.rc Add "Auto Aspect Ratio" to both graphics plugins. It's the new default, so you can forget about switching aspect manually from now on. In the Auto mode, aspect ratio is automatically set depending on whether it's a Wii or GC game, and whether the global Wii Widescreen setting has been set. There is still the possibility to override, which can be useful for the very few GC games that do support widescreen. 2010-01-13 21:11:02 +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 ok big changes here: 2010-01-15 15:52:08 +00:00
TextureCache.h nice little hack to make efb copies scaled with the efb so everything will look a more HD, for now there is no GUI i'm with a lot of work at home. if everyone likes this change will add it to the GUI. for now just use the config file. 2009-12-15 01:40:54 +00:00
TextureConverter.cpp ok big changes here: 2010-01-15 15:52:08 +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 ok big changes here: 2010-01-15 15:52:08 +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 ok big changes here: 2010-01-15 15:52:08 +00:00
VertexShaderCache.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
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