diff options
| author | Jason Sams <rjsams@android.com> | 2009-10-27 14:44:31 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-10-27 14:44:31 -0700 |
| commit | 7136220b54e68e0c7faac30577ed20b7482481fd (patch) | |
| tree | fb54db17d9c13daa8c2910309465be13470eb8cf /libs/rs/rsContext.h | |
| parent | 3333fa4f3d2e1bd3842fe7d41d19557ff9a98372 (diff) | |
| download | frameworks_base-7136220b54e68e0c7faac30577ed20b7482481fd.zip frameworks_base-7136220b54e68e0c7faac30577ed20b7482481fd.tar.gz frameworks_base-7136220b54e68e0c7faac30577ed20b7482481fd.tar.bz2 | |
Fix egl cleanup code on context teardown.
Diffstat (limited to 'libs/rs/rsContext.h')
| -rw-r--r-- | libs/rs/rsContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 0dd90ed..c80fd5a 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -54,6 +54,7 @@ public: static pthread_key_t gThreadTLSKey; static uint32_t gThreadTLSKeyCount; + static uint32_t gGLContextCount; static pthread_mutex_t gInitMutex; struct ScriptTLSStruct { @@ -215,6 +216,7 @@ private: Context(); void initEGL(); + void deinitEGL(); bool runRootScript(); |
