aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrSwizzle.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-09-28 12:07:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-28 19:16:29 +0000
commitd1935c16e889b6707a522f711e79c75353caa343 (patch)
treef8fe713b45c6cbe072667e06ddc24a7052a385cc /include/private/GrSwizzle.h
parent29011a2bda560a645e6ddbe162df0856fe259e7b (diff)
Update GrBitmapTextureMaker for handling mipped requests
Specifically this updates the case when we are requesting to use mip maps but there is already an unmipped version in the cache. Previously we just grabbed the unmipped. Now we will create a new mipped resource. Upload the cpu data to all the levels besides the base, copy the base level on GPU from the original resource to the mipped one. Then the mipped resource will take over the originals unique key. Bug: skia: Change-Id: I38e9725c93280dc2460a0be8a7a229e7f20e1614 Reviewed-on: https://skia-review.googlesource.com/43840 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/private/GrSwizzle.h')
0 files changed, 0 insertions, 0 deletions