summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
AgeCommit message (Collapse)Author
2018-05-13Merge pull request #6786 from stenzek/crop-negative-yMarkus Wick
RenderBase: Ensure the draw size does not exceed the window size
2018-05-11VideoCommon/RenderBase: Refactor OSD messagesspycrab
2018-05-08RenderBase: Ensure the draw size does not exceed the window sizeStenzek
This was happening when crop was enabled, causing blank outputs for some Vulkan drivers (namely radv), as the draw rectangle is used as the viewport.
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-04-02Renderer: Only recreate frame dump texture if dimensions differStenzek
This was a typo, been around for a while. == should be !=. May improve frame dumping performnace slightly, but I doubt much if any.
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-10OGL: Re-implement async shader compilingStenzek
2018-03-10Move shader caches to VideoCommonStenzek
2018-03-02VideoCommon: Add support for Abstract FramebuffersStenzek
2018-03-01AbstractTexture: Support multisampled abstract textureStenzek
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 GX viewport conversion to VideoCommonStenzek
2018-02-07Merge pull request #6334 from stenzek/startupAnthony
Video Backend Initialization/Core Boot Improvements
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-27VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methodsStenzek
Also allows the work previously done in Prepare to return a failure status.
2018-01-26Fix Auto-Adjust Window Size option making the window too largeTraceBullet
2018-01-26Renderer: Fix crash on shutdown when frame dumping or taking screenshotsStenzek
2018-01-06Treat invalid aspect ratio setting values as AutoJosJuice
2017-12-15Video Common: move frame advance and counter logic to only happen when we ↵iwubcode
actually render a frame.
2017-12-01Merge pull request #6193 from stenzek/readbacksStenzek
Abstract Staging Textures - VideoCommon interface for texture readbacks/uploads
2017-11-23OGL: Fix headless frame dumpingStenzek
Also skips swapping the window system buffers in headless mode, as there may not be a surface which can be swapped in the first place. Instead, we call glFlush() at the end of a frame in this case.
2017-11-22VideoCommon: Re-implement asynchronous frame dumpingStenzek
This was lost as a result of hybrid XFB, now it is back, and ~10% faster in very brief testing.
2017-11-22AbstractTexture: Seperate CopyRectangleFromTexture to two methodsStenzek
ScaleRectangleFromTexture, which does a draw, and CopyRectangleFromTexture, which where possible, does a bit-for-bit copy.
2017-11-22VideoCommon: Move abstract texture creation function to RendererStenzek
2017-11-21Renderer: Re-implement window size frame dumpingStenzek
This was broken by hybrid XFB, and all frame dumping/screenshots occured at the full internal resolution.
2017-11-18VideoConfig: Make StereoMode an enum classLioncash
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
2017-11-18VideoConfig: Make AspectMode an enum classLioncash
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
2017-11-17Hybrid XFB: Fix lint errorsiwubcode
2017-11-17TextureCacheBase: Add XFB specific functionsiwubcode
2017-11-17Video Backends: Remove the right of the xfb region for games where theiwubcode
VI stride does not match the VI width
2017-11-17Video Common: Improve texture dumping to work with fifoci andiwubcode
fifo_comparer
2017-11-17HybridXFB: Fix lint errorsiwubcode
2017-11-17Video Common: Use correct aspect ratio when saving screenshots / videoiwubcode
2017-11-17Video Common: Avoid 'presenting' duplicate frames by detecting when swapiwubcode
hasn't changed since the last frame
2017-11-17VideoCommon: Output gamma now comes from the xfb copyiwubcode
2017-11-17Add 'immediate xfb' which reduces xfb latency at the cost of graphical errorsiwubcode
2017-11-17Video Common: Make auto IR work with HybridXFBiwubcode
2017-11-17Remove old XFB logiciwubcode
2017-11-17Video Common: Only update FPS when frame is renderered which yields moreiwubcode
accurate results
2017-11-17Video Backends: Implement vertical scaling for xfb copies. This fixes theiwubcode
display of PAL games that run in 50hz mode.
2017-11-17Add new GUI option to skip XFBToRam and remove old XFB optionsiwubcode
2017-11-17Support frame and video dumping from VideoCommoniwubcode
2017-11-17Add support for hybrid XFBiwubcode
2017-11-03Fix incorrect handling of auto IRJosJuice
Some lines of code in Dolphin just plainly grabbed the value of g_ActiveConfig.iEFBScale, which resulted in Auto being treated as 0x rather than the actual automatically selected scale.
2017-08-24Remove FFMPEG check for Renderer::IsFrameDumping()Chris Burgener
2017-08-11Config: Include SYSCONF in base layerLéo Lam
Settings that come from the SYSCONF are now included in Dolphin's config system as part of the base layer. They are handled in a special way compared to other settings to make sure they are only loaded from and saved to the SYSCONF (to avoid different, possibly contradicting sources of truth).
2017-08-08Remove non-integer IRsJosJuice
2017-07-30VideoCommon: Improve precision of FPS counterStenzek
2017-07-20ShaderGen: Pass host config to shader generation functionsStenzek
Also moves the host config checks to common.
2017-06-05Merge pull request #5312 from ligfx/cleanupupdatedrawrectangleshuffle2
RenderBase: clean up UpdateDrawRectangle