From ed059a8d754770c3cf28b78dba30f7a6ba475dbe Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Tue, 7 Aug 2012 18:03:04 -0700 Subject: 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 --- include/gui/ConsumerBase.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/gui/ConsumerBase.h') diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h index d2bf0f649d..1f643a32eb 100644 --- a/include/gui/ConsumerBase.h +++ b/include/gui/ConsumerBase.h @@ -189,14 +189,6 @@ protected: // if none is supplied sp 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. -- cgit v1.2.3-59-g8ed1b