summaryrefslogtreecommitdiffstats
path: root/libs/rs/driver/rsdCore.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-09 23:24:46 +0000
committerSteve Block <steveblock@google.com>2012-01-09 23:24:46 +0000
commit2e681c1b097883f5c327d3c1c77692ecab498a35 (patch)
tree7dbf619f6a4e81fd615afc51f5a3b8a4441b167a /libs/rs/driver/rsdCore.cpp
parent293fa718102353d7b103f10a7c0f580ba87b3a0f (diff)
parent08289f55eae5c4127091360e862f78d57ae24c15 (diff)
downloadframeworks_base-2e681c1b097883f5c327d3c1c77692ecab498a35.zip
frameworks_base-2e681c1b097883f5c327d3c1c77692ecab498a35.tar.gz
frameworks_base-2e681c1b097883f5c327d3c1c77692ecab498a35.tar.bz2
resolved conflicts for merge of 08289f55 to graphics-dev
Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
Diffstat (limited to 'libs/rs/driver/rsdCore.cpp')
-rw-r--r--libs/rs/driver/rsdCore.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/rs/driver/rsdCore.cpp b/libs/rs/driver/rsdCore.cpp
index a65e23b..b934895 100644
--- a/libs/rs/driver/rsdCore.cpp
+++ b/libs/rs/driver/rsdCore.cpp
@@ -154,7 +154,7 @@ static void * HelperThreadProc(void *vrsc) {
int status = pthread_setspecific(rsdgThreadTLSKey, &dc->mTlsStruct);
if (status) {
- LOGE("pthread_setspecific %i", status);
+ ALOGE("pthread_setspecific %i", status);
}
#if 0
@@ -164,7 +164,7 @@ static void * HelperThreadProc(void *vrsc) {
cpuset.bits[idx / 64] |= 1ULL << (idx % 64);
int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx],
sizeof(cpuset), &cpuset);
- LOGE("SETAFFINITY ret = %i %s", ret, EGLUtils::strerror(ret));
+ ALOGE("SETAFFINITY ret = %i %s", ret, EGLUtils::strerror(ret));
#endif
while (!dc->mExit) {
@@ -199,7 +199,7 @@ bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) {
RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal));
if (!dc) {
- LOGE("Calloc for driver hal failed.");
+ ALOGE("Calloc for driver hal failed.");
return false;
}
rsc->mHal.drv = dc;
@@ -208,7 +208,7 @@ bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) {
if (!rsdgThreadTLSKeyCount) {
int status = pthread_key_create(&rsdgThreadTLSKey, NULL);
if (status) {
- LOGE("Failed to init thread tls key.");
+ ALOGE("Failed to init thread tls key.");
pthread_mutex_unlock(&rsdgInitMutex);
return false;
}
@@ -222,7 +222,7 @@ bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) {
dc->mTlsStruct.mScript = NULL;
int status = pthread_setspecific(rsdgThreadTLSKey, &dc->mTlsStruct);
if (status) {
- LOGE("pthread_setspecific %i", status);
+ ALOGE("pthread_setspecific %i", status);
}
@@ -244,7 +244,7 @@ bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) {
pthread_attr_t threadAttr;
status = pthread_attr_init(&threadAttr);
if (status) {
- LOGE("Failed to init thread attribute.");
+ ALOGE("Failed to init thread attribute.");
return false;
}
@@ -252,7 +252,7 @@ bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) {
status = pthread_create(&dc->mWorkers.mThreadId[ct], &threadAttr, HelperThreadProc, rsc);
if (status) {
dc->mWorkers.mCount = ct;
- LOGE("Created fewer than expected number of RS threads.");
+ ALOGE("Created fewer than expected number of RS threads.");
break;
}
}