summaryrefslogtreecommitdiff
path: root/include/gui/ISurfaceComposer.h
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2012-12-18 09:49:45 -0800
committer Andy McFadden <fadden@android.com> 2012-12-18 13:10:48 -0800
commit2adaf04fab35cf47c824d74d901b54094e01ccd3 (patch)
tree1201bd220bfea6d308a119e6a986d783e548a10a /include/gui/ISurfaceComposer.h
parentf7baee731e81bfa7f7ccf2e0e03560f5073bc431 (diff)
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: Ia03e468888025b5cae3c0ee1995434515dbea387
Diffstat (limited to 'include/gui/ISurfaceComposer.h')
-rw-r--r--include/gui/ISurfaceComposer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index 6500ad5841..50b2ad1506 100644
--- a/include/gui/ISurfaceComposer.h
+++ b/include/gui/ISurfaceComposer.h
@@ -86,10 +86,10 @@ public:
*/
virtual void bootFinished() = 0;
- /* verify that an ISurfaceTexture was created by SurfaceFlinger.
+ /* verify that an IGraphicBufferProducer was created by SurfaceFlinger.
*/
virtual bool authenticateSurfaceTexture(
- const sp<ISurfaceTexture>& surface) const = 0;
+ const sp<IGraphicBufferProducer>& surface) const = 0;
/* Capture the specified screen. requires READ_FRAME_BUFFER permission
* This function will fail if there is a secure window on screen.