diff options
| author | ash!! <346549+lynlevenick@users.noreply.github.com> | 2021-04-14 10:29:06 -0700 |
|---|---|---|
| committer | ash!! <346549+lynlevenick@users.noreply.github.com> | 2021-04-18 13:40:42 -0700 |
| commit | 43ceba4fef168a948cb70fd669229a0f10edeced (patch) | |
| tree | 15938c7dfdfcbfd2dcec299dda7c3606d861894f /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 14959a1087b05500c5704b59e7d694d941d4a5cf (diff) | |
optimize TextureCacheBase::SerializeTexture, ::DeserializeTexture
texture serialization and deserialization used to involve many memory
allocations and deallocations, along with many copies to and from
those allocations. avoid those by reserving a memory region inside the
output and writing there directly, skipping the allocation and copy to
an intermediate buffer entirely.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
0 files changed, 0 insertions, 0 deletions
