aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures/decoders.cpp
Commit message (Collapse)AuthorAgeFilesLines
* MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow2019-07-251-6/+8
| | | | | | | 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.
* texture_cache: Style and CorrectionsFernando Sahmkow2019-06-201-3/+4
|
* decoders: correct block calculationFernando Sahmkow2019-06-201-19/+15
|
* video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp2019-06-201-20/+35
| | | | | | | | | | | | 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).
* gl_texture_cache: Add fast copy pathReinUsesLisp2019-06-201-2/+1
|
* gl_texture_cache: Initial implementationReinUsesLisp2019-06-201-1/+2
|
* Apply Const correctness to SwizzleKepler and replace u32 for size_t on ↵Fernando Sahmkow2019-04-161-7/+9
| | | | iterators.
* Implement Block Linear copies in Kepler Memory.Fernando Sahmkow2019-04-151-0/+21
|
* video_core: Refactor to use MemoryManager interface for all memory access.bunnei2019-03-161-17/+15
| | | | | | | | | | | # 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
* gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp2019-02-261-1/+1
|
* decoders: Minor style changesReinUsesLisp2019-02-261-2/+2
|
* Fixed uninitialized memory due to missing returns in canaryDavid Marcec2018-12-191-1/+1
| | | | Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
* Implemented Tile Width SpacingFernandoS272018-11-261-9/+13
|
* Merge pull request #1717 from FreddyFunk/swizzle-gobbunnei2018-11-181-37/+33
|\ | | | | textures/decoders: Replace magic numbers
| * textures/decoders: Replace magic numbersFrederic Laing2018-11-171-37/+33
| |
* | Eliminated unnessessary memory allocation and copy (#1702)Frederic L2018-11-181-4/+11
|/
* textures/decoders: Minor cleanupFrederic Laing2018-11-151-16/+16
|
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666)greggameplayer2018-11-121-0/+4
| | | | | | | * Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction
* Fix ASTC formatsFernandoS272018-11-011-5/+7
|
* Merge pull request #1524 from FernandoS27/layers-fixbunnei2018-10-251-3/+3
|\ | | | | rasterizer: Fix Layered Textures Loading and Cubemaps
| * Fixed Layered Textures Loading and CubemapsFernandoS272018-10-231-3/+3
| |
* | decoders: Remove unused variable within SwizzledData()Lioncash2018-10-231-1/+0
|/
* decoders: Introduce functions for un/swizzling subrects.bunnei2018-10-181-0/+40
|
* Merge pull request #1488 from Hexagon12/astc-typesbunnei2018-10-141-0/+2
|\ | | | | video_core: Added ASTC 5x4; 8x5 types
| * Added ASTC 5x4; 8x5Hexagon122018-10-131-0/+2
| |
* | Shorten the implementation of 3D swizzle to only 3 functionsFernandoS272018-10-131-70/+27
| |
* | Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBufferFernandoS272018-10-131-1/+1
| |
* | Propagate depth and depth_block on modules using decodersFernandoS272018-10-131-19/+21
| |
* | Remove old Swizzle algorithms and use 3d SwizzleFernandoS272018-10-131-93/+69
| |
* | Implement Precise 3D SwizzleFernandoS272018-10-131-3/+71
| |
* | Implement Fast 3D SwizzleFernandoS272018-10-131-2/+74
| |
* | Implemented helper function to correctly calculate a texture's sizeFernandoS272018-10-121-0/+16
|/
* Reverse stride align restriction on FastSwizzle due to lost performanceFernandoS272018-09-211-3/+2
|
* Join both Swizzle methods within one interface functionFernandoS272018-09-211-11/+19
|
* Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling ↵FernandoS272018-09-211-42/+38
| | | | Table instead
* Remove same output bpp restriction on FastSwizzleFernandoS272018-09-211-4/+5
|
* Improved Legacy Swizzler to be better documented and work betterFernandoS272018-09-211-15/+21
|
* Improved fast swizzle and removed restrictions to itFernandoS272018-09-201-7/+12
|
* Merge pull request #1311 from FernandoS27/fast-swizzlebunnei2018-09-171-2/+49
|\ | | | | Optimized Texture Swizzling
| * Optimized Texture SwizzlingFernandoS272018-09-141-2/+49
| |
* | Implement ASTC_2D_8X8 (Bayonetta 2)raven022018-09-171-0/+2
|/
* Implement BC6H_UF16 & BC6H_SF16 (#1092)greggameplayer2018-08-311-0/+4
| | | | | | | | | * Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2
* textures: Refactor out for Texture/Depth FormatFromPixelFormat.bunnei2018-08-091-81/+4
|
* Implement BC5/DXN2 (#996)Khangaroo2018-08-091-0/+3
| | | - Used by Kirby Star Allies.
* Implement RGB32F PixelFormat (#886) (used by Go Vacation)greggameplayer2018-08-021-0/+4
|
* Implement R16_G16Unknown2018-07-261-0/+3
| | | | | | | | | | | | | | | | | | 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
* GPU: Implemented the Z32_S8_X24 depth buffer format.Subv2018-07-241-0/+3
|
* GPU: Implemented the R16 and R16F texture formats.Subv2018-07-241-0/+3
|
* GPU: Implement texture format R32F.Subv2018-07-231-0/+3
|
* gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei2018-07-231-0/+4
|