diff options
| author | 2013-09-09 23:34:38 +0000 | |
|---|---|---|
| committer | 2013-09-09 23:34:38 +0000 | |
| commit | 23ae1461d2cf0ac3f1da71200544381a8d8a4957 (patch) | |
| tree | c1a6feb975861d99319e0a1f766876e170191e1e | |
| parent | 85e7177abe3024218de589a94bc0914bcfe51547 (diff) | |
| parent | 9578e642403c0fa4fdcb32828f27c2417cabe88d (diff) | |
Merge "Add flags word to initialization." into klp-dev
| -rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 2 | ||||
| -rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index 690493d2aa5c..cbc4e5a96a28 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -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 diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 22b1485eaa45..e8456afa310a 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -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"); } |