diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-26 19:53:02 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-26 19:53:02 -0300 |
| commit | 8e3af5d3ca510fc63581dde5fce4acc4e8c632b3 (patch) | |
| tree | a0d14c5ec0955d35cbc22b1670eadcdbdbe5ba31 /src/core/file_sys/registered_cache.cpp | |
| parent | f5bd43b7f0aa2985c6d5445fd13318ec0a4e4f8f (diff) | |
texture_cache: Reintroduce preserve_contents accurately
This reverts commit 1f1e80c67db1e8ce307042004fdca32c52581ae7.
preserve_contents proved to be a meaningful optimization. This commit
reintroduces it but properly implemented on OpenGL.
We have to make sure the clear removes all the previous contents of the
image.
It's not currently implemented on Vulkan because we can do smart things
there that's preferred to be introduced in a separate commit.
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
0 files changed, 0 insertions, 0 deletions
