summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2017-12-02VideoCommon: Create a namespace for TextureConversionShaderGen.degasus
2017-12-02VideoBackends: Use VideoCommon shader generators for efb2tex copies.Markus Wick
This will generate one shader per copy format. For now, it is the same shader with the colmat hard coded. So it should already improve the GPU performance a bit, but a rewrite of the shader generator is suggested. Half of the patch is done by linkmauve1: VideoCommon: Reorganise the shader writes.
2017-12-01Merge pull request #6193 from stenzek/readbacksStenzek
Abstract Staging Textures - VideoCommon interface for texture readbacks/uploads
2017-11-26Merge pull request #6216 from stenzek/headless-frame-dumpingMarkus Wick
OGL: Fix headless frame dumping
2017-11-25UberShaderPixel: Fix the interpolation qualifier for interface blocks.Jules Blok
Fixes MSAA on MacOS with ubershaders enabled.
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-22AbstractTexture: Drop slow map readback pathStenzek
2017-11-22TextureCacheBase: Don't crop last row/column of XFB copiesStenzek
Unsure why this was happening in the first place.
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: Implement Save using new common methodsStenzek
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-22VideoBackends: Add AbstractStagingTexture classStenzek
Can be used for asynchronous readback or upload of textures.
2017-11-22AbstractTexture: Support BGRA8 formatsStenzek
Used for some driver's swap chains, and EFB to RAM.
2017-11-22VideoCommon: Move abstract texture creation function to RendererStenzek
2017-11-22Merge pull request #6204 from stenzek/downscaled-screenshotsLeo Lam
Frame Dumping: Fix window-size framedumping
2017-11-22LightingShaderGen: Always calculate lighting for both color channelsStenzek
Cel-damage uses the color from the lighting stage of the vertex pipeline as texture coordinates, but sets numColorChans to zero. We now calculate the colors in all cases, but override the color before writing it from the vertex shader if numColorChans is set to a lower value.
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-21VideoConfig: Remove bSupportsInternalResolutionFrameDumpsStenzek
Field is unused as of Hybrid XFB.
2017-11-20VideoCommon: Use constant for number of color channels in XFMemoryStenzek
2017-11-19Merge pull request #6186 from lioncash/enum-classLeo Lam
VideoConfig: Make AspectMode and StereoMode enum classes
2017-11-19Merge pull request #6203 from lioncash/missing-braces-warnJosJuice
VideoCommon: Resolve -Wmissing-brace warnings
2017-11-19Merge pull request #6201 from lioncash/headersJosJuice
VideoBackends: Remove header inclusions made unnecessary with Hybrid XFB
2017-11-19VideoCommon: Resolve -Wmissing-brace warningsLioncash
Resolves around 5 -Wmissing-brace warnings on macOS.
2017-11-19AbstractTexture: Remove a redundant constructor initializer list entryLioncash
This is already initialized in the class definition. This would previously cause a -Wreorder warning on macOS, as m_config is defined after m_currently_mapped.
2017-11-19VideoBackends: Remove header inclusions made unnecessary with Hybrid XFBLioncash
Just some inclusions that weren't removed in the initial Hybrid XFB PR.
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-17TextureCacheBase: Set uninitialized XFB memory to fuchsia coloriwubcode
2017-11-17Hybrid XFB: Fix lint errorsiwubcode
2017-11-17Enhance xfb dumping to distinguish between the xfbs created from memory and ↵iwubcode
the xfbs created from overlapping copies
2017-11-17Texture Cache Base: Optimization to allow stitched or memory xfb textures to ↵iwubcode
be looked up from cache directly if they were defined previously and their hash hasn't changed
2017-11-17TextureCacheBase: Fix issue in Rogue Squadron 2 where overlapping textures ↵iwubcode
caused a hash change which would cause us to do a lookup from memory that gave us an incorrect result in XFB2Ram
2017-11-17TextureCacheBase: Remove vertical scaling from EFB path and have copy checks ↵iwubcode
only check EFBs
2017-11-17Hybrid XFB: Fix lint errorsiwubcode
2017-11-17TextureCacheBase: make sure stitching rectangle bounds don't exceed theiwubcode
texture size they are meant to represent
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-17Software Backend: Force EFB/XFB to copy to ramiwubcode
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-17Video Common: Add XFB decoding via the GPUiwubcode
2017-11-17Remove TODOsiwubcode
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.