summaryrefslogtreecommitdiff
path: root/include/gui/CpuConsumer.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/CpuConsumer.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/CpuConsumer.h')
-rw-r--r--include/gui/CpuConsumer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/CpuConsumer.h b/include/gui/CpuConsumer.h
index 807a4b5382..a08c718832 100644
--- a/include/gui/CpuConsumer.h
+++ b/include/gui/CpuConsumer.h
@@ -82,7 +82,7 @@ class CpuConsumer: public ConsumerBase
// lockNextBuffer.
status_t unlockBuffer(const LockedBuffer &nativeBuffer);
- sp<ISurfaceTexture> getProducerInterface() const { return getBufferQueue(); }
+ sp<IGraphicBufferProducer> getProducerInterface() const { return getBufferQueue(); }
private:
// Maximum number of buffers that can be locked at a time