summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-05-14 23:54:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-14 23:54:51 +0000
commitc2c42c96f66c78b4b3c2f2de8e22e377bc06d8c4 (patch)
treec3a26f1e0e36c2180774cb6329b650283a973b84 /include
parent3324198a7f3c3f78bb18d2fc39eff09f0fc429f5 (diff)
parent3db36803b247bfbb582632be58416a0a11d1227b (diff)
downloadframeworks_native-c2c42c96f66c78b4b3c2f2de8e22e377bc06d8c4.zip
frameworks_native-c2c42c96f66c78b4b3c2f2de8e22e377bc06d8c4.tar.gz
frameworks_native-c2c42c96f66c78b4b3c2f2de8e22e377bc06d8c4.tar.bz2
am 3db36803: Merge "Add ConsumerBase::isAbandoned" into mnc-dev
* commit '3db36803b247bfbb582632be58416a0a11d1227b': Add ConsumerBase::isAbandoned
Diffstat (limited to 'include')
-rw-r--r--include/gui/ConsumerBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h
index f46bf01..46c603d 100644
--- a/include/gui/ConsumerBase.h
+++ b/include/gui/ConsumerBase.h
@@ -56,6 +56,9 @@ public:
// or by OpenGL ES as a texture) then those buffer will remain allocated.
void abandon();
+ // Returns true if the ConsumerBase is in the 'abandoned' state
+ bool isAbandoned();
+
// set the name of the ConsumerBase that will be used to identify it in
// log messages.
void setName(const String8& name);