From 2adaf04fab35cf47c824d74d901b54094e01ccd3 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 18 Dec 2012 09:49:45 -0800 Subject: 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 --- include/gui/Surface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/gui/Surface.h') diff --git a/include/gui/Surface.h b/include/gui/Surface.h index f3455b5d64..cba11b8a44 100644 --- a/include/gui/Surface.h +++ b/include/gui/Surface.h @@ -37,7 +37,7 @@ namespace android { // --------------------------------------------------------------------------- -class ISurfaceTexture; +class IGraphicBufferProducer; class Surface; class SurfaceComposerClient; @@ -126,7 +126,7 @@ public: uint32_t reserved[2]; }; - explicit Surface(const sp& st); + explicit Surface(const sp& bp); static status_t writeToParcel(const sp& control, Parcel* parcel); @@ -137,7 +137,7 @@ public: bool isValid(); uint32_t getIdentity() const { return mIdentity; } - sp getSurfaceTexture(); + sp getSurfaceTexture(); // TODO: rename this // the lock/unlock APIs must be used from the same thread status_t lock(SurfaceInfo* info, Region* dirty = NULL); @@ -161,7 +161,7 @@ private: /* * private stuff... */ - void init(const sp& surfaceTexture); + void init(const sp& bufferProducer); static void cleanCachedSurfacesLocked(); -- cgit v1.2.3-59-g8ed1b