diff options
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r-- | libs/hwui/Layer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h index 64d1d12..e196cb1 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -286,6 +286,12 @@ public: void postDecStrong(); /** + * Lost the GL context but the layer is still around, mark it invalid internally + * so the dtor knows not to do any GL work + */ + void onGlContextLost(); + + /** * Bounds of the layer. */ Rect layer; |