summaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-15 19:29:00 -0400
committerLioncash <mathew1800@gmail.com>2019-10-15 19:31:33 -0400
commita24e8bf9cf0ca37d29ef44c441dc132885c82a6f (patch)
tree6bb844ba484679499c33587bc3c253901c79e9fe /src/common/algorithm.h
parentba0086e32dcbf11232fa2ae0864c28a991a56432 (diff)
texture_cache: Avoid unnecessary surface copies within PickStrategy() and TryReconstructSurface()
We can take these by const reference and avoid making unnecessary copies, preventing some atomic reference count increments and decrements.
Diffstat (limited to 'src/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions