summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/stagefright.cpp
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-12-18 09:46:54 -0800
committerAndy McFadden <fadden@android.com>2012-12-18 13:31:57 -0800
commit8ba01021b573889802e67e029225a96f0dfa471a (patch)
tree110eca2effc73dcb2f46da71e9a0584e4af6e71e /cmds/stagefright/stagefright.cpp
parent53bc0a2fc54330534330118edd5c393f39eff8ab (diff)
downloadframeworks_av-8ba01021b573889802e67e029225a96f0dfa471a.zip
frameworks_av-8ba01021b573889802e67e029225a96f0dfa471a.tar.gz
frameworks_av-8ba01021b573889802e67e029225a96f0dfa471a.tar.bz2
Rename ISurfaceTexture and SurfaceTexture
The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
Diffstat (limited to 'cmds/stagefright/stagefright.cpp')
-rw-r--r--cmds/stagefright/stagefright.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 148b66e..1002ac4 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -940,7 +940,7 @@ int main(int argc, char **argv) {
} else {
CHECK(useSurfaceTexAlloc);
- sp<SurfaceTexture> texture = new SurfaceTexture(0 /* tex */);
+ sp<GLConsumer> texture = new GLConsumer(0 /* tex */);
gSurface = new SurfaceTextureClient(texture->getBufferQueue());
}