diff options
author | Miao Wang <miaowang@google.com> | 2015-03-06 00:34:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-06 00:37:02 +0000 |
commit | 8b86ee9fb5909a95a46907aede4d1b22b4ef3bba (patch) | |
tree | 88241fa8338c6b3873c2569d4f079ba2a8b477c0 | |
parent | 288e6f67181ce74ec4b97b61def1b9510b1221d0 (diff) | |
parent | 2cd0c340fc242e615a502f37512f08da78a12bf6 (diff) | |
download | frameworks_base-8b86ee9fb5909a95a46907aede4d1b22b4ef3bba.zip frameworks_base-8b86ee9fb5909a95a46907aede4d1b22b4ef3bba.tar.gz frameworks_base-8b86ee9fb5909a95a46907aede4d1b22b4ef3bba.tar.bz2 |
Merge "[RenderScript] Add missing variable"
-rw-r--r-- | rs/jni/android_renderscript_RenderScript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp index 0bad827..fa7b2bc 100644 --- a/rs/jni/android_renderscript_RenderScript.cpp +++ b/rs/jni/android_renderscript_RenderScript.cpp @@ -1311,6 +1311,8 @@ nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, ALOGD("nAllocationElementRead, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), comp(%i), " "sizeBytes(%i)", (RsContext)con, alloc, xoff, yoff, zoff, compIdx, sizeBytes); } + int mSize = sizeBytes; + int count = 0; PER_ARRAY_TYPE(0, rsAllocationElementRead, false, (RsContext)con, alloc, xoff, yoff, zoff, lod, ptr, sizeBytes, compIdx); } |