diff options
author | John Reck <jreck@google.com> | 2015-01-29 12:53:38 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-01-29 12:53:38 -0800 |
commit | 49bc4acfadf9c5b1e520217278ccb38010d38c89 (patch) | |
tree | 2731146935070300785f256599ed69a83a9afdab /libs/hwui/Layer.h | |
parent | 293b7b4fe510bf7df879e89bf748c0b8695f4310 (diff) | |
parent | fe5ac4fc31ee671721f98cf28cf1bd32ac119998 (diff) | |
download | frameworks_base-49bc4acfadf9c5b1e520217278ccb38010d38c89.zip frameworks_base-49bc4acfadf9c5b1e520217278ccb38010d38c89.tar.gz frameworks_base-49bc4acfadf9c5b1e520217278ccb38010d38c89.tar.bz2 |
resolved conflicts for merge of fe5ac4fc to master
Change-Id: I6c0cc82db14b56297586469f940e408c0e218b3b
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 3b4f293..84ff021 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -288,6 +288,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; |