diff options
author | Tim Murray <timmurray@google.com> | 2014-01-10 11:25:52 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2014-01-10 11:25:52 -0800 |
commit | 5eaf468434e96bc7c8d4cfeb138699a1c7b256ca (patch) | |
tree | 6a47a7fbe3b6ff38afa8f4b58e2e44223b815de9 /rs | |
parent | 06b4567559bbf39eccfa9c28152c8e5e067cf576 (diff) | |
download | frameworks_base-5eaf468434e96bc7c8d4cfeb138699a1c7b256ca.zip frameworks_base-5eaf468434e96bc7c8d4cfeb138699a1c7b256ca.tar.gz frameworks_base-5eaf468434e96bc7c8d4cfeb138699a1c7b256ca.tar.bz2 |
Fix debug context.
bug 12477551
Change-Id: Icac28abc3dabce31834faa1942b596c2f207f29e
Diffstat (limited to 'rs')
-rw-r--r-- | rs/jni/android_renderscript_RenderScript.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp index 84d9a22..5cf3a83 100644 --- a/rs/jni/android_renderscript_RenderScript.cpp +++ b/rs/jni/android_renderscript_RenderScript.cpp @@ -224,28 +224,28 @@ nDeviceCreate(JNIEnv *_env, jobject _this) } static void -nDeviceDestroy(JNIEnv *_env, jobject _this, jint dev) +nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) { LOG_API("nDeviceDestroy"); return rsDeviceDestroy((RsDevice)dev); } static void -nDeviceSetConfig(JNIEnv *_env, jobject _this, jint dev, jint p, jint value) +nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) { LOG_API("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value); return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value); } static jlong -nContextCreate(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer, jint ct) +nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, jint ct) { LOG_API("nContextCreate"); return (jint)rsContextCreate((RsDevice)dev, ver, sdkVer, (RsContextType)ct, 0); } static jlong -nContextCreateGL(JNIEnv *_env, jobject _this, jint dev, jint ver, jint sdkVer, +nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, int colorMin, int colorPref, int alphaMin, int alphaPref, int depthMin, int depthPref, |