Define constants for kernel or script group limits

b/20728113

Limits on number of arguments in a kernel, args and global bindings
in a closure, and closures in a script group.

Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40
diff --git a/rsEnv.h b/rsEnv.h
index b82eaf1..924e171 100644
--- a/rsEnv.h
+++ b/rsEnv.h
@@ -27,3 +27,7 @@
 #define RS_PROGRAM_VERTEX_PROJECTION_OFFSET 16
 #define RS_PROGRAM_VERTEX_TEXTURE_OFFSET 32
 #define RS_PROGRAM_VERTEX_MVP_OFFSET 48
+
+#define RS_KERNEL_MAX_ARGUMENTS 256
+#define RS_CLOSURE_MAX_NUMBER_ARGS_AND_BINDINGS 1024
+#define RS_SCRIPT_GROUP_MAX_NUMBER_CLOSURES (2<<20)