From 7e910df7f133e80293117bdd069ed25998d10f8c Mon Sep 17 00:00:00 2001 From: Stan Iliev Date: Fri, 2 Jun 2017 10:29:21 -0400 Subject: 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 Commit-Queue: Stan Iliev --- gn/gn_to_bp.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn/gn_to_bp.py') diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py index 92f9aadf5e..9e58b8006b 100644 --- a/gn/gn_to_bp.py +++ b/gn/gn_to_bp.py @@ -34,6 +34,7 @@ tool_shared_libs = [ 'libdng_sdk', 'libpiex', 'libcutils', + 'libnativewindow', ] # The ordering here is important: libsfntly needs to come after libskia. @@ -132,6 +133,7 @@ cc_library { "libvulkan", "libz", "libcutils", + "libnativewindow", ], static_libs: [ "libarect", -- cgit v1.2.3