summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2018-10-14NullBackend: Initialize vtx_decl in VertexFormatStenzek
This field was previously left uninitialized, which resulted in corrupted UID caches being created.
2018-10-12Merge pull request #7437 from stenzek/graphics-options-raceMat M
Fix race condition caused by opening graphics options while running
2018-10-09OGL: Disable scissor test when calling glBlitFramebuffer()Stenzek
glBlitFramebuffer() does not bypass the scissor test, which meant that part of texture copies (e.g. XFB) could have been clipped when running under OpenGL ES, as glCopyImageSubData() is not supported.
2018-10-09VideoCommon: remove unnecessary floor()Tillmann Karras
floatindex is clamped to the range [0, 9]. For non-negative numbers floor() is equivalent to trunc(). Truncation happens implicitly when converting to uint, so the floor() is unnecessary.
2018-10-07Merge pull request #7457 from Tilka/use_clampJules Blok
VideoSoftware: make use of Clamp()
2018-10-06Merge pull request #7348 from spycrab/gl_cache_shadersTilka
GL/TextureCache: Clean up inline shader code
2018-10-05VideoSoftware: make use of Clamp()Tillmann Karras
2018-09-28Core: Call InitBackendInfo before loading configStenzek
2018-08-30GL/TextureCache: Clean up inline shader codespycrab
2018-08-29Vulkan: Drop usage of VK_NV_glsl extensionStenzek
It's not providing a large performance improvement anymore, after the more recent drivers introduced a new shader compiler.
2018-07-19FramebufferManager: Dynamic selection of EFB depth formatStenzek
2018-07-19VideoBackends: Support D24S8 abstract texture formatStenzek
2018-06-30Mark all video backend names for translationTechjar
2018-06-21Software: Don't link against X11 librariesLioncash
The software backend doesn't actually use X11 in any capacity directly.
2018-06-06Merge pull request #7075 from Ebola16/DumpObjectsLéo Lam
Software Renderer "Dump Objects" needs dedicated folder and tooltip
2018-06-06Give Dump Objects dedicated folder and tooltipRyan Meredith
2018-06-05Merge pull request #6954 from degasus/coherentAnthony
OGL/Streambuffer: Use coherent mapping by default.
2018-06-04Merge pull request #7027 from leoetlino/cleanupLéo Lam
Use some C++17 features available since GCC 6
2018-06-02Externals: Update glslang to upstream commit 32d3ec3Stenzek
2018-05-30Remove old GCC version checksLéo Lam
2018-05-26VideoConfig: Add a field for indicating logic op support in the backendStenzek
2018-05-24OGL/Streambuffer: Use coherent mapping by default.degasus
Coherent mappings have a lower overhead and less GL codes. So enables coherent mapping by default for all drivers. Both Qualcomm and ARM performs very bad with explicit flushing, so this change helps them as well. AFAIK there was one GPU generation which was slower on coherent mapping: nvidia tesla So Geforce 200 and 300 series should be tested with this PR before merging. As this was last tested many years ago, this issue might have been fixed as well. Those GPUs are close to 10 years old and not supported any more by nvidia.
2018-05-22OGL: Fix EFB access in MSAA-modeStenzek
2018-05-22EFB2RAM: Apply copy filter as a float coefficient after samplingStenzek
Using 8-bit integer math here lead to precision loss for depth copies, which broke various effects in games, e.g. lens flare in MK:DD. It's unlikely the console implements this as a floating-point multiply (fixed-point perhaps), but since we have the float round trip in our EFB2RAM shaders anyway, it's not going to make things any worse. If we do rewrite our shaders to use integer math completely, then it might be worth switching this conversion back to integers. However, the range of the values (format) should be known, or we should expand all values out to 24-bits first.
2018-05-21Vulkan/PostProcessing: Make file-scope std::string instances const char arraysLioncash
Avoids performing avoidable file-scope heap allocations
2018-05-20Remove SOIL altogether from the project.Emmanuel Gil Peyrot
2018-05-18EfbInterface: Move buffer constant from the header to the cpp fileLioncash
This is only ever used internally, so we can limit its scope to the only usage point.
2018-05-18EfbInterface: Make efb and perf_values std::arraysLioncash
2018-05-18EfbInterface: Make perf_values internally linkedLioncash
Instead, expose functions to operate with it. This way we keep the internal representation concealed.
2018-05-18EfbInterface: Move efb array into the EfbInterface namespaceLioncash
2018-05-17Merge pull request #6743 from stenzek/faster-disabled-copy-filterMarkus Wick
TextureConversionShader: Don't sample from adjacent rows when not needed
2018-05-12Merge pull request #6825 from leoetlino/onion-typesLéo Lam
Config: Fix implicit conversions/enum config types
2018-05-12Fix syntax error in GLSL_GSScore_Under
2018-05-12Remove stray quote signScore_Under
This allows GLSL_EFB_POKE_GEOMETRY_GS to compile again.
2018-05-12Config: Fix template deduction for implicit conversionsLéo Lam
This excludes the second argument from template deduction. Otherwise, it is required to manually cast the second argument to the ConfigInfo type (because implicit conversions won't work). e.g. to set the value for a ConfigInfo<std::string> from a string literal, you'd need a ugly `std::string("yourstring")`.
2018-05-11Merge pull request #6801 from stenzek/copy-filter-typoLéo Lam
D3D/Vulkan: Fix incorrect clamp in EFB RAM copy
2018-05-10CommonFuncs: Convert ROUND_UP_POW2 macro to a functionLioncash
Also move it to MathUtils where it belongs with the rest of the power-of-two functions. This gets rid of pollution of the current scope of any translation unit with b<value> macros that aren't intended to be used directly.
2018-05-11D3D/Vulkan: Fix incorrect clamp in EFB RAM copyStenzek
This could cause darker-than-expected EFB copies if clamping was not enabled, and the user forced EFB copies to RAM only.
2018-05-08OGL: Fix broken format changes in i965 driverStenzek
2018-05-07Merge pull request #6646 from spycrab/fbm_stringsMarkus Wick
OGL/FramebufferManager: Clean up inline GLSL code
2018-05-05OGL: Fix incorrect clamping in EFB copiesStenzek
2018-05-03TextureConversionShader: Don't sample from adjacent rows when not neededStenzek
2018-05-02D3D: Drop gamma parameter from util draw helperStenzek
No longer needed as we perform gamma correction during the XFB copy.
2018-05-01OGL/FramebufferManager: Clean up inline GLSL codespycrab
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-29While I'm here, fix some chroma sub-sampling bugs.Scott Mansell
RE4's brightness screen is actually very good for spotting these. Bug 1: Colors at the end of the scanlines are clamped, instead of a black border Bug 2: U and V color channels share coordinates, instead of being offset by a pixel.
2018-04-29VideoSoftware: Implement xfb copy filter (Deflickering/Brightness)Scott Mansell
2018-04-23Common: Move BitSet helper functions into the Common namespaceLioncash
2018-04-17Fix some warningsTillmann Karras
2018-04-16Common/Logging/Log: Wrap GENERIC_LOG macro's body in do { } while (0)Lioncash
Enforces the termination of GENERIC_LOGs with semicolons.