summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/main.cpp
AgeCommit message (Collapse)Author
2016-02-16Rename Direct3D to Direct3D 11Chris Burgener
2016-01-24OpcodeDecoder: Add namespaceLioncash
2016-01-12Fifo: Create a "Fifo" namespace.degasus
2016-01-06VideoConfig: Use "GFX.ini" for both D3D and OGL.degasus
They share the same format, so there is no need to separate their configs.
2016-01-02VideoBackend: Get rid of a boolean globalLioncash
Also gets rid of global headers
2015-12-23Revert "Merge pull request #3076 from void-ghost/stereo3d_presets"Jules Blok
This reverts commit 81414b4fa2edadf0b2a2bb0bd4df61dd59165eec, reversing changes made to b926061f641692ae31bacbeba304f5941db7d3bc. Conflicts: Source/Core/DolphinWX/Frame.cpp Source/Core/VideoCommon/VideoConfig.cpp Source/Core/VideoCommon/VideoConfig.h
2015-12-20VideoBackends: Simplify initialization and deinitialization of resourcesLioncash
Approximately three or four times now, the issue of pointers being in an inconsistent state been an issue in the video backend renderers with regards to tripping up other developers. Global (ugh) resources are put into a unique_ptr and will always have a well-defined state of being - null or not null
2015-12-20Set g_vertex_manager to nullptr on DX11 backend shutdown.. OGL backend ↵hdcmeta
already does this
2015-10-03Merge pull request #3076 from void-ghost/stereo3d_presetsshuffle2
Stereo3d presets
2015-09-25Improved D3D and OGL AA option UIAnthony Serna
Removed Quality Levels from D3D AA options Dropdown text now shows whether you're applying MSAA or SSAA Added a description for SSAA Moved SSAA checkbox Cleaned up AA in backends slightly. Supported modes is now a list of ints.
2015-09-22VideoBackend: Video config filename is now exposed in VideoBackends.ghost
It reduces redundancy. Needed make possible to save current video config.
2015-09-06VideoBackends: Reimplement SSAA, now for D3D + OGLdegasus
2015-09-05Properly support MSAA and SSAA as separate features(+GLES)Ryan Houdek
SSAA relies on MSAA being active to work. We only supports 4x SSAA while in fact you can enable SSAA at any MSAA level. I even managed to run 64xMSAA + SSAA on my Quadro which made some pretty sleek looking games. They were very cinematic though. With this, it properly fixes up SSAA and MSAA support in GLES as well. Before they were broken when stereo rendering was enabled. Now in GLES they can properly support MSAA and also stereo rendering with MSAA enabled(with proper extensions).
2015-08-06OGL: Move copy_image variable into backend.degasus
2015-06-25Merge branch 'stable'Jules Blok
2015-06-24D3D: Cosmetics.Jules Blok
Merge two cases which should've already been merged.
2015-06-21Support partial texture updates via efb copiesmimimi085181
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-22OGL: Depth range inversion.Jules Blok
2015-05-22VertexShaderGen: Use correct depth output when glClipControl is supported.Jules Blok
2015-02-19Decode EFB copies used as paletted textures.magumagu
A number of games make an EFB copy in I4/I8 format, then use it as a texture in C4/C8 format. Detect when this happens, and decode the copy on the GPU using the specified palette. This has a few advantages: it allows using EFB2Tex for a few more games, it, it preserves the resolution of scaled EFB copies, and it's probably a bit faster. D3D only at the moment, but porting to OpenGL should be straightforward..
2015-01-25PostProcessing: Add support for user-supplied anaglyph shaders.Jules Blok
There are lots of different anaglyph glasses out there and there may be even more creative uses for stereoscopic post-processing shaders.
2015-01-11TexCache: rewrite level calculationdegasus
2014-12-18OGL: Don't generate a geometry shader if the backend doesn't support it.Jules Blok
This commit repurposes the bSupportsStereoscopy flag as the bSupportsGeometryShaders flag.
2014-12-14VideoCommon: Add a separate constants buffer for the geometry shader.Jules Blok
2014-12-14D3D: Add geometry shader instancing support.Jules Blok
2014-12-14D3D: Add 3D vision support.Jules Blok
2014-12-14D3D: Add geometry shader stereoscopy support.Jules Blok
2014-12-14D3D: Add GeometryShaderCache.Jules Blok
2014-12-05small spacing fixesRodolfo Bogado
2014-12-05Added support test for bbox and some naming correctionsRodolfo Bogado
2014-12-05Add HW bounding Box support to d3d backendRodolfo Bogado
2014-11-23VideoConfig: Limit the Stereo 3D option to the OpenGL backend.Jules Blok
2014-11-17OGL: implement bounding box support with ssbodegasus
This implemention tries to be as accurate as the old SW implemention, but it will remove the dependcy of our vertexloader on videosw.
2014-09-04VideoCommon: Remove support for decoding to ARGB texturesJasper St. Pierre
The D3D / OGL backends only ever used RGBA textures, and the Software backend uses its own custom code for sampling. The ARGB path seems to just be dead code. Since ARGB and RGBA formats are similar, I don't think this will make the code more difficult to read or unable to be used as reference. Somebody who wants to use this code to output ARGB can simply modify the MakeRGBA function to put the shift at the other end.
2014-08-30D3D: Clean up brace placementsLioncash
2014-08-26Unify three types of non-FIFO requests to the GPU thread around ↵comex
Common::Event and Common::Flag. The only possible functionality change is that s_efbAccessRequested and s_swapRequested are no longer reset at init and shutdown of the OGL backend (only; this is the only interaction any files other than MainBase.cpp have with them). I am fairly certain this was entirely vestigial. Possible performance implications: efbAccessReady now uses an Event rather than spinning, which might be slightly slower, but considering the slow loop the flags are being checked in from the GPU thread, I doubt it's noticeable. Also, this uses sequentially consistent rather than release/acquire memory order, which might be slightly slower, especially on ARM... something to improve in Event/Flag, really.
2014-08-19Core: Remove UpdateFPSDisplayJasper St. Pierre
This is effectively unused, as the window handles that we pass to the GLInterface are window handles for the frame which isn't ever a real toplevel window. Host_UpdateTitle is what actually sets the proper title on the render window.
2014-08-19Core: Don't pass through a reference to the window handleJasper St. Pierre
Now that MainNoGUI is properly architected and GLX doesn't need to sometimes craft its own windows sometimes which we have to thread back into MainNoGUI, we don't need to thread the window handle that GLX creates at all. This removes the reference to pass back here, and the g_pWindowHandle always be the same as the window returned by Host_GetRenderHandle(). A future cleanup could remove g_pWindowHandle entirely.
2014-08-03Isolate D3D and Software Renderer from wxWidgets codeLioncash
2014-07-26Remove the 3D Vision hack.Jules Blok
The hack was needed because the Nvidia 3D Vision heuristics are documented to only support surfaces that are the same size as the backbuffer. This would be the case if you enabled the hack and selected the "Auto (Window Size)" internal resolution. However, on recent drivers the same effect is achieved by selecting the "Auto (Multiple)" internal resolution. Therefore the hack is no longer required.
2014-07-20VideoConfig: Add "Borderless Fullscreen" option.Jules Blok
This option will disable exclusive fullscreen for users who prefer the old behaviour.
2014-06-25Centralize the logging code into its own folder in Common.Lioncash
2014-06-18Kill off replaceable usages of s[n]printf.Lioncash
2014-06-15Remove EmuWindow.Armada
All it did was raise complexity.
2014-04-11VideoBackend: remove unused config vars.magumagu
No point to keeping around variables which are always "true".
2014-03-17.gitignore: fix the build directory patternTillmann Karras
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine