blob: dbe9db2c49aabefd03f17f38cd6c7572c21a3c17 [file] [log] [blame]
Tim Murray29226ae2013-03-18 14:20:14 -07001ProgramStoreCreate {
2 direct
3 param bool colorMaskR
4 param bool colorMaskG
5 param bool colorMaskB
6 param bool colorMaskA
7 param bool depthMask
8 param bool ditherEnable
9 param RsBlendSrcFunc srcFunc
10 param RsBlendDstFunc destFunc
11 param RsDepthFunc depthFunc
12 ret RsProgramStore
13 }
14
15ProgramRasterCreate {
16 direct
17 param bool pointSprite
18 param RsCullMode cull
19 ret RsProgramRaster
20}
21
22ProgramBindConstants {
23 param RsProgram vp
24 param uint32_t slot
25 param RsAllocation constants
26 }
27
28
29ProgramBindTexture {
30 param RsProgramFragment pf
31 param uint32_t slot
32 param RsAllocation a
33 }
34
35ProgramBindSampler {
36 param RsProgramFragment pf
37 param uint32_t slot
38 param RsSampler s
39 }
40
41ProgramFragmentCreate {
42 direct
43 param const char * shaderText
44 param const char ** textureNames
Ian Rogersf8852d02014-01-29 15:35:17 -080045 param const uintptr_t * params
Tim Murray29226ae2013-03-18 14:20:14 -070046 ret RsProgramFragment
47 }
48
49ProgramVertexCreate {
50 direct
51 param const char * shaderText
52 param const char ** textureNames
Ian Rogersf8852d02014-01-29 15:35:17 -080053 param const uintptr_t * params
Tim Murray29226ae2013-03-18 14:20:14 -070054 ret RsProgramVertex
55 }
56
57FontCreateFromFile {
58 param const char *name
59 param float fontSize
60 param uint32_t dpi
61 ret RsFont
62 }
63
64FontCreateFromMemory {
65 param const char *name
66 param float fontSize
67 param uint32_t dpi
68 param const void *data
69 ret RsFont
70 }
71
72MeshCreate {
73 param RsAllocation *vtx
74 param RsAllocation *idx
75 param uint32_t *primType
76 ret RsMesh
77 }
78
Tim Murray099bc262013-03-20 16:54:03 -070079ContextBindProgramStore {
80 param RsProgramStore pgm
81 }
82
83ContextBindProgramFragment {
84 param RsProgramFragment pgm
85 }
86
87ContextBindProgramVertex {
88 param RsProgramVertex pgm
89 }
90
91ContextBindProgramRaster {
92 param RsProgramRaster pgm
93 }
94
95ContextBindFont {
96 param RsFont pgm
97 }
98
99ContextSetSurface {
100 param uint32_t width
101 param uint32_t height
102 param RsNativeWindow sur
103 sync
104 }
105
106ContextBindRootScript {
107 param RsScript sampler
108 }
109
110ContextPause {
111 }
112
113ContextResume {
114 }