am 23ae1461: Merge "Add flags word to initialization." into klp-dev

* commit '23ae1461d2cf0ac3f1da71200544381a8d8a4957':
  Add flags word to initialization.
This commit is contained in:
Tim Murray
2013-09-09 16:53:16 -07:00
committed by Android Git Automerger
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ static jint
nContextCreate(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer, jint ct)
{
LOG_API("nContextCreate");
return (jint)rsContextCreate((RsDevice)dev, ver, sdkVer, (RsContextType)ct, false, false);
return (jint)rsContextCreate((RsDevice)dev, ver, sdkVer, (RsContextType)ct, 0);
}
static jint

View File

@@ -732,7 +732,7 @@ void FontRenderer::blurImage(uint8_t** image, int32_t width, int32_t height, int
if (mRs == 0) {
mRs = new RSC::RS();
if (!mRs->init(true, true)) {
if (!mRs->init(RSC::RS_INIT_LOW_LATENCY & RSC::RS_INIT_SYNCHRONOUS)) {
ALOGE("blur RS failed to init");
}