summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/main.cpp
AgeCommit message (Collapse)Author
2019-10-02D3D11: Initialize shader cache before rendererStenzek
Otherwise the shaders we need for e.g. postprocessing are null.
2019-07-29D3D11: Show a warning message about unsupported features when switching to ↵Silent
D3D11 backend on Windows 7
2019-07-29D3D11: Query for output merger logic op support and use logic op code only ↵Silent
if supported Previously code assumed that if DX11.1 runtime is supported, logic ops will, but Windows 7 SP1 with a Platform Update supports DX11.1 runtime without logic ops. This created pretty jarring visual artifacts, which now should be gone OR replaced with much less jarring errors.
2019-04-28D3D: Set optional features after creating the deviceStenzek
Fixes feature level 10.0 devices crashing during runtime.
2019-04-16AbstractPipeline: Support returning "cache data"Stenzek
"Cache data" can be used to assist a driver with creating pipelines by using previously-compiled shader ISA.
2019-03-29D3D11: Use D3DCommon where appropriateStenzek
2019-03-09VideoConfig: Add SupportsPartialDepthCopies to backend infoStenzek
D3D11 doesn't support partial copies of depth buffers via CopySubResource(), so we need to use a different path for the EFB cache.
2019-02-19Move most backend functionality to VideoCommonStenzek
2019-01-25Decouple XFB scanout from presentationStenzek
2019-01-25VideoBackends: Store a backbuffer 'scale'Stenzek
This is a scaling factor, used for hi-dpi configurations.
2018-12-04Renderer: Add a base Initialize() method to match Shutdown()Stenzek
2018-10-20VideoBackends: Pass window system info from host on creationStenzek
2018-10-20Drop Host_GetRenderSurface and pass display to backendStenzek
2018-09-28Core: Call InitBackendInfo before loading configStenzek
2018-06-30Mark all video backend names for translationTechjar
2018-05-26VideoConfig: Add a field for indicating logic op support in the backendStenzek
2018-03-10OGL: Re-implement async shader compilingStenzek
2018-03-10Move shader caches to VideoCommonStenzek
2018-02-20Renderer: Handle resize events on-demand instead of pollingStenzek
We now differentiate between a resize event and surface change/destroyed event, reducing the overhead for resizes in the Vulkan backend. It is also now now safe to change the surface multiple times if the video thread is lagging behind.
2018-02-11VideoConfig: Remove bForceCopyToRam fieldStenzek
It's the inverse of supports-copy-to-vram.
2018-01-27VideoBackend: Remove PeekMessages methodStenzek
The video thread and backend no longer create any windows, therefore there will never be any messages dispatched to their thread.
2018-01-27VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methodsStenzek
Also allows the work previously done in Prepare to return a failure status.
2018-01-05Implement dual-source blending in shaderJonathan Hamilton
For some GLES drivers that don't support dual-source blending, but do support GL_EXT_shader_framebuffer_fetch, this might be useful.
2017-11-22D3D: Move device release from Renderer destructor to shutdownStenzek
Necessary if we wish to have GPU objects in our base class, as otherwise the device will be released before the objects.
2017-11-21VideoConfig: Remove bSupportsInternalResolutionFrameDumpsStenzek
Field is unused as of Hybrid XFB.
2017-11-17Software Backend: Force EFB/XFB to copy to ramiwubcode
2017-11-17Add support for hybrid XFBiwubcode
2017-11-12D3D/main: Remove unused variable in InitBackendInfo()Lioncash
2017-09-03D3DBase: Use the correct version of CreateDXGIFactory.Jules Blok
2017-08-01HiresTextures: Support loading BC7 (BPTC) from DDS filesStenzek
2017-07-30VideoBackends: Support a different number of threads for precompilingStenzek
At runtime, we only really want a single shader compiler thread. However, for initial boots, we can use a higher number to speed things up.
2017-07-30ShaderGen: Implement pixel ubershadersStenzek
2017-04-29HiresTextures: Support parsing DDS files directlyStenzek
This leaves DDS textures using DXT1/3/5 compressed in-memory, which can be passed directly to the backend.
2017-04-25VideoConfigDiag: Move post-processing shader list to post processorStenzek
The backends don't use this list at all, and since more than one backend supports post-processing now, it's duplicate code.
2017-04-01VideoBackends: Add configuration field for GPU texture decodingStenzek
2017-04-01VideoBackends: Add support flag for compute shadersStenzek
2017-03-15VideoConfig: add bSupportsFragmentStoresAndAtomicsMichael Maltese
2017-03-14OGL: Remove support for NV_depth_buffer_float.Jules Blok
We can't clamp the depth values to the 24-bit range while this extension is active.
2017-03-10Merge pull request #4935 from Armada651/depth-range-fixMarkus Wick
VideoBackends: Set the maximum range when the depth range is oversized.
2017-03-10D3D11: Fix error on startup with >2.5xIR selectedStenzek
2017-03-10VideoBackends: Move max texture size to VideoConfigStenzek
This stops the virtual method call from within the Renderer constructor. The initialization here for GL had to be moved to VideoBackend, as the Renderer constructor will not have been executed before the value is required.
2017-03-04VideoCommon: Move last EFB scale handling to CalculateTargetSizeStenzek
2017-03-04VideoCommon: Move some common initialization logic to RenderBaseStenzek
2017-02-24OGL: Add support for glDepthRangedNV to handle oversized depth ranges.Jules Blok
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.