summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/main.cpp
AgeCommit message (Collapse)Author
2016-11-28VideoConfig: Add option for full-resolution frame dumpingStenzek
2016-11-27Remove unnecessary ConfigManager includesLéo Lam
Making changes to ConfigManager.h has always been a pain, because it means rebuilding half of Dolphin, since a lot of files depend on and include this header. However, it turns out some includes are unnecessary. This commit removes ConfigManager includes from files which don't contain SConfig or GPUDeterminismMode or GPU_DETERMINISM (which means the ConfigManager include is not used). (I've also had to get rid of some indirect includes.)
2016-10-01VideoCommon: Add config fields for multithreading and validation layersStenzek
2016-08-23OGL: Handle cases where reversed depth is already used.Jules Blok
2016-08-15OGL: Check for GL_DEPTH_CLAMP support.Jules Blok
It's not available in OpenGL ES and officially it's not supported on OpenGL 3.0/3.1. Fallback to old depth range code if there is no method to disable depth clipping. It's more important to have correct clipping than to have accurate depth values. Inaccurate depth values can be fixed by slow depth.
2016-07-29VideoCommon: Make API_TYPE an enum classLioncash
Allows for forward declarations in most places, which prevents dumping unrelated VideoCommon.h contents directly into headers.
2016-06-27D3D: Fix crash on start with BBox enabledLéo Lam
Someone removed the BBox::Init(), causing crashes when BBox is enabled. Fixes issue #9643.
2016-06-26VideoCommon: Drop GetConfigName.degasus
We're past 5.0 now, so there is no need to look for old inis.
2016-06-26VideoBackends: Merge ShowConfig functions.degasus
2016-06-26VideoBackends: Merge Initialize and Shutdown functions.degasus
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
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.