summaryrefslogtreecommitdiffstats
path: root/include/gui/ConsumerBase.h
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-08-07 18:03:04 -0700
committerJamie Gennis <jgennis@google.com>2012-08-16 18:11:02 -0700
commited059a8d754770c3cf28b78dba30f7a6ba475dbe (patch)
treebde20ea117d55ce9fab31604bfb6280272014695 /include/gui/ConsumerBase.h
parent3559b07a885bcdff51a6dffb8e3a5ac5adf3a220 (diff)
downloadframeworks_native-ed059a8d754770c3cf28b78dba30f7a6ba475dbe.zip
frameworks_native-ed059a8d754770c3cf28b78dba30f7a6ba475dbe.tar.gz
frameworks_native-ed059a8d754770c3cf28b78dba30f7a6ba475dbe.tar.bz2
SurfaceTexture: inherit from ConsumerBase
This change makes SurfaceTexture inherit from ConsumerBase. It removes all of the functionality from SurfaceTexture that is now provided by the base class. Change-Id: I4a881df42810a14ee32d4ef7c8772a8f2510f4c7
Diffstat (limited to 'include/gui/ConsumerBase.h')
-rw-r--r--include/gui/ConsumerBase.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h
index d2bf0f6..1f643a3 100644
--- a/include/gui/ConsumerBase.h
+++ b/include/gui/ConsumerBase.h
@@ -189,14 +189,6 @@ protected:
// if none is supplied
sp<BufferQueue> mBufferQueue;
- // mAttached indicates whether the ConsumerBase is currently attached to
- // an OpenGL ES context. For legacy reasons, this is initialized to true,
- // indicating that the ConsumerBase is considered to be attached to
- // whatever context is current at the time of the first updateTexImage call.
- // It is set to false by detachFromContext, and then set to true again by
- // attachToContext.
- bool mAttached;
-
// mMutex is the mutex used to prevent concurrent access to the member
// variables of ConsumerBase objects. It must be locked whenever the
// member variables are accessed.