• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdint.h>
2 
3 
4 typedef void * RsAdapter1D;
5 typedef void * RsAdapter2D;
6 typedef void * RsAllocation;
7 typedef void * RsContext;
8 typedef void * RsDevice;
9 typedef void * RsElement;
10 typedef void * RsSampler;
11 typedef void * RsScript;
12 typedef void * RsMesh;
13 typedef void * RsType;
14 typedef void * RsProgramFragment;
15 typedef void * RsProgramStore;
16 
17 typedef struct {
18     float m[16];
19 } rsc_Matrix;
20 
21 
22 typedef 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