summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-01-07 15:11:30 -0800
committerStephen Hines <srhines@google.com>2011-01-09 17:04:18 -0800
commit1ac9da6717f27ecfd3c650bd1bfd84d336674dfc (patch)
tree7abaf2d1d3a7feecd14c39cf8531880157faf312 /libs/rs/rsContext.cpp
parente06c3a599f5d274ef7b1afa694ac2b1961f75aeb (diff)
downloadframeworks_base-1ac9da6717f27ecfd3c650bd1bfd84d336674dfc.zip
frameworks_base-1ac9da6717f27ecfd3c650bd1bfd84d336674dfc.tar.gz
frameworks_base-1ac9da6717f27ecfd3c650bd1bfd84d336674dfc.tar.bz2
Split time functions into rs_time.rsh header.
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 6a065b2..c5ee7ee 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -44,6 +44,7 @@ pthread_key_t Context::gThreadTLSKey = 0;
uint32_t Context::gThreadTLSKeyCount = 0;
uint32_t Context::gGLContextCount = 0;
pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER;
+pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER;
static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) {
if (returnVal != EGL_TRUE) {