diff options
Diffstat (limited to 'libs/hwui/DisplayList.h')
| -rw-r--r-- | libs/hwui/DisplayList.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/hwui/DisplayList.h b/libs/hwui/DisplayList.h index 97c34dc..1417df7 100644 --- a/libs/hwui/DisplayList.h +++ b/libs/hwui/DisplayList.h @@ -501,6 +501,7 @@ private: uint32_t mFunctorCount; String8 mName; + bool mDestroyed; // used for debugging crash, TODO: remove once invalid state crash fixed // View properties bool mClipToBounds; @@ -530,11 +531,11 @@ private: * an alpha causes a SaveLayerAlpha to occur). These operations point into mDisplayListData's * allocation, or null if uninitialized. * - * These are initialized (via friend constructors) when a displayList is issued in either replay - * or deferred mode. If replaying, the ops are not used until the next frame. If deferring, the - * ops may be stored in the DeferredDisplayList to be played back a second time. + * These are initialized (via friend re-constructors) when a displayList is issued in either + * replay or deferred mode. If replaying, the ops are not used until the next frame. If + * deferring, the ops may be stored in the DeferredDisplayList to be played back a second time. * - * They should be used at most once per frame (one call to iterate) + * They should be used at most once per frame (one call to 'iterate') to avoid overwriting data */ ClipRectOp* mClipRectOp; SaveLayerOp* mSaveLayerOp; |
