summaryrefslogtreecommitdiff
path: root/native/android
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-08-30 16:47:59 +0000
committerStan Iliev <stani@google.com>2018-08-30 18:42:08 +0000
commit867c43de0544217d26c3ee18f4d6603bb2ea97ce (patch)
treed780e25edaa90578c80309a105d6fe2e9eea71c8 /native/android
parentc8e22a653297837da9a80b0ba65f6854c8986c96 (diff)
Revert "TextureView Vulkan support and optimized OpenGL draw"
This reverts commit c8e22a653297837da9a80b0ba65f6854c8986c96. Reason for revert: broke camera, b/113555199 Bug: 113555199 Change-Id: Iae9b462694d5de0cd99427afead63b567fb4d71d
Diffstat (limited to 'native/android')
-rw-r--r--native/android/Android.bp1
-rw-r--r--native/android/surface_texture.cpp5
2 files changed, 2 insertions, 4 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index 43847cc4ab06..4fb5e748aaac 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -64,7 +64,6 @@ cc_library_shared {
"libsensor",
"libandroid_runtime",
"libnetd_client",
- "libhwui",
],
static_libs: [
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;
};