summaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-26 19:53:02 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-26 19:53:02 -0300
commit8da16cf9fb6c2133faed1164a8573992e84a4297 (patch)
treea0d14c5ec0955d35cbc22b1670eadcdbdbe5ba31 /src/common/algorithm.h
parent378aed07e988f5a3c0f66b38edc22732d8b91eb6 (diff)
texture_cache: Reintroduce preserve_contents accurately
This reverts commit 94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69. 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/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions