diff options
author | Robert Phillips <robertphillips@google.com> | 2017-11-02 12:57:18 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-02 18:35:31 +0000 |
commit | 931f75170d2fa64aa6c4ba003a3ae475e9bcfc02 (patch) | |
tree | 6abbc20427bb3b6db1fc5f4e31585efe9580dc36 /src/gpu/GrSurfaceContext.cpp | |
parent | 430ad1f2065c182746e43e67ca95fb911cc55892 (diff) |
Do not always allocate temp space in GrGLGpu::uploadTexData
The always allocate behavior (which is being changed here) was introduced in:
https://codereview.chromium.org/1249543003/ (Creating functions for uploading a mipmapped texture)
I have also created skbug.com/7258 (Improve GrGLGpu::uploadTexData memory behavior) to drive future improvments.
Bug: 780766
Change-Id: I5aad7172003c947502b9ffd27d7e29e6389d7830
Reviewed-on: https://skia-review.googlesource.com/66800
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceContext.cpp')
0 files changed, 0 insertions, 0 deletions