summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2023-06-01Add compression option for texture dumps.joon
Enable through command line options: -C Graphics.Settings.TexturePNGCompressionLevel=[0-9] Or from GFX.ini: [Settings] TexturePNGCompressionLevel=[0-9] @see #10792
2023-05-30VideoCommon: check whether action was successfully created before adding ↵iwubcode
targets for a graphics mod
2023-05-29VideoCommon: fix bug in GraphicsModManager where a separate action was being ↵iwubcode
created for each target
2023-05-06DolphinAnalytics: Add READS_BOUNDING_BOX game quirkPokechu22
2023-05-02Common/JitRegister: Move interface into Common namespaceLioncash
Makes the namespace consistent with other common utilities.
2023-04-19Common/LinearDiskCache: Move interface into Common namespaceLioncash
Gets the interface out of the global namespace.
2023-04-15Common/MathUtil: Move IntLog2 into MathUtil namespaceLioncash
Gets this out of the global namespace.
2023-04-14Merge pull request #11756 from lioncash/iniAdmiral H. Curtiss
Common/IniFile: Move interface into Common namespace
2023-04-14Merge pull request #11687 from Minty-Meeo/warningsLéo Lam
Resolve GCC/Clang Warnings
2023-04-13Common/IniFile: Move interface into Common namespaceLioncash
Gets this out of the global namespace and into the Common namespace
2023-04-12Resolve [-Wclass-memaccess]Minty-Meeo
2023-04-08VideoCommon: refactor GetTexture into a separate function for creation, ↵iwubcode
separating the custom texture data path from the game's texture data path
2023-04-06Resolve [-Wshadow]Minty-Meeo
2023-04-05VideoCommon/CommandProcessor: Pass System to HandleUnknownOpcode().Admiral H. Curtiss
2023-03-30Merge pull request #11673 from K0bin/vertex-loader-micro-optMarkus Wick
Vertex Loader Microoptimization
2023-03-21Common: Move FPU-related helpers into Common namespaceLioncash
Makes these utilities' namespace consistent with the majority of the Common library.
2023-03-20VideoCommon:VertexManagerBase: Only calculate remaining indices onceRobin Kertels
Before, both of those were calculated 3 times due to the ASSERTs.
2023-03-20VideoCommon:VertexShaderManager: Inline SetVertexFormat & UpdateValue/OffsetRobin Kertels
2023-03-20VideoCommon:VertexLoaderManager: Only update vertex format in shader manager ↵Robin Kertels
if necessary.
2023-03-11HW/VideoInterface: Refactor to class.Admiral H. Curtiss
2023-03-06Don't discard ConfigChanged callback handleScott Mansell
2023-03-02[[unlikely]] ASSERTMinty-Meeo
and other ASSERT usage changes
2023-03-02Merge pull request #11582 from Pokechu22/software-crash-on-startupMai
Software: Fix regressions from "Kill Renderer"
2023-03-02Software: Fix "Auto-Adjust Window Size"Pokechu22
This also needs to be handled on the software renderer path.
2023-03-02Software: Fix crash on startup when using "Compile Shaders Before Starting"Pokechu22
When that setting is enabled, m_xfb_entry is initially not present (during the phase where a shader compilation progress bar would be shown). The main path checks for m_xfb_entry, but the software renderer fallback path didn't. Fixes another aspect of https://bugs.dolphin-emu.org/issues/13172.
2023-03-02Software: Implement GetSurfaceInfo()Pokechu22
Before, it used a fallback where it returned a default object, where the width and height were set to 0. Presenter::Initialize() used GetSurfaceInfo to set the backbuffer size, then used that size when initializing the on-screen UI (even for the software renderer, where the on-screen UI isn't currently present), which meant that ImGui got a window size of 0 and thus resulted in a failed assertion. Although BindBackbuffer checks for size changes, it doesn't help because ImGui has already been initialized, and the size hasn't actually changed since initialization occured. Fixes one aspect of https://bugs.dolphin-emu.org/issues/13172.
2023-03-01VideoCommon: remove HiResTexture DDS loading, update hirestexture logic to ↵iwubcode
use custom texture data
2023-03-01VideoCommon: add class to load custom texture dataiwubcode
2023-02-25D3D: Restore workaround for erroneous NaN optimizationDentomologist
The HLSL compiler incorrectly decides isnan can't be true, so this workaround was originally added in 52c82733 but lost during the conversion to SPIR-V.
2023-02-19VideoCommon: Reword the unknown opcode error messageJosJuice
When faced with this error, users often don't try disabling dual core, even though the error message suggests it. Perhaps the message is just too long and lists too many things? To try to improve the situation, I'm rewording the message and making it say different things depending on what settings you are using.
2023-02-16Merge pull request #11569 from Hibyehello/patch-1Scott Mansell
VideoBackend: Make Metal Default on MacOS
2023-02-15VideoCommon: Remove unused ShutdownImGui function declarationPokechu22
This was moved to the ~OnScreenUI() destructor in 0d4537d60f695e50379c1542d6c4b1e643e8a5a0.
2023-02-15Fix uninitialized variable warnings (C26495)Pokechu22
2023-02-15Keep Vulkan precedence over OpenGLJosh
2023-02-15VideoBackend: Make Metal Default on MacOSJosh
2023-02-14VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)TellowKrinkle
2023-02-13VideoCommon: Clear blend configuration if color/alpha update disabledPokechu22
This works around an Intel driver bug where, on D3D12 only, dual-source blending behaves incorrectly if the second source is unused on. This bug is visible in skyboxes in Super Mario Sunshine, which first draw clouds and sun flare in greyscale and then draw the sky afterwards with a source factor of 1 and a dest factor of 1-src_color (this results in the clouds being tinted blue). This process is done on an RGB888 framebuffer, so alpha update is disabled. (Color update is enabled; note that if you look at this in Dolphin's fifo analyzer, it won't be enabled because they use the BP mask functionality to only change the blending functions and not alpha/color update, for whatever reason.)
2023-02-13Merge pull request #11558 from Pokechu22/vertex-loader-size-assertion-detailsScott Mansell
VertexLoader: Add more info to m_vertex_size == m_src_ofs assertion
2023-02-12VertexLoader: Add more info to m_vertex_size == m_src_ofs assertionPokechu22
2023-02-13Merge pull request #11550 from iwubcode/set_common_samplers_countScott Mansell
VideoCommon: add constant value for maximum number of pixel samplers
2023-02-11VideoCommon: pass a graphics mod base path to the graphics mod, so it can ↵iwubcode
lookup other relative files if necessary
2023-02-10Merge pull request #11549 from Pokechu22/texturecachebase-bitset-includeAdmiral H. Curtiss
TextureCacheBase: Remove unused bitset include
2023-02-10Merge pull request #11523 from degasus/OGL_KHR_subgroupJMC47
VideoBackend/OGL: Prefer KHR_shader_subgroup over NV_shader_thread.
2023-02-10VideoCommon: add constant value to set the allowed maximum number of pixel ↵iwubcode
samplers
2023-02-09Suppress memcpy writing to an object with no trivial copy-assignment warningsPokechu22
We need to copy padding in most of these cases, and the objects are trivially copyable; however, BitField prevents trivial copy-assignment.
2023-02-09TextureDecoder: Fix warning: array subscript has type ‘char’ ↵Pokechu22
[-Wchar-subscripts]
2023-02-09CommandProcessor: Fix shadowing warningsPokechu22
2023-02-09VertexLoaderBase: Fix shadowing warningPokechu22
2023-02-09GraphicsModManager: Fix shadowing warningPokechu22
2023-02-09TextureCacheBase: Remove unused bitset includePokechu22
It was used for valid_bind_points, which was removed in 88bd10cd30d487cc3efba20875b32df7cdacb686 (and the declaration was more recently removed in 606c18210dd4f651655b2c84e9e332e6c6c6e21b).