summaryrefslogtreecommitdiffstats
path: root/opengl/tools
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-14 17:11:02 -0800
committerMathias Agopian <mathias@google.com>2013-02-14 19:19:05 -0800
commite3c697fb929c856b59fa56a8e05a2a7eba187c3d (patch)
treefccd3662a79ea1af6124365763f2ebc8db7f6c45 /opengl/tools
parent82052cff2c4da7a2af650cdd6bb7d21293742178 (diff)
downloadframeworks_native-e3c697fb929c856b59fa56a8e05a2a7eba187c3d.zip
frameworks_native-e3c697fb929c856b59fa56a8e05a2a7eba187c3d.tar.gz
frameworks_native-e3c697fb929c856b59fa56a8e05a2a7eba187c3d.tar.bz2
Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
Diffstat (limited to 'opengl/tools')
-rw-r--r--opengl/tools/glgen/stubs/egl/EGL14cHeader.cpp2
-rw-r--r--opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/opengl/tools/glgen/stubs/egl/EGL14cHeader.cpp b/opengl/tools/glgen/stubs/egl/EGL14cHeader.cpp
index 290d102..54de1e7 100644
--- a/opengl/tools/glgen/stubs/egl/EGL14cHeader.cpp
+++ b/opengl/tools/glgen/stubs/egl/EGL14cHeader.cpp
@@ -28,7 +28,7 @@
#include <gui/Surface.h>
#include <gui/GLConsumer.h>
-#include <gui/SurfaceTextureClient.h>
+#include <gui/Surface.h>
#include <ui/ANativeObjectBase.h>
diff --git a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
index a3d000a..14213b6 100644
--- a/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
+++ b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.cpp
@@ -112,7 +112,7 @@ not_valid_surface:
goto exit;
}
glConsumer = android::SurfaceTexture_getSurfaceTexture(_env, win);
- window = new android::SurfaceTextureClient(glConsumer);
+ window = new android::Surface(glConsumer);
if (window == NULL)
goto not_valid_surface;