Add support for mixed 32/64 APKs using RenderScript.
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
This commit is contained in:
@@ -1576,6 +1576,12 @@ nMeshGetIndices(JNIEnv *_env, jobject _this, jlong con, jlong mesh, jlongArray _
|
||||
free(prims);
|
||||
}
|
||||
|
||||
static jint
|
||||
nSystemGetPointerSize(JNIEnv *_env, jobject _this) {
|
||||
return (jint)sizeof(void*);
|
||||
}
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1711,6 +1717,7 @@ static JNINativeMethod methods[] = {
|
||||
{"rsnMeshGetVertices", "(JJ[JI)V", (void*)nMeshGetVertices },
|
||||
{"rsnMeshGetIndices", "(JJ[J[II)V", (void*)nMeshGetIndices },
|
||||
|
||||
{"rsnSystemGetPointerSize", "()I", (void*)nSystemGetPointerSize },
|
||||
};
|
||||
|
||||
static int registerFuncs(JNIEnv *_env)
|
||||
|
||||
Reference in New Issue
Block a user