diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-15 19:29:00 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 19:31:33 -0400 |
commit | a24e8bf9cf0ca37d29ef44c441dc132885c82a6f (patch) | |
tree | 6bb844ba484679499c33587bc3c253901c79e9fe /src/video_core/surface.cpp | |
parent | ba0086e32dcbf11232fa2ae0864c28a991a56432 (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/video_core/surface.cpp')
0 files changed, 0 insertions, 0 deletions