summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2024-01-31VideoCommon/Statistics: Remove global system accessor from s_after_frame_eventLioncash
Instead, we make the event take a reference to the system and then pass it in when the event is triggered. This does introduce two other accessors, but these are much easier to refactor out over time, and without modification to the existing event interface.
2024-01-31VertexLoaderBase: Collapse std namespace for hash and mark noexceptLioncash
Makes the hash specialization a little less noisy. Also we mark it noexcept, since hashes shouldn't be throwing exceptions (and this can be optimized on).
2024-01-31TextureConfig: Collapse std namespace for hashLioncash
Lets us collapse the namespacing and make the specialization a little less noisy.
2024-01-31RenderState: Collapse std namespace for hashLioncash
We can specify the namespace on the hash to make the specialization a little less noisy.
2024-01-31NativeVertexFormat: Collapse std namespace and mark hash noexceptLioncash
We can just tag the std:: onto the end of the specialization to make it less noisy. Also mark it as noexcept, since hashes shouldn't throw exceptions.
2024-01-31GraphicsModGroup: std::move graphics_mod in Load()Lioncash
The config object is quite heavyweight, so we should move this instead of copying.
2024-01-31GraphicsModGroup: Simplify try_add_mod()Lioncash
We can use contains() here, and also move the mod config if it's valid instead of copying it, since it contains quite a bit of allocated data.
2024-01-31GraphicsModGroup: Allow heterogenous lookup for GetMod()Lioncash
Allows using keys that aren't directly std::string as the key. This lets us use std::string_view for the incoming path name, making it more flexible with other string types.
2024-01-31Migrate SConfig::bWii to System.Admiral H. Curtiss
2024-01-28VideoCommon: Post to analytics when bug is overriddenTellowKrinkle
2024-01-28VideoCommon: Add ability for backends to override bugsTellowKrinkle
2024-01-28VideoBackends:Multiple: Split up BUG_BROKEN_SUBGROUP_OPSTellowKrinkle
We now use subgroup ops for more than just a minor performance optimization
2024-01-28Merge pull request #12530 from iwubcode/custom_shaders_compilation_fixesAdmiral H. Curtiss
VideoCommon: fix some issues when compiling custom shaders
2024-01-28Merge pull request #12534 from iwubcode/custom-pipeline-refactorAdmiral H. Curtiss
VideoCommon: refactor the custom pipeline logic to be reusable
2024-01-28Merge pull request #12535 from iwubcode/vertexmanager_draw_refactorAdmiral H. Curtiss
VideoCommon: refactor drawing into its own function
2024-01-27Merge pull request #12519 from lioncash/leakJosJuice
PostProcessing: Don't potentially leak memory in BlitFromTexture()
2024-01-27VideoCommon: refactor drawing into its own functioniwubcode
2024-01-27VideoCommon: refactor the custom pipeline logic in the graphics mod action ↵iwubcode
into a separate class, so it is reusable
2024-01-26Merge pull request #12532 from lioncash/jsonAdmiral H. Curtiss
GraphicsMod/ShaderAsset: Lessen object churn a little bit
2024-01-26Merge pull request #12443 from iwubcode/custom_pipeline_action_material_cubemapMai
VideoCommon: update custom pipeline action to support a variety of texture samplers, support for materials, and more!
2024-01-24GraphicsTarget: Reduce object churn a littleLioncash
2024-01-24GraphicsTargetGroup: Reduce object churn a littleLioncash
2024-01-24GraphicsModFeature: Reduce object churn a littleLioncash
2024-01-24GraphicsModAsset: Reduce object churn a littleLioncash
2024-01-24GraphicsModGroup: Mark move constructor and assignment as noexceptLioncash
Allows containers to optimize off of std::move_if_noexcept
2024-01-24GraphicsModGroup: Reduce object churnLioncash
We can emplace and move to avoid doing object copies.
2024-01-24GraphicsMod: Avoid some object churnLioncash
We have quite a bit of allocation churn going on here, so we can emplace and move where appropriate to alleviate that a little.
2024-01-24ShaderAsset: Emplace value instances when possible in ToJson()Lioncash
Constructs elements directly inside the container and also makes it shorter to read in certain instances.
2024-01-23VideoCommon: fix compilation error in pixel shaders when per-pixel lighting ↵iwubcode
isn't set for custom shaders
2024-01-23VideoCommon: fix compilation error in uber pixel shaders when pixel shader ↵iwubcode
lighting isn't set for custom shaders
2024-01-23VideoCommon: fix pixel shader compilation error that happens when uint ↵iwubcode
output is defined
2024-01-23VideoCommon: fix uber shader pixel compilation error that happens when uint ↵iwubcode
output is defined
2024-01-23VideoCommon: add function to serialize MaterialAsset to jsoniwubcode
2024-01-23PostProcessing: Don't potentially leak memory in BlitFromTexture()Lioncash
All release() does is relinquish the pointer, rather than free the memory associated with it.
2024-01-23PostProcessing: Remove unnecessary get() calls in BlitFromTexture()Lioncash
We can just use operator-> instead.
2024-01-23VideoCommon: add a method to calculate a default value for ShaderAsset and ↵iwubcode
another to list its types
2024-01-23VideoCommon: add function to serialize ShaderAsset to jsoniwubcode
2024-01-20VideoCommon: Only initialize Bounding Box if supported by GPU/driver.Admiral H. Curtiss
2024-01-15Core/Movie: Refactor to class, move to System.Admiral H. Curtiss
A bit of global state remains (the `header` in `BeginRecordingInput()`) due to unclear lifetime requirements.
2024-01-13Merge pull request #12285 from iwubcode/serialize_graphics_modsMai
VideoCommon: add ability to serialize graphics mod to json object
2024-01-12FifoRecorder: Move instance to System.Admiral H. Curtiss
2024-01-05FifoPlayer: Move instance to System.Admiral H. Curtiss
2024-01-04Core/SystemTimers: Refactor to class, move to System.Admiral H. Curtiss
2024-01-03Revert "VideoCommon: revert max pixel shader samplers back to 8 for Android ↵iwubcode
devices." This reverts commit 79648e1c24eac81f54365bbcb6dbc49ad6b16b1c.
2023-12-29Merge pull request #12452 from Tilka/efb24Jules Blok
VideoCommon: apply "force 24-bit color" to EFB-to-VRAM copies as well
2023-12-22VideoCommon/PixelEngine: Generify lock guardsLioncache
We don't need to specify the type of the mutex being passed in.
2023-12-22VideoCommon/PixelEngine: Remove global system accessor in UpdateInterrupts()Lioncache
Now that the system instance is passed through, this is no longer necessary.
2023-12-22VideoCommon/PixelEngine: Passthrough system instance in constructorLioncache
Simplifies the interface in terms of usage
2023-12-21Merge pull request #12454 from lioncash/procTilka
VideoCommon/CommandProcessor: Pass system instance through constructor
2023-12-21VideoCommon: handle asset memory going over reserved limit correctly by ↵iwubcode
erroring when the memory is exceeded and not allowing more assets to load until memory is released