aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gpu.gni
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-05-08 15:16:45 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-08 19:56:27 +0000
commit83b1b3db36e8622f4bbc8c391d5c714e258d1e03 (patch)
tree95c4bf6e53bc73f90373fa06dbf6afa8298420e5 /gn/gpu.gni
parentaef837a542cd91fba46bc0b3d4571a598710b90e (diff)
Added SkImage::MakeCrossContextFromEncoded
Designed for Flutter's threading architecture, with an eye to being useful to other clients. Under the hood, uses a new image generator class to lazily wrap a texture for multiple GrContexts. Bug: skia: Change-Id: I6c37b12c8ab5bce94b91190e5f0beb91d31ae81b Reviewed-on: https://skia-review.googlesource.com/14180 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gn/gpu.gni')
-rw-r--r--gn/gpu.gni2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni
index 7751d1ee94..fde979d007 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -50,6 +50,8 @@ skia_gpu_sources = [
"$_src/gpu/GrAutoLocaleSetter.h",
"$_src/gpu/GrAllocator.h",
"$_src/gpu/GrBackendSurface.cpp",
+ "$_src/gpu/GrBackendTextureImageGenerator.cpp",
+ "$_src/gpu/GrBackendTextureImageGenerator.h",
"$_src/gpu/GrBitmapTextureMaker.cpp",
"$_src/gpu/GrBitmapTextureMaker.h",
"$_src/gpu/GrBlend.cpp",