summaryrefslogtreecommitdiff
path: root/native/android/surface_texture.cpp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2018-09-04 15:42:18 +0000
committerStan Iliev <stani@google.com>2018-09-04 15:42:18 +0000
commita683eb3945320f592f58705c3c31b3c044f4bd72 (patch)
tree0d52da520e423da3b41733d63f3be53ce0e31932 /native/android/surface_texture.cpp
parent85f9096b5272c9a39e592e2e97cbbe6cb0e767ab (diff)
Revert "Revert "Revert "TextureView Vulkan support and optimized OpenGL draw"""
This reverts commit 85f9096b5272c9a39e592e2e97cbbe6cb0e767ab. Reason for revert: lensblur broken. Change-Id: I83ac163159fc537bc15936a0f8597a7512ca9d6e
Diffstat (limited to 'native/android/surface_texture.cpp')
-rw-r--r--native/android/surface_texture.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/native/android/surface_texture.cpp b/native/android/surface_texture.cpp
index ced2792775d4..b26688190ccd 100644
--- a/native/android/surface_texture.cpp
+++ b/native/android/surface_texture.cpp
@@ -21,16 +21,15 @@
#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<SurfaceTexture> consumer;
+ sp<GLConsumer> consumer;
sp<IGraphicBufferProducer> producer;
};