| Age | Commit message (Collapse) | Author |
|
Easily the most straightforward to convert over, given the lack of
significant formatting arguments.
|
|
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.
|
|
|
|
VideoCommon: Make use of fmt outside of shader generators
|
|
2 minor dumping fixes
|
|
|
|
|
|
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.
|
|
Various quad-buffered ("HDMI 3D") stereo fixes
|
|
Vulkan: Optimizations for Mali with EFB2RAM on
|
|
When not using native resolution, FFMPEG automatically selects FFV1 version 3 for whatever reason, and that can't be decoded by VirtualDub/AVISynth.
|
|
|
|
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.
|
|
|
|
|
|
|
|
Previously, only the left eye was being used.
|
|
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).
|
|
Only the left eye is used when creating the RAM copy.
|
|
Fixes broken stereoscopy when switching on/off at runtime.
|
|
|
|
StringUtil: Use std::string_view more
|
|
VideoCommon/OnScreenDisplay: Minor cleanup
|
|
Fix CPU EFB access on Adreno with Vulkan backend
|
|
VideoCommon/TextureCacheBase: Make OnConfigChanged's parameter a const reference
|
|
VideoCommon/RenderBase: Make functions const where applicable
|
|
Same thing, less code.
|
|
Same thing, less code.
|
|
We can just call the functions that are part of the interface instead of
using the global in order to execute those functions.
|
|
There's no need to have a dependency when we can simply call the
function itself as part of the instance itself.
|
|
Same behavior, but immediately assigns to variables, allowing them to be
const.
|
|
|
|
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.
|
|
This reference isn't actually modified within this function
|
|
RenderState: Approximate logic op with blending if unsupported
|
|
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.
|
|
|
|
Correct state wasn't being set.
|
|
Needed for the Adreno/Vulkan workaround, and if we ever switch to a D24
texture for the depth buffer w/ unrestricted depth range.
|
|
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.
|
|
While we're at it, fix up the imgui include to use the convention we use
for referencing external library headers.
|
|
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.
|
|
Provides a deterministic initial state in the case of the default
constructor.
|
|
new GetWarningMessage in video backend - will be needed for DX11.1 feature set warnings
|
|
Vulkan: Disable reversed viewport depth on macOS/MoltenVK
|
|
|
|
|
|
|
|
|
|
|