aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/util.h
AgeCommit message (Collapse)Author
2023-07-02Use spans over guest memory where possible instead of copying data.Kelebek1
2023-06-22Remove memory allocations in some hot pathsKelebek1
2023-03-05Engines: Implement Accelerate DMA Texture.Fernando Sahmkow
2022-12-25texture_cache: Use Common::ScratchBuffer for swizzle buffersameerj
2022-12-25texture_cache: Use pre-allocated buffer for texture downloadsameerj
2022-12-25texture_cache: Use pre-allocated buffer for texture uploadsameerj
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-19video_core: Reduce unused includesameerj
2021-11-16TextureCache: fix rescaling in aliases and overlap joins.FernandoS27
2021-07-04Texture Cache: Improve accuracy of sparse texture detection.Fernando Sahmkow
2021-07-04Texture Cache: Initial Implementation of Sparse Textures.Fernando Sahmkow
2021-04-12texure_cache/util: Resolve implicit sign conversions with std::reduceLioncash
Amends implicit sign conversions occurring with usages of std::reduce and also relocates it to its own utility function to reduce verbosity a little bit.
2021-03-04texture_cache: Blacklist BGRA8 copies and views on OpenGLameerj
In order to force the BGRA8 conversion on Nvidia using OpenGL, we need to forbid texture copies and views with other formats. This commit also adds a boolean relating to this, as this needs to be done only for the OpenGL api, Vulkan must remain unchanged.
2021-01-04gl_texture_cache: Avoid format views on Intel and AMDReinUsesLisp
Intel and AMD proprietary drivers are incapable of rendering to texture views of different formats than the original texture. Avoid creating these at a cache level. This will consume more memory, emulating them with copies.
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.