Fernando Sahmkow
3b9d89839d
texture_cache: Address Feedback
7 years ago
Fernando Sahmkow
30b176f92b
texture_cache: Correct Texture Buffer Uploading
7 years ago
ReinUsesLisp
6e1db6b703
texture_cache: Pack sibling queries inside a method
7 years ago
ReinUsesLisp
8eae66907e
texture_cache: Use std::vector reservation for sampled_textures
7 years ago
ReinUsesLisp
f6f1a8f26a
texture_cache: Style changes
7 years ago
ReinUsesLisp
dd9ace502b
texture_cache: Use std::array for siblings_table
7 years ago
ReinUsesLisp
3f3c3ca5f9
texture_cache: Address feedback
7 years ago
Fernando Sahmkow
223ca80753
texture_cache: Correct variable naming.
7 years ago
Fernando Sahmkow
88bc39374f
texture_cache: Corrections, documentation and asserts
7 years ago
Fernando Sahmkow
c0abc7124d
surface_params: Corrections, asserts and documentation.
7 years ago
Fernando Sahmkow
fb234560b0
copy_params: use constexpr for constructor
7 years ago
Fernando Sahmkow
58c8a44e7a
texture_cache: Query MemoryManager from the system
7 years ago
ReinUsesLisp
7565389700
texture_cache: Include "core/core.h"
7 years ago
ReinUsesLisp
34841a41c3
texture_cache/surface_view: Address feedback
7 years ago
ReinUsesLisp
0837290992
texture_cache/surface_base: Address feedback
7 years ago
Fernando Sahmkow
d1812316e1
texture_cache: Style and Corrections
7 years ago
Fernando Sahmkow
97c8c9f49a
texture_cache: Eliminate linear textures fallthrough
7 years ago
Fernando Sahmkow
6acdae0e4c
texture_cache: Correct format R16U as sibling
7 years ago
Fernando Sahmkow
d7587842eb
texture_cache: Implement texception detection and texture barriers.
7 years ago
Fernando Sahmkow
198a0395bb
texture_cache: Corrections to buffers and shadow formats use.
7 years ago
Fernando Sahmkow
fed773a86c
texture_cache: Implement Irregular Views in surfaces
7 years ago
Fernando Sahmkow
082740d34d
surface: Correct format S8Z24
7 years ago
Fernando Sahmkow
03d489dcf5
texture_cache: Initialize all siblings to invalid pixel format.
7 years ago
Fernando Sahmkow
7232a1ed16
decoders: correct block calculation
7 years ago
Fernando Sahmkow
3dd7643214
texture_cache: Use siblings textures on Rebuild and fix possible error on blitting
7 years ago
Fernando Sahmkow
2d83553ea7
texture_cache: Implement siblings texture formats.
7 years ago
Fernando Sahmkow
a56f687793
texture_cache: correct texture buffer on surface params
7 years ago
Fernando Sahmkow
b01f9c8a70
texture_cache: eliminate accelerated depth->color/color->depth copies due to driver instability.
7 years ago
Fernando Sahmkow
561ce29c98
texture_cache: correct mutex locks
7 years ago
Fernando Sahmkow
6f69f06873
texture_cache: Don't Image Copy if component types differ
7 years ago
Fernando Sahmkow
9f755218a1
texture_cache: move some large methods to cpp files
7 years ago
Fernando Sahmkow
3809041c24
texture_cache: Optimize GetSurface and use references on functions that don't change a surface.
7 years ago
Fernando Sahmkow
60bf761afb
texture_cache: Implement Buffer Copy and detect Turing GPUs Image Copies
7 years ago
Fernando Sahmkow
228f516bb4
texture_cache uncompress-compress is untopological.
This makes conflicts between non compress and compress textures to be
auto recycled. It also limits the amount of mipmaps a texture can have
if it goes above it's limit.
7 years ago
Fernando Sahmkow
9251354152
texture_cache: Correct copying between compressed and uncompressed formats
7 years ago
Fernando Sahmkow
0966665fc2
texture_cache: Only load on recycle with accurate GPU.
Testing so far has proven this to be quite safe as texture memory read
added a 2-5ms load to the current cache.
7 years ago
Fernando Sahmkow
ea1525dab1
Fix rebase errors
7 years ago
Fernando Sahmkow
bdf9faab33
texture_cache: Handle uncontinuous surfaces.
7 years ago
Fernando Sahmkow
e60ed2bb3e
texture_cache: return null surface on invalid address
7 years ago
Fernando Sahmkow
fcac55d5bf
texture_cache: Add checks for texture buffers.
7 years ago
Fernando Sahmkow
175aa343ff
texture_cache: Fermi2D reform and implement View Mirage
This also does some fixes on compressed textures reinterpret and on the
Fermi2D engine in general.
7 years ago
Fernando Sahmkow
d267948a73
texture_cache: loose TryReconstructSurface when accurate GPU is not on.
Also corrects some asserts.
7 years ago
Fernando Sahmkow
6162cb922e
texture_cache: Document the most important methods.
7 years ago
Fernando Sahmkow
4530511ee4
texture_cache: Try to Reconstruct Surface on bigger than overlap.
This fixes clouds in SMO Cap Kingdom and lens on Cloud Kingdom.
Also moved accurate_gpu setting check to Pick Strategy
7 years ago
Fernando Sahmkow
a79831d9d0
texture_cache: Implement Guard mechanism
7 years ago
Fernando Sahmkow
7731a0e2d1
texture_cache: General Fixes
Fixed ASTC mipmaps loading
Fixed alignment on openGL upload/download
Fixed Block Height Calculation
Removed unalign_height
7 years ago
ReinUsesLisp
c2ed348bdd
surface_params: Ensure pitch is always written to avoid surface leaks
7 years ago
ReinUsesLisp
9098905dd1
gl_framebuffer_cache: Use a hashed struct to cache framebuffers
7 years ago
Fernando Sahmkow
d65a4af895
texture_cache return invalid buffer on deactivated color_mask
7 years ago
ReinUsesLisp
2131f71573
surface_params: Optimize CreateForTexture
Instead of using Common::AlignUp, use Common::AlignBits to align the
texture compression factor.
7 years ago