diff options
author | Stan Iliev <stani@google.com> | 2018-08-31 18:35:06 +0000 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2018-08-31 22:13:15 +0000 |
commit | 85f9096b5272c9a39e592e2e97cbbe6cb0e767ab (patch) | |
tree | 6d63c7fd5f5d8bea10a540d556f44769520b3057 /native/android/surface_texture.cpp | |
parent | f5121c964b5cc7ca4c71313b7a25abdd81377e36 (diff) |
Revert "Revert "TextureView Vulkan support and optimized OpenGL draw""
This reverts commit 867c43de0544217d26c3ee18f4d6603bb2ea97ce.
Reason for revert: Fixed issue with unsupported hardware buffer formats by landing https://skia-review.googlesource.com/c/skia/+/150470 "Support more hardware buffer formats"
Bug: 113673613
Change-Id: I1f7c528f138e290160e75833c8d989d9535002ee
Diffstat (limited to 'native/android/surface_texture.cpp')
-rw-r--r-- | native/android/surface_texture.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/native/android/surface_texture.cpp b/native/android/surface_texture.cpp index b26688190ccd..ced2792775d4 100644 --- a/native/android/surface_texture.cpp +++ b/native/android/surface_texture.cpp @@ -21,15 +21,16 @@ #include <utils/Log.h> -#include <gui/GLConsumer.h> #include <gui/Surface.h> #include <android_runtime/android_graphics_SurfaceTexture.h> +#include "surfacetexture/SurfaceTexture.h" + using namespace android; struct ASurfaceTexture { - sp<GLConsumer> consumer; + sp<SurfaceTexture> consumer; sp<IGraphicBufferProducer> producer; }; |