1#include <stdint.h>
2
3
4typedef void * RsAdapter1D;
5typedef void * RsAdapter2D;
6typedef void * RsAllocation;
7typedef void * RsContext;
8typedef void * RsDevice;
9typedef void * RsElement;
10typedef void * RsSampler;
11typedef void * RsScript;
12typedef void * RsMesh;
13typedef void * RsType;
14typedef void * RsProgramFragment;
15typedef void * RsProgramStore;
16
17typedef struct {
18    float m[16];
19} rsc_Matrix;
20
21
22typedef struct {
23    float v[4];
24} rsc_Vector4;
25
26#define RS_PROGRAM_VERTEX_MODELVIEW_OFFSET 0
27#define RS_PROGRAM_VERTEX_PROJECTION_OFFSET 16
28#define RS_PROGRAM_VERTEX_TEXTURE_OFFSET 32
29#define RS_PROGRAM_VERTEX_MVP_OFFSET 48
30
31#define RS_KERNEL_MAX_ARGUMENTS 256
32#define RS_CLOSURE_MAX_NUMBER_ARGS_AND_BINDINGS 1024
33#define RS_SCRIPT_GROUP_MAX_NUMBER_CLOSURES (2<<20)
34