aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.cpp
AgeCommit message (Collapse)Author
2020-04-28MaxwellDMA: Optimize micro copies.Fernando Sahmkow
2020-04-16General: Resolve warnings related to missing declarationsLioncash
2019-07-25MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow
This commit fixes offsets on Linear -> Tiled copies, corrects z pos fortiled->linear copies, corrects bytes_per_pixel calculation in tiled -> linear copies and relaxes some limitations set by latest dma fixes refactors.
2019-06-20texture_cache: Style and CorrectionsFernando Sahmkow
2019-06-20decoders: correct block calculationFernando Sahmkow
2019-06-20video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp
Instead of storing all block width, height and depths in their shifted form: block_width = 1U << block_shift; Store them like they are provided by the emulated hardware (their block_shift form). This way we can avoid doing the costly Common::AlignUp operation to align texture sizes and drop CPU integer divisions with bitwise logic (defined in Common::AlignBits).
2019-06-20gl_texture_cache: Add fast copy pathReinUsesLisp
2019-06-20gl_texture_cache: Initial implementationReinUsesLisp
2019-04-16Apply Const correctness to SwizzleKepler and replace u32 for size_t on ↵Fernando Sahmkow
iterators.
2019-04-15Implement Block Linear copies in Kepler Memory.Fernando Sahmkow
2019-03-16video_core: Refactor to use MemoryManager interface for all memory access.bunnei
# Conflicts: # src/video_core/engines/kepler_memory.cpp # src/video_core/engines/maxwell_3d.cpp # src/video_core/morton.cpp # src/video_core/morton.h # src/video_core/renderer_opengl/gl_global_cache.cpp # src/video_core/renderer_opengl/gl_global_cache.h # src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
2019-02-26gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp
2019-02-26decoders: Minor style changesReinUsesLisp
2018-12-19Fixed uninitialized memory due to missing returns in canaryDavid Marcec
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
2018-11-26Implemented Tile Width SpacingFernandoS27
2018-11-18Merge pull request #1717 from FreddyFunk/swizzle-gobbunnei
textures/decoders: Replace magic numbers
2018-11-18Eliminated unnessessary memory allocation and copy (#1702)Frederic L
2018-11-17textures/decoders: Replace magic numbersFrederic Laing
2018-11-15textures/decoders: Minor cleanupFrederic Laing
2018-11-12Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666)greggameplayer
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction
2018-11-01Fix ASTC formatsFernandoS27
2018-10-25Merge pull request #1524 from FernandoS27/layers-fixbunnei
rasterizer: Fix Layered Textures Loading and Cubemaps
2018-10-23decoders: Remove unused variable within SwizzledData()Lioncash
2018-10-23Fixed Layered Textures Loading and CubemapsFernandoS27
2018-10-18decoders: Introduce functions for un/swizzling subrects.bunnei
2018-10-14Merge pull request #1488 from Hexagon12/astc-typesbunnei
video_core: Added ASTC 5x4; 8x5 types
2018-10-13Shorten the implementation of 3D swizzle to only 3 functionsFernandoS27
2018-10-13Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBufferFernandoS27
2018-10-13Propagate depth and depth_block on modules using decodersFernandoS27
2018-10-13Remove old Swizzle algorithms and use 3d SwizzleFernandoS27
2018-10-13Implement Precise 3D SwizzleFernandoS27
2018-10-13Implement Fast 3D SwizzleFernandoS27
2018-10-13Added ASTC 5x4; 8x5Hexagon12
2018-10-12Implemented helper function to correctly calculate a texture's sizeFernandoS27
2018-09-21Reverse stride align restriction on FastSwizzle due to lost performanceFernandoS27
2018-09-21Join both Swizzle methods within one interface functionFernandoS27
2018-09-21Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling ↵FernandoS27
Table instead
2018-09-21Remove same output bpp restriction on FastSwizzleFernandoS27
2018-09-21Improved Legacy Swizzler to be better documented and work betterFernandoS27
2018-09-20Improved fast swizzle and removed restrictions to itFernandoS27
2018-09-17Merge pull request #1311 from FernandoS27/fast-swizzlebunnei
Optimized Texture Swizzling
2018-09-17Implement ASTC_2D_8X8 (Bayonetta 2)raven02
2018-09-14Optimized Texture SwizzlingFernandoS27
2018-08-31Implement BC6H_UF16 & BC6H_SF16 (#1092)greggameplayer
* Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2
2018-08-09textures: Refactor out for Texture/Depth FormatFromPixelFormat.bunnei
2018-08-09Implement BC5/DXN2 (#996)Khangaroo
- Used by Kirby Star Allies.
2018-08-02Implement RGB32F PixelFormat (#886) (used by Go Vacation)greggameplayer
2018-07-26Implement R16_G16Unknown
correct trailing white spaces Delete tabs correct placement Add RG16F & RG16UI & RG16I & RG16S PixelFormats Return correct data according to changes done previously correct PixelFormat declaration correct coding style error correct coding style error part 2 correct RG16S Declaration error correct alignment
2018-07-24GPU: Implemented the Z32_S8_X24 depth buffer format.Subv
2018-07-24GPU: Implemented the R16 and R16F texture formats.Subv