summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/decoders.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-10video_core/textures: Add and use SwizzleSliceToVoxel, and minor style changesReinUsesLisp1-10/+28
Change GOB sizes from free-functions to constexpr constants. Add SwizzleSliceToVoxel, a function that swizzles a 2D array of pixels into a 3D texture and use it for 3D copies.
2020-04-28Clang Format and Documentation.Fernando Sahmkow1-0/+1
2020-04-28MaxwellDMA: Optimize micro copies.Fernando Sahmkow1-0/+3
2020-04-17General: Resolve warnings related to missing declarationsLioncash1-3/+2
2019-12-22Texture Cache: Add HLE methods for building 3D textures within the GPU in certain scenarios.Fernando Sahmkow1-0/+4
This commit adds a series of HLE methods for handling 3D textures in general. This helps games that generate 3D textures on every frame and may reduce loading times for certain games.
2019-07-26MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow1-1/+2
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-21video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp1-2/+2
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-04-16Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.Fernando Sahmkow1-2/+3
2019-04-16Implement Block Linear copies in Kepler Memory.Fernando Sahmkow1-0/+3
2019-03-16video_core: Refactor to use MemoryManager interface for all memory access.bunnei1-7/+6
# 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-27decoders: Minor style changesReinUsesLisp1-12/+6
2018-11-26Implemented Tile Width SpacingFernandoS271-3/+4
2018-11-19Eliminated unnessessary memory allocation and copy (#1702)Frederic L1-0/+7
2018-11-01Fix ASTC formatsFernandoS271-2/+2
2018-10-29Fixed mipmap block autosizing algorithmFernandoS271-0/+6
2018-10-19decoders: Introduce functions for un/swizzling subrects.bunnei1-0/+9
2018-10-13Propagate depth and depth_block on modules using decodersFernandoS271-9/+6
2018-10-12Implemented helper function to correctly calculate a texture's sizeFernandoS271-0/+6
2018-08-10textures: Refactor out for Texture/Depth FormatFromPixelFormat.bunnei1-2/+2
2018-07-21video_core: Use nested namespaces where applicableLioncash1-4/+2
Compresses a few namespace specifiers to be more compact.
2018-07-02GPU: Implemented the Z24S8 depth format and load the depth framebuffer.Subv1-0/+6
2018-04-25GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.Subv1-0/+4
2018-04-18GPU: Allow using a configurable block height when unswizzling textures.Subv1-1/+2
2018-03-24GPU: Added a method to unswizzle a texture without decoding it.Subv1-2/+8
Allow unswizzling of DXT1 textures.
2018-03-24GPU: Preliminary work for texture decoding.Subv1-0/+20