summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2019-12-03VideoCommon/TextureConverterShaderGen: Convert over to fmtLioncash
Easily the most straightforward to convert over, given the lack of significant formatting arguments.
2019-12-03VideoCommon/ShaderGenCommon: Add function for writing fmt-based stringsLioncash
Begins the conversion of the shader generators over to using fmt formatting specifiers. This also has a benefit over the older StringFromFormat-based API in that all formatted data is appended to the existing buffer rather than creating a completely separate string and then appending it to the internal string buffer.
2019-11-30Update VS projects/solutions to VS2019Stenzek
2019-11-28Merge pull request #8487 from lioncash/video-fmtAnthony
VideoCommon: Make use of fmt outside of shader generators
2019-11-25Merge pull request #8490 from vadosnaprimer/dumpingScott Mansell
2 minor dumping fixes
2019-11-24fix missing frame when you start another dump without closing dolphinfeos
2019-11-24figure out new segment on the fly right in FrameDump::Start()feos
2019-11-23VideoCommon: Make use of fmt outside of shader generatorsLioncash
Migrates most of VideoCommon over to using fmt, with the exception being the shader generator code. The shader generators are quite large and have more corner cases to deal with in terms of conversion (shaders have braces in them, so we need to make sure to escape them). Because of the large amount of code that would need to be converted, the conversion of VideoCommon will be in two parts: - This change (which converts over the general case string formatting), - A follow up change that will specifically deal with converting over the shader generators.
2019-11-08Merge pull request #8378 from stenzek/quad-buffer-stereoConnor McLaughlin
Various quad-buffered ("HDMI 3D") stereo fixes
2019-10-31Merge pull request #8379 from stenzek/maliConnor McLaughlin
Vulkan: Optimizations for Mali with EFB2RAM on
2019-10-05Another AVI fix for WinAPI importersfeos
When not using native resolution, FFMPEG automatically selects FFV1 version 3 for whatever reason, and that can't be decoded by VirtualDub/AVISynth.
2019-10-04Drop 3D Vision SupportStenzek
2019-10-02Vulkan: Add a DriverDetails bug for "slow cached readback memory"Stenzek
Using the cached memory type appears to be slower on Mali drivers, with ~10-15% CPU spent in the __pi___inval_cache_range kernel function.
2019-10-02PostProcessing: Use interface blocks for shadersStenzek
2019-10-02Renderer: Use interface blocks for ImGui shadersStenzek
2019-10-02Renderer: Draw ImGui interface to both eyesStenzek
2019-10-02PostProcessing: Use correct layer in quad-buffered modesStenzek
Previously, only the left eye was being used.
2019-10-02PostProcessing: Don't use GS expansion shader for quad buffering w/ OpenGLStenzek
OpenGL doesn't render to a 2-layer backbuffer like D3D/Vulkan for quad-buffered stereo, instead drawing twice with the eye selected by glDrawBuffer() (see OGL::Renderer::RenderXFBToScreen).
2019-10-01ShaderCache: EFB2RAM pipelines should not use a geometry shaderStenzek
Only the left eye is used when creating the RAM copy.
2019-10-01ShaderCache: Recompile shared pipelines on shader cache reloadStenzek
Fixes broken stereoscopy when switching on/off at runtime.
2019-08-28Core: Use move semantics for Renderer::SaveScreenshotSilent
2019-08-09Merge pull request #8233 from JosJuice/stringutil-string-viewConnor McLaughlin
StringUtil: Use std::string_view more
2019-08-08Merge pull request #8269 from lioncash/osd-moveConnor McLaughlin
VideoCommon/OnScreenDisplay: Minor cleanup
2019-08-08Merge pull request #8276 from stenzek/adreno-efb-accessConnor McLaughlin
Fix CPU EFB access on Adreno with Vulkan backend
2019-08-08Merge pull request #8293 from lioncash/refConnor McLaughlin
VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const reference
2019-08-05Merge pull request #8294 from lioncash/render-constConnor McLaughlin
VideoCommon/RenderBase: Make functions const where applicable
2019-08-04VideoCommon/TextureCacheBase: Collapse for loop into a fill() in Invalidate()Lioncash
Same thing, less code.
2019-08-04VideoCommon/TextureCacheBase: Use emplace_back where applicableLioncash
Same thing, less code.
2019-08-04VideoCommon/TextureCacheBase: Remove use of the texture cache globalLioncash
We can just call the functions that are part of the interface instead of using the global in order to execute those functions.
2019-08-04VideoCommon/RenderBase: Remove dependency on renderer global within rendererLioncash
There's no need to have a dependency when we can simply call the function itself as part of the instance itself.
2019-08-04VideoCommon/RenderBase: Use structured bindings where applicableLioncash
Same behavior, but immediately assigns to variables, allowing them to be const.
2019-08-04VideoCommon/RenderBase: Make functions const where applicableLioncash
2019-08-04VideoCommon/TextureCacheBase: Remove dependence on global variables from ↵Lioncash
OnConfigChanged() The active config will always be passed as the reference parameter, we can make use of the parameter instead of accessing the global variable.
2019-08-04VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const referenceLioncash
This reference isn't actually modified within this function
2019-08-04Merge pull request #8284 from stenzek/logic-op-hackConnor McLaughlin
RenderState: Approximate logic op with blending if unsupported
2019-08-04RenderState: Approximate logic op with blending if unsupportedStenzek
This is a giant hack which was previously removed because it causes broken rendering. However, it seems that some devices still do not support logical operations (looking at you, Adreno/Mali). Therefore, for a handful of cases where the hack actually makes things slightly better, we can use it. ... but not without spamming the log with warnings. With my warning message PR, we can inform the users before emulation starts anyway.
2019-08-03FramebufferShaderGen: Fix upside-down EFB being restored in OpenGLStenzek
2019-08-03FramebufferManager: Fix restoring of EFB depth bufferStenzek
Correct state wasn't being set.
2019-07-31FramebufferManager: Correctly handle read back D24S8 texturesStenzek
Needed for the Adreno/Vulkan workaround, and if we ever switch to a D24 texture for the depth buffer w/ unrestricted depth range.
2019-07-28VideoCommon/OnScreenDisplay: Use deduction guides for std::lock_guardLioncash
Same behavior without hardcoding the type of the mutex within the lock guards. This means the type of the mutex would be able to be changed without needing to also change all occurrences lock guards are used.
2019-07-28VideoCommon/OnScreenDisplay: Remove unused headersLioncash
While we're at it, fix up the imgui include to use the convention we use for referencing external library headers.
2019-07-28VideoCommon/OnScreenDisplay: Take Message's std::string parameter by valueLioncash
Allows callers to std::move strings into the functions (or automatically assume the move constructor/move assignment operator for rvalue references, potentially avoiding copies altogether.
2019-07-28VideoCommon/OnScreenDisplay: Default initialize all Message membersLioncash
Provides a deterministic initial state in the case of the default constructor.
2019-07-26Factorize software renderer backend switching warning to be fetched from a ↵Silent
new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings
2019-07-25Merge pull request #8259 from stenzek/macos-disable-reversed-depthConnor McLaughlin
Vulkan: Disable reversed viewport depth on macOS/MoltenVK
2019-07-24Config: Add an option to skip saving texture cache to save stateStenzek
2019-07-24FramebufferManager: Support saving EFB to save stateStenzek
2019-07-24TextureCache: Support saving cache entries, including EFB copiesStenzek
2019-07-24VideoBackendBase: Do save state logic on the GPU threadStenzek
2019-07-23StringUtil: Use std::string_view moreJosJuice