diff options
author | John Reck <jreck@google.com> | 2015-05-14 15:55:11 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-05-14 15:55:11 -0700 |
commit | e478305181bb8dc8706361bc702256fe73f958de (patch) | |
tree | 2c101236b4eae9c4260eb0db43eaf2219feb82ce /include | |
parent | c921ce268155e8e1d75bd423514bb5a3ee363440 (diff) | |
download | frameworks_native-e478305181bb8dc8706361bc702256fe73f958de.zip frameworks_native-e478305181bb8dc8706361bc702256fe73f958de.tar.gz frameworks_native-e478305181bb8dc8706361bc702256fe73f958de.tar.bz2 |
Add ConsumerBase::isAbandoned
Bug: 20105644
Change-Id: I21526b5397ea51a15500c44a99daa9d75fc4ea67
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/ConsumerBase.h | 3 |
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); |