summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
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
2023-12-21VideoCommon: revert max pixel shader samplers back to 8 for Android devices.iwubcode
It was reported that some games (Zelda Wind Waker and Zelda Twilight Princess but others may also exhibit the issue) have graphical issues with the max pixel samplers set to 16 on some Android devices (ex: Pixel6); since this was increased for a performance heavy feature (custom shaders) just disable it for now. In the future, this could be handled more elegantly
2023-12-20VideoCommon/CommandProcessor: Pass system instance through constructorLioncache
Makes the use of the interface a little less noisy, especially given how much of the interface depends on an instance being present.
2023-12-19VideoCommon: when loading a texture asset, set sampler to linear sampler if ↵iwubcode
the texture type is not defined and the 2d texture is assumed
2023-12-19VideoCommon: update custom pipeline action to support a variety of texture ↵iwubcode
samplers (2D, 2D array, and cube maps)
2023-12-20VideoCommon: apply "force 24-bit color" to EFB-to-VRAM copies as wellTillmann Karras
2023-12-18VideoCommon/Fifo: Pass system instance through FifoManager constructorLioncache
Given how many member functions make use of the system instance, it's likely just better to pass the system instance in on construction. Makes the interface a little less noisy to use.
2023-12-18Merge pull request #12170 from Filoppi/custom_aspect_ratioAdmiral H. Curtiss
Add support for custom aspect ratios
2023-12-18Video: make the "Auto" resolution setting also follow the max res setting, ↵Filoppi
to avoid trying to create texture bigger than the maximum supported one
2023-12-18Video: fix auto resolution scale calculationsFiloppi
2023-12-18Video: fix Auto Resolution Scale not updating when the window was resized.Filoppi
Also fixes the widescreen hack not fully updating when the aspect ratio setting changed on the spot.
2023-12-18Video: implement custom aspect ratio support (already exposed to Qt).Filoppi
This also renamed some variables/functions.
2023-12-18Video: rename Presenter::SetWindowSize()Filoppi
2023-12-18Video: polish aspect ratio related code comments to make it clearerFiloppi
2023-12-17Merge pull request #12370 from iwubcode/more_samplersMai
VideoBackends / VideoCommon: update max pixel shader samplers from 8 to 16
2023-12-17Merge pull request #12409 from iwubcode/custom_material_graphics_mod_action_dataMai
VideoCommon: prepare graphics mods for custom shader material data
2023-12-17Merge pull request #12382 from iwubcode/shader_asset_default_valueMai
VideoCommon: update shader asset to provide a variant default value
2023-12-17Merge pull request #12372 from iwubcode/texture_usage_flagMai
VideoBackends / VideoCommon: add type enum to dictate how the texture is used; support texture 2d
2023-12-16Merge pull request #12427 from JosJuice/jitarm64-msr-updated-logical-immAdmiral H. Curtiss
JitArm64: Fix MSRUpdated(ARM64Reg) with FEATURE_FLAG_PERFMON set
2023-12-16JitArm64: Use enum class for LogicalImm size parameterJosJuice
This should prevent issues like the one fixed in the previous commit from happening again.
2023-12-15VideoBackends / VideoCommon: add type enum to dictate whether a texture is a ↵iwubcode
2D texture, a texture array, or a cube map; support 2D texture type across backends Co-authored-by: TellowKrinkle <tellowkrinkle@gmail.com>
2023-12-12VideoCommon: prepare graphics mods for custom shader material dataiwubcode
2023-12-12Merge pull request #12240 from iwubcode/material_asset_additional_propertiesMai
VideoCommon: add additional data types to material asset
2023-12-12VideoCommon: add message to XF load assertTillmann Karras
2023-12-12LightingShaderGen: Resolve -Wshadow warningsLioncash
Given how the lambda doesn't capture anything, we can move this to a internally linked function, which prevents any name shadowing.
2023-12-12Merge pull request #12371 from lioncash/spanTilka
VideoCommon: Use std::span for BoundingBox::Write()
2023-12-12VideoCommon: update shader asset to provide a variant default valueiwubcode
2023-12-11CustomAssetLibrary: Remove unused GetAssetSize() functionLioncash
There's a direct analogue of this function within DirectFilesystemAssetLibrary that *is* used, however, so we can get rid of this one.
2023-12-11VertexManagerBase: Resolve -Wsign-compare warningLioncash
2023-12-11Merge pull request #12392 from lioncash/declAdmiral H. Curtiss
General: Resolve -Wmissing-declaration warnings
2023-12-11Merge pull request #12389 from lioncash/cheeveAdmiral H. Curtiss
AchievementManager: Make GetInstance() and GetLock() return a reference
2023-12-11PostProcessing: Mark helper functions as staticLioncash
These didn't have any prototypes and were generating -Wmissing-declaration warnings.
2023-12-11ShaderAsset: Mark ParseShaderProperties() as staticLioncash
This had no function prototype, so this can be internally linked. Resolves a -Wmissing-declaration warning.
2023-12-11CustomShaderCache: Resolve -Wreorder warningsLioncash
Lays out the initializer lists to be in the same order that initialization would occur in.
2023-12-11AchievementManager: Return by reference from GetLock()Lioncash
This makes the API a little nicer to use, since you don't need to do a mandatory dereference when passing the lock into any kind of scope guard.
2023-12-11AchievementManager: Make GetInstance() return a referenceLioncash
The internal static member will always have a valid lifetime. Makes this consistent with other instance based objects in our code.
2023-12-10VideoCommon: add ability to serialize graphics mod to json objectiwubcode
2023-12-10VideoBackends / VideoCommon: update max pixel shader samplers from 8 to 16, ↵iwubcode
this allows us to support more samplers than the native Wii/GC
2023-12-09VideoCommon: prevent a potential custom texture crash that can occur when a ↵iwubcode
shared_ptr gets released while a pointer to its member data is still being used
2023-12-09VideoCommon/Present: Remove use of g_presenter inside Presenter classLioncash
There's no need to self reference a global of the class itself when we can just call the function directly.
2023-12-09VideoCommon: Use std::span for BoundingBox::Write()Lioncash
Crosses off a lingering TODO. Also amends a few nearby cases where a u32 cast was being repromoted to size_t.
2023-12-08Bugfix - small square in bottom right cornerLillyJadeKatrin
Fixed a bug in OSUI created by the challenge icons that caused a small rectangle to appear in the bottom right corner of the screen.