aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gpu.gni
diff options
context:
space:
mode:
authorGravatar Stan Iliev <stani@google.com>2017-06-02 10:29:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-02 14:51:24 +0000
commit7e910df7f133e80293117bdd069ed25998d10f8c (patch)
tree5bfeea96c4904ba67fa551a76def78f17470ad73 /gn/gpu.gni
parentaffa6a3da87e9ea85f1d4fe3137b5bccbbc56f92 (diff)
Implement an SkImage backed by a Android hardware buffer
Create a new SkImage public API to make an image from an Android hardware buffer. Implementation is using a SkImageGenerator derived class GrAndroidBufferImageGenerator. A new EGLImage texture is created, which is then wrapped with GrTextureProxy. Bug: skia: Change-Id: I610a4c5a58198686ce7c03e9a0adad3f9d2342e0 Reviewed-on: https://skia-review.googlesource.com/17789 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Stan Iliev <stani@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 83e904b916..a0d67bc35e 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -50,6 +50,8 @@ skia_gpu_sources = [
"$_src/gpu/GrBackendSurface.cpp",
"$_src/gpu/GrBackendTextureImageGenerator.cpp",
"$_src/gpu/GrBackendTextureImageGenerator.h",
+ "$_src/gpu/GrAHardwareBufferImageGenerator.cpp",
+ "$_src/gpu/GrAHardwareBufferImageGenerator.h",
"$_src/gpu/GrBitmapTextureMaker.cpp",
"$_src/gpu/GrBitmapTextureMaker.h",
"$_src/gpu/GrBlend.cpp",