-
Notifications
You must be signed in to change notification settings - Fork 6
/
rsg.spec
123 lines (103 loc) · 2.14 KB
/
rsg.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
ProgramStoreCreate {
direct
param bool colorMaskR
param bool colorMaskG
param bool colorMaskB
param bool colorMaskA
param bool depthMask
param bool ditherEnable
param RsBlendSrcFunc srcFunc
param RsBlendDstFunc destFunc
param RsDepthFunc depthFunc
ret RsProgramStore
}
ProgramRasterCreate {
direct
param bool pointSprite
param RsCullMode cull
ret RsProgramRaster
}
ProgramBindConstants {
param RsProgram vp
param uint32_t slot
param RsAllocation constants
}
ProgramBindTexture {
param RsProgramFragment pf
param uint32_t slot
param RsAllocation a
}
ProgramBindSampler {
param RsProgramFragment pf
param uint32_t slot
param RsSampler s
}
ProgramFragmentCreate {
direct
param const char * shaderText
param const char ** textureNames
param const uint32_t * params
ret RsProgramFragment
}
ProgramVertexCreate {
direct
param const char * shaderText
param const char ** textureNames
param const uint32_t * params
ret RsProgramVertex
}
FontCreateFromFile {
param const char *name
param float fontSize
param uint32_t dpi
ret RsFont
}
FontCreateFromMemory {
param const char *name
param float fontSize
param uint32_t dpi
param const void *data
ret RsFont
}
MeshCreate {
param RsAllocation *vtx
param RsAllocation *idx
param uint32_t *primType
ret RsMesh
}
PathCreate {
param RsPathPrimitive pp
param bool isStatic
param RsAllocation vertex
param RsAllocation loops
param float quality
ret RsPath
}
ContextBindProgramStore {
param RsProgramStore pgm
}
ContextBindProgramFragment {
param RsProgramFragment pgm
}
ContextBindProgramVertex {
param RsProgramVertex pgm
}
ContextBindProgramRaster {
param RsProgramRaster pgm
}
ContextBindFont {
param RsFont pgm
}
ContextSetSurface {
param uint32_t width
param uint32_t height
param RsNativeWindow sur
sync
}
ContextBindRootScript {
param RsScript sampler
}
ContextPause {
}
ContextResume {
}