Intrinsics test
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
diff --git a/graphics/java/android/renderscript/RenderScript.java b/graphics/java/android/renderscript/RenderScript.java
index 2032f67..af8b0c2 100644
--- a/graphics/java/android/renderscript/RenderScript.java
+++ b/graphics/java/android/renderscript/RenderScript.java
@@ -561,6 +561,12 @@
return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
}
+ native int rsnScriptIntrinsicCreate(int con, int id, int eid);
+ synchronized int nScriptIntrinsicCreate(int id, int eid) {
+ validate();
+ return rsnScriptIntrinsicCreate(mContext, id, eid);
+ }
+
native int rsnSamplerCreate(int con, int magFilter, int minFilter,
int wrapS, int wrapT, int wrapR, float aniso);
synchronized int nSamplerCreate(int magFilter, int minFilter,