summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
AgeCommit message (Collapse)Author
2013-09-16Prevent an error message from erroneously displaying when dumping frames in ↵Rachel Bryk
d3d9 or d3d11.
2013-09-01More warnings: mark/avert truncating conversions from float.comex
2013-08-23Merge remote-tracking branch 'remotes/origin/dx9-ssaa-fix'Rodolfo Bogado
2013-08-24Add an OSD message when taking screenshots in D3D9/D3D11Pierre Bourdon
Fixes issue 6486.
2013-08-15Revert wrong indentation of some files. sorry for that one i was really ↵Rodolfo Bogado
convinced that i read that spaces must be used instead of tabs :)
2013-08-15some fixes for point renderingRodolfo Bogado
2013-06-18Whoops, look like the previous commit was also the case with VideoDX9Lioncash
2013-04-19Fix a bunch of random typos in comments and logging.lioncash
Also update the comment headers for two functions in GCMemcard.cpp.
2013-04-17New license header introduced to all Video based projects.Lioncash
2013-04-15Buildfix for the last commit.lioncash
2013-04-15Update the license file text (change SVN to Git) in all projects except Core ↵lioncash
since I was told a merge was happening soon. So for the sake of the merge going smoothly, I'll fix that when I remove the tab/space mismatches from the Core project. Also, some tab/space mismatches removed from VideoOGL, and some places I missed in VideoDX[number] projects. Now, the Core is literally the only project with tab/space mismatches (on a large scale).
2013-04-07Fix a few typos in the comments/logging in VideoDX9, VideoCommon, and ↵Lioncash
VideoSoftware projects. See Render.cpp, PixelShaderGen.cpp, and PixelShaderManager.cpp for most of the changes. See VertexShaderManager.cpp for a logging typo fix. See SWRenderer.cpp for a small typo fix for a message that gets swprintf'd in DrawDebugText. See SWVertexLoader.cpp for a typo fix of an assert message. Should slightly improve the readability of some of those files.
2013-04-04Fix for the hang after close caused by my previews perf queries commit.Rodolfo Bogado
Sorry for that. fix issue 6205
2013-04-03Adds support for PE performance metrics in the D3D9 backendRodolfo Bogado
2013-04-01As requested apply the same changes made by rev 6958822f1957 to the D3D9 ↵Rodolfo Bogado
backend. handle v-sync changed while the emulation is running. thanks to neobrain for pointing the missing functionality.
2013-03-31Use a brute force approach to test for Dual source blend support.Rodolfo Bogado
Sorry for a direct commit to the main branch but i need fast feedback, and i don't want to leave problematic code in the main branch for a long time. if this approach does not work for the drivers with problems will transform dual source blend to an option in the D3D9 backend. I appreciate the help of the people that tested my last commit and thanks to neobrain for pointing this solution.
2013-03-29fixes for my last commitRodolfo Bogado
2013-03-28Implement dual source blending to avoid unneeded alpha pass.Rodolfo Bogado
this implementation does not work in windows xp (sorry no support for dual source blending there). this should improve speed on older hardware or in newer hardware using super sampling. disable partial fix for 4x supersampling as I'm interested in knowing the original issue with the implementation to fix it correctly. remove the deprecation label from the plugin while I'm working on it.
2013-03-28Clean up blending code a bit.NeoBrainX
2013-03-06Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/CMakeLists.txt Source/Core/DolphinWX/Src/GLInterface.h Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-02-26Yell at the user if they change window size while dumping frames, and some ↵Jordan Woyak
other avi dumping stuff.
2013-02-18Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/Dolphin.vcxproj Source/Core/DolphinWX/Src/GLInterface/WX.cpp Source/Core/DolphinWX/Src/GLInterface/WX.h Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/TextureCacheBase.h Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX11/Src/TextureCache.h Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp Source/Plugins/Plugin_VideoDX9/Src/TextureCache.h Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.h Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp damn mipmap_fixes ...
2013-02-07Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where ↵NeoBrainX
necessary." This reverts commit 6c8a22de24e1e374c4357ca653ac584c8a6adfac.
2013-02-07Merge branch 'mipmap_fixes'.NeoBrainX
2013-02-07Fix some potential issues when blending on EFB formats without alpha.NeoBrainX
Clean up state transition tables.
2013-01-24Merge branch 'immediate-removal' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Plugins/Plugin_VideoSoftware/Src/SWRenderer.cpp immediate-removal is a new created branch seperated from master but reverted the revert of immediate-removal so we get less conflicts by merging
2013-01-16Revert "Made several variables/parameters unsigned in the DX9, DX11 and OGL ↵lioncash
plugins. They make more sense like this (given their names)." Turns out I was wrong in my previous commit. My bad. This reverts commit 87431666639c7036ea0f5b0d499df639cefb3d51.
2013-01-16Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. ↵lioncash
They make more sense like this (given their names). This also gets rid of some more typecasts in some cases.
2013-01-14Merge branch 'Graphic_Update' into GLSL-masterdegasus
Conflicts: Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp Source/Plugins/Plugin_VideoOGL/Src/Render.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
2013-01-08Add some TODOs.NeoBrainX
2013-01-08Disable color writing when alpha test always fails.NeoBrainX
2013-01-08DX11: Fix a small mistake.NeoBrainX
Remove some incorrect and/or confusing comments. Fixes issue 5251. Thanks to limburgerite :)
2012-12-23Fixes swprintf_s issues hopefully.Matthew Parlane
Also fixed an include not using correct caps. According to: http://connect.microsoft.com/VisualStudio/feedback/details/646532
2012-12-23Apply same force to float fix as has already been done for DX11.Matthew Parlane
2012-12-06Fix some warnings.rog
2012-11-19Merge branch 'efb_scaling_fixes'.NeoBrainX
2012-11-16Remove Renderer::xScale and Renderer::yScale.NeoBrainX
2012-11-16Move ComputeDrawRectangle() to Renderer::UpdateDrawRectangle().NeoBrainX
2012-11-14Add option for author name for movies. Also, minor cleanup for previous ↵rog
options i've added.
2012-11-12movie cleanuprog
2012-11-12fix for point rendering in dx9 backend, that will teach me to read the full ↵rodolfoosvaldobogado
documentation. if someone founs a games that use points a lot i will try to implement a faster path for point rendering. now the map in twin snakes is functional in all the backends.
2012-11-11Add an on screen lag counter.rog
2012-10-22Some code cleaning for my last commit.rodolfoosvaldobogado
the amount and size of the buffer is now changed to "new hardware" frienly values and will fall back to the right values if hardware does not support them. my next commit will be to a branch, with my ogl work.
2012-10-20[bugfix] Properly decode lod_bias.NeoBrainX
2012-10-20[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary.NeoBrainX
2012-10-20[cleanup] Vastly clean up backend-specific sampler state logic.NeoBrainX
2012-10-20Hey, long time no commits :).rodolfoosvaldobogado@gmail.com
So to compensate lets bring back some speed to the emulation. change a little the way the vertex are send to the gpu, This first implementation changes dx9 a lot and dx11 a little to increase the parallelism between the cpu and gpu. ogl: is my next step in ogl is a little more trickier so i have to take a little more time. the original concept is Marcos idea, with my little touch to make it even more faster. what to look for: SPEEEEEDDD :). please test it a lot and let me know if you see any problem. in dx9 the code is prepared to fall back to the previous implementation if your card does not support the amount of buffers needed. So if you did not experience any speed gains you know where is the problem :). for the ones with more experience and compression of the code please test changing the amount and size of the buffers to tune this for your specific machine. The current values are the sweet spot for my machine. All must Thanks Marcos, I hate him for giving good ideas when I'm full of work.
2012-10-04Implement a simple benchmarking mode which logs FPS to a filePierre Bourdon
Very useful to compare performance between two builds, check the impact of a configuration option, etc. FPS log is stored in User/Logs/fps.txt and is reset each time you launch a game. Only enabled if you check the "Log FPS to file" option in your graphics settings. Could be improved a bit: currently logs only every 1s (so you can't really see small variations), maybe output more infos to the fps.txt like average/stddev (but Excel/Libreoffice/Google Docs can compute that easily too).
2012-10-03Move last XFB size from Render to FramebufferManager.NeoBrainX
2012-10-03More cleanups.NeoBrainX