summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/Render.cpp
AgeCommit message (Collapse)Author
2019-10-04Drop 3D Vision SupportStenzek
2019-07-30Merge pull request #8258 from CookiePLMonster/dx11.1-detection-fixesConnor McLaughlin
D3D11 resources refactor and DX11.1 feature detection fixes
2019-07-29D3D11: Ownership fixes for objects in DXTextureSilent
2019-07-26D3DCommon/Shader: Use std::optional with CompileShader()Lioncash
Allows removing the use of an out parameter, making it nicer to use.
2019-06-08Merge pull request #8049 from stenzek/cropConnor McLaughlin
Renderer: Adjust source rectangle when crop would draw off screen
2019-05-30VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource()Lioncash
Greatly simplifies the overall interface when it comes to compiling shaders. Also allows getting rid of a std::string overload of the same name. Now std::string and const char* both go through the same function.
2019-05-04Replace MathUtil::Clamp with std::clampLéo Lam
2019-04-28Renderer: Adjust target rectangle in the base classStenzek
2019-04-28Renderer: Adjust source rectangle when crop would draw off screenStenzek
This prevents us from requiring an oversized and/or negative viewport by shrinking the source rectangle instead.
2019-04-21Replace EFBRectangle/TargetRectangle with MathUtil::RectangleStenzek
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-29Merge pull request #7869 from stenzek/d3dcommonConnor McLaughlin
D3D: Move sharable D3D11/D3D12 code to common library
2019-03-29D3D11: Use D3DCommon where appropriateStenzek
2019-03-25VideoBackends: Scale bounding box rectangle in the pixel shaderStenzek
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.
2019-01-25Remove old RasterFont classesStenzek
2019-01-25Renderer: Use imgui for drawing debug text and OSDStenzek
2019-01-25RenderBase: Implement imgui renderingStenzek
2018-12-04Use main buffers for utility drawsStenzek
2018-12-04D3D: Clamp viewport to current framebuffer dimensions, not targetStenzek
2018-12-04Renderer: Add backbuffer format to base classStenzek
2018-10-20Renderer: Pull dimensions from GLInterface/SwapchainStenzek
2018-10-20Drop Host_GetRenderSurface and pass display to backendStenzek
2018-05-02D3D: Drop gamma parameter from util draw helperStenzek
No longer needed as we perform gamma correction during the XFB copy.
2018-04-29Implement EFB copy filter and gamma in hardware backendsStenzek
Also makes y_scale a dynamic parameter for EFB copies, as it doesn't make sense to keep it as part of the uid, otherwise we're generating redundant shaders.
2018-03-16Assert: Remove unused parameter from DEBUG_ASSERTLioncash
This brings the macro in line with the regular ASSERT macro, which only has one macro parameter.
2018-03-14Assert: Uppercase assertion macrosLioncash
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
2018-03-10Move shader caches to VideoCommonStenzek
2018-03-10AbstractPipeline: Allow setting pipeline to nullStenzek
2018-03-02VideoCommon: Add support for Abstract FramebuffersStenzek
2018-03-01VideoBackends: Restore the framebuffer as part of the API stateStenzek
It's not often we switch out to draw to the EFB anyway.
2018-02-22VideoBackends: Add AbstractShader and AbstractPipeline classesStenzek
2018-02-22D3D: Remove state stack from tracker, set explicitly insteadStenzek
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-20BPFunctions: Move upscaling of scissor rect to VideoCommonStenzek
2018-02-20BPFunctions: Move GX viewport conversion to VideoCommonStenzek
2018-01-29Merge pull request #6303 from TraceBullet/auto-adjust-window-sizeStenzek
Fix Auto-Adjust Window Size option making the window too large
2018-01-26Fix Auto-Adjust Window Size option making the window too largeTraceBullet
2018-01-22AbstractTexture: Move Bind() method to RendererStenzek
This makes state tracking simpler, and enables easier porting to command lists later on.
2017-11-22VideoBackends: Add AbstractStagingTexture classStenzek
Can be used for asynchronous readback or upload of textures.
2017-11-22VideoCommon: Move abstract texture creation function to RendererStenzek
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-22D3D: Remove BeginFrame/EndFrameStenzek
These functions did not do anything anyway. There is also no need to present the backbuffer when shutting down.
2017-11-22D3D: Move remaining static variables from Render.cpp to Renderer classStenzek
2017-11-22D3D: Make state cache part of Renderer and not staticStenzek
2017-11-19D3DUtil: Make file-scope variables internally linked where applicableLioncash
All file scope variables are able to be made internally linked. CD3DFont is essentially used as an extension to the utility interface, so this is able to be made internal as well, removing a global from external view.
2017-11-19Merge pull request #6186 from lioncash/enum-classLeo Lam
VideoConfig: Make AspectMode and StereoMode enum classes
2017-11-19VideoBackends: Remove header inclusions made unnecessary with Hybrid XFBLioncash
Just some inclusions that weren't removed in the initial Hybrid XFB PR.