summaryrefslogtreecommitdiffstats
path: root/include/gui/ISurface.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-12-18 09:49:45 -0800
committerAndy McFadden <fadden@android.com>2012-12-18 13:10:48 -0800
commit2adaf04fab35cf47c824d74d901b54094e01ccd3 (patch)
tree1201bd220bfea6d308a119e6a986d783e548a10a /include/gui/ISurface.h
parentf7baee731e81bfa7f7ccf2e0e03560f5073bc431 (diff)
downloadframeworks_native-2adaf04fab35cf47c824d74d901b54094e01ccd3.zip
frameworks_native-2adaf04fab35cf47c824d74d901b54094e01ccd3.tar.gz
frameworks_native-2adaf04fab35cf47c824d74d901b54094e01ccd3.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: Ia03e468888025b5cae3c0ee1995434515dbea387
Diffstat (limited to 'include/gui/ISurface.h')
-rw-r--r--include/gui/ISurface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ISurface.h b/include/gui/ISurface.h
index c0ff9fc..ce6e715 100644
--- a/include/gui/ISurface.h
+++ b/include/gui/ISurface.h
@@ -31,7 +31,7 @@ namespace android {
typedef int32_t SurfaceID;
-class ISurfaceTexture;
+class IGraphicBufferProducer;
class ISurface : public IInterface
{
@@ -43,7 +43,7 @@ protected:
public:
DECLARE_META_INTERFACE(Surface);
- virtual sp<ISurfaceTexture> getSurfaceTexture() const = 0;
+ virtual sp<IGraphicBufferProducer> getSurfaceTexture() const = 0;
};
// ----------------------------------------------------------------------------