Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 1 | |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 2 | ContextDestroy { |
3 | direct | ||||
4 | } | ||||
5 | |||||
6 | ContextGetMessage { | ||||
7 | direct | ||||
8 | param void *data | ||||
9 | param size_t *receiveLen | ||||
Jason Sams | edbfabd | 2011-05-17 15:01:29 -0700 | [diff] [blame] | 10 | param uint32_t *usrID |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 11 | ret RsMessageToClientType |
12 | } | ||||
13 | |||||
14 | ContextPeekMessage { | ||||
15 | direct | ||||
16 | param size_t *receiveLen | ||||
Jason Sams | edbfabd | 2011-05-17 15:01:29 -0700 | [diff] [blame] | 17 | param uint32_t *usrID |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 18 | ret RsMessageToClientType |
19 | } | ||||
20 | |||||
21 | ContextInitToClient { | ||||
22 | direct | ||||
23 | } | ||||
24 | |||||
25 | ContextDeinitToClient { | ||||
26 | direct | ||||
27 | } | ||||
28 | |||||
Jason Sams | c576537 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 29 | TypeCreate { |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 30 | direct |
31 | param RsElement e | ||||
32 | param uint32_t dimX | ||||
33 | param uint32_t dimY | ||||
34 | param uint32_t dimZ | ||||
35 | param bool mips | ||||
36 | param bool faces | ||||
37 | ret RsType | ||||
38 | } | ||||
39 | |||||
Jason Sams | c576537 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 40 | AllocationCreateTyped { |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 41 | direct |
42 | param RsType vtype | ||||
43 | param RsAllocationMipmapControl mips | ||||
44 | param uint32_t usages | ||||
45 | ret RsAllocation | ||||
46 | } | ||||
47 | |||||
Jason Sams | c576537 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 48 | AllocationCreateFromBitmap { |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 49 | direct |
50 | param RsType vtype | ||||
51 | param RsAllocationMipmapControl mips | ||||
52 | param const void *data | ||||
53 | param uint32_t usages | ||||
54 | ret RsAllocation | ||||
55 | } | ||||
56 | |||||
Jason Sams | c576537 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 57 | AllocationCubeCreateFromBitmap { |
Jason Sams | 65bdaf1 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 58 | direct |
59 | param RsType vtype | ||||
60 | param RsAllocationMipmapControl mips | ||||
61 | param const void *data | ||||
62 | param uint32_t usages | ||||
63 | ret RsAllocation | ||||
64 | } | ||||
65 | |||||
66 | |||||
67 | |||||
Jason Sams | 96ed4cf | 2010-06-15 12:15:57 -0700 | [diff] [blame] | 68 | ContextFinish { |
Jason Sams | edbfabd | 2011-05-17 15:01:29 -0700 | [diff] [blame] | 69 | sync |
Jason Sams | 96ed4cf | 2010-06-15 12:15:57 -0700 | [diff] [blame] | 70 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 71 | |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 72 | ContextBindRootScript { |
73 | param RsScript sampler | ||||
74 | } | ||||
75 | |||||
Jason Sams | 54db59c | 2010-05-13 18:30:11 -0700 | [diff] [blame] | 76 | ContextBindProgramStore { |
77 | param RsProgramStore pgm | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 78 | } |
79 | |||||
80 | ContextBindProgramFragment { | ||||
81 | param RsProgramFragment pgm | ||||
82 | } | ||||
83 | |||||
84 | ContextBindProgramVertex { | ||||
85 | param RsProgramVertex pgm | ||||
86 | } | ||||
87 | |||||
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 88 | ContextBindProgramRaster { |
89 | param RsProgramRaster pgm | ||||
90 | } | ||||
91 | |||||
Alex Sakhartchouk | 9b949fc | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 92 | ContextBindFont { |
93 | param RsFont pgm | ||||
94 | } | ||||
95 | |||||
Jason Sams | 65e7aa5 | 2009-09-24 17:38:20 -0700 | [diff] [blame] | 96 | ContextPause { |
97 | } | ||||
98 | |||||
99 | ContextResume { | ||||
100 | } | ||||
101 | |||||
Jason Sams | efd9b6fb | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 102 | ContextSetSurface { |
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 103 | param uint32_t width |
104 | param uint32_t height | ||||
Alex Sakhartchouk | 6c72eec | 2011-05-17 12:32:47 -0700 | [diff] [blame] | 105 | param RsNativeWindow sur |
Jason Sams | faa32b3 | 2011-06-20 16:58:04 -0700 | [diff] [blame] | 106 | sync |
Jason Sams | efd9b6fb | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 107 | } |
108 | |||||
Jason Sams | 715333b | 2009-11-17 17:26:46 -0800 | [diff] [blame] | 109 | ContextDump { |
110 | param int32_t bits | ||||
111 | } | ||||
112 | |||||
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 113 | ContextSetPriority { |
Jason Sams | 7d787b4 | 2009-11-15 12:14:26 -0800 | [diff] [blame] | 114 | param int32_t priority |
Jason Sams | 3bc47d4 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 115 | } |
116 | |||||
Jason Sams | 5c68a71 | 2010-12-24 14:38:39 -0800 | [diff] [blame] | 117 | ContextDestroyWorker { |
Jason Sams | 546f01b | 2010-12-09 12:19:46 -0800 | [diff] [blame] | 118 | } |
119 | |||||
Jason Sams | 3eaa338 | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 120 | AssignName { |
Alex Sakhartchouk | e7c4a75 | 2011-04-06 10:57:51 -0700 | [diff] [blame] | 121 | param RsObjectBase obj |
Jason Sams | 3eaa338 | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 122 | param const char *name |
123 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 124 | |
Jason Sams | 7ce033d | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 125 | ObjDestroy { |
Jason Sams | 3b9c52a | 2010-10-14 17:48:46 -0700 | [diff] [blame] | 126 | param RsAsyncVoidPtr objPtr |
Jason Sams | 7ce033d | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 127 | } |
128 | |||||
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 129 | ElementCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 130 | direct |
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 131 | param RsDataType mType |
132 | param RsDataKind mKind | ||||
133 | param bool mNormalized | ||||
134 | param uint32_t mVectorSize | ||||
135 | ret RsElement | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 136 | } |
137 | |||||
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 138 | ElementCreate2 { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 139 | direct |
Jason Sams | 718cd1f | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 140 | param const RsElement * elements |
141 | param const char ** names | ||||
Jason Sams | 70d4e50 | 2010-09-02 17:35:23 -0700 | [diff] [blame] | 142 | param const uint32_t * arraySize |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 143 | ret RsElement |
144 | } | ||||
145 | |||||
Jason Sams | 4ef6650 | 2010-12-10 16:03:15 -0800 | [diff] [blame] | 146 | AllocationCopyToBitmap { |
147 | param RsAllocation alloc | ||||
148 | param void * data | ||||
Alex Sakhartchouk | 26ae390 | 2010-10-11 12:35:15 -0700 | [diff] [blame] | 149 | } |
150 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 151 | |
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 152 | Allocation1DData { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 153 | param RsAllocation va |
154 | param uint32_t xoff | ||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 155 | param uint32_t lod |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 156 | param uint32_t count |
157 | param const void *data | ||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 158 | } |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 159 | |
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 160 | Allocation1DElementData { |
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 161 | param RsAllocation va |
162 | param uint32_t x | ||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 163 | param uint32_t lod |
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 164 | param const void *data |
165 | param uint32_t comp_offset | ||||
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 166 | } |
167 | |||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 168 | Allocation2DData { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 169 | param RsAllocation va |
170 | param uint32_t xoff | ||||
171 | param uint32_t yoff | ||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 172 | param uint32_t lod |
173 | param RsAllocationCubemapFace face | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 174 | param uint32_t w |
175 | param uint32_t h | ||||
176 | param const void *data | ||||
177 | } | ||||
178 | |||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 179 | Allocation2DElementData { |
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 180 | param RsAllocation va |
181 | param uint32_t x | ||||
182 | param uint32_t y | ||||
Jason Sams | 49a05d7 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 183 | param uint32_t lod |
184 | param RsAllocationCubemapFace face | ||||
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 185 | param const void *data |
186 | param uint32_t element_offset | ||||
Jason Sams | 49bdaf0 | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 187 | } |
188 | |||||
Jason Sams | f708609 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 189 | AllocationGenerateMipmaps { |
190 | param RsAllocation va | ||||
191 | } | ||||
192 | |||||
Jason Sams | 40a29e8 | 2009-08-10 14:55:26 -0700 | [diff] [blame] | 193 | AllocationRead { |
194 | param RsAllocation va | ||||
195 | param void * data | ||||
196 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 197 | |
Jason Sams | 5476b45 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 198 | AllocationSyncAll { |
199 | param RsAllocation va | ||||
200 | param RsAllocationUsageType src | ||||
201 | } | ||||
202 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 203 | |
Jason Sams | 5edc608 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 204 | AllocationResize1D { |
205 | param RsAllocation va | ||||
206 | param uint32_t dimX | ||||
207 | } | ||||
208 | |||||
209 | AllocationResize2D { | ||||
210 | param RsAllocation va | ||||
211 | param uint32_t dimX | ||||
212 | param uint32_t dimY | ||||
213 | } | ||||
214 | |||||
Alex Sakhartchouk | 304b1f5 | 2011-06-14 11:13:19 -0700 | [diff] [blame] | 215 | AllocationCopy2DRange { |
216 | param RsAllocation dest | ||||
217 | param uint32_t destXoff | ||||
218 | param uint32_t destYoff | ||||
219 | param uint32_t destMip | ||||
220 | param uint32_t destFace | ||||
221 | param uint32_t width | ||||
222 | param uint32_t height | ||||
223 | param RsAllocation src | ||||
224 | param uint32_t srcXoff | ||||
225 | param uint32_t srcYoff | ||||
226 | param uint32_t srcMip | ||||
227 | param uint32_t srcFace | ||||
228 | } | ||||
229 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 230 | SamplerCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 231 | direct |
Alex Sakhartchouk | a89094a | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 232 | param RsSamplerValue magFilter |
233 | param RsSamplerValue minFilter | ||||
234 | param RsSamplerValue wrapS | ||||
235 | param RsSamplerValue wrapT | ||||
236 | param RsSamplerValue wrapR | ||||
237 | param float mAniso | ||||
238 | ret RsSampler | ||||
239 | } | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 240 | |
241 | ScriptBindAllocation { | ||||
242 | param RsScript vtm | ||||
243 | param RsAllocation va | ||||
244 | param uint32_t slot | ||||
245 | } | ||||
246 | |||||
Jason Sams | 2253417 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 247 | ScriptSetTimeZone { |
248 | param RsScript s | ||||
Romain Guy | 584a375 | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 249 | param const char * timeZone |
Romain Guy | 584a375 | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 250 | } |
251 | |||||
Jason Sams | be2e841 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 252 | ScriptInvoke { |
253 | param RsScript s | ||||
254 | param uint32_t slot | ||||
255 | } | ||||
256 | |||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 257 | ScriptInvokeV { |
258 | param RsScript s | ||||
259 | param uint32_t slot | ||||
260 | param const void * data | ||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 261 | } |
262 | |||||
Alex Sakhartchouk | a89094a | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 263 | ScriptForEach { |
Jason Sams | a08526a | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 264 | param RsScript s |
265 | param uint32_t slot | ||||
266 | param RsAllocation ain | ||||
267 | param RsAllocation aout | ||||
268 | param const void * usr | ||||
269 | } | ||||
270 | |||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 271 | ScriptSetVarI { |
272 | param RsScript s | ||||
273 | param uint32_t slot | ||||
274 | param int value | ||||
275 | } | ||||
276 | |||||
Jason Sams | 6f4cf0b | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 277 | ScriptSetVarObj { |
278 | param RsScript s | ||||
279 | param uint32_t slot | ||||
280 | param RsObjectBase value | ||||
281 | } | ||||
282 | |||||
Stephen Hines | 031ec58c | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 283 | ScriptSetVarJ { |
284 | param RsScript s | ||||
285 | param uint32_t slot | ||||
286 | param int64_t value | ||||
287 | } | ||||
288 | |||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 289 | ScriptSetVarF { |
290 | param RsScript s | ||||
291 | param uint32_t slot | ||||
292 | param float value | ||||
293 | } | ||||
294 | |||||
Stephen Hines | ca54ec3 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 295 | ScriptSetVarD { |
296 | param RsScript s | ||||
297 | param uint32_t slot | ||||
298 | param double value | ||||
299 | } | ||||
300 | |||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 301 | ScriptSetVarV { |
302 | param RsScript s | ||||
303 | param uint32_t slot | ||||
304 | param const void * data | ||||
Jason Sams | 4d33993 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 305 | } |
Jason Sams | fbf0b9e | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 306 | |
307 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 308 | ScriptCCreate { |
Shih-wei Liao | a914f34 | 2010-11-08 01:33:59 -0800 | [diff] [blame] | 309 | param const char * resName |
Shih-wei Liao | 6b32fab | 2010-12-10 01:03:59 -0800 | [diff] [blame] | 310 | param const char * cacheDir |
Jason Sams | e4a06c5 | 2011-03-16 16:29:28 -0700 | [diff] [blame] | 311 | param const char * text |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 312 | ret RsScript |
313 | } | ||||
314 | |||||
315 | |||||
Jason Sams | 331bf9b | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 316 | ProgramStoreCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 317 | direct |
Jason Sams | 331bf9b | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 318 | param bool colorMaskR |
319 | param bool colorMaskG | ||||
320 | param bool colorMaskB | ||||
321 | param bool colorMaskA | ||||
322 | param bool depthMask | ||||
323 | param bool ditherEnable | ||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 324 | param RsBlendSrcFunc srcFunc |
325 | param RsBlendDstFunc destFunc | ||||
Jason Sams | 331bf9b | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 326 | param RsDepthFunc depthFunc |
Jason Sams | 54db59c | 2010-05-13 18:30:11 -0700 | [diff] [blame] | 327 | ret RsProgramStore |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 328 | } |
329 | |||||
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 330 | ProgramRasterCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 331 | direct |
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 332 | param bool pointSprite |
Jason Sams | 331bf9b | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 333 | param RsCullMode cull |
Jason Sams | ebfb436 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 334 | ret RsProgramRaster |
335 | } | ||||
336 | |||||
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 337 | ProgramBindConstants { |
338 | param RsProgram vp | ||||
339 | param uint32_t slot | ||||
340 | param RsAllocation constants | ||||
341 | } | ||||
342 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 343 | |
Jason Sams | 68afd01 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 344 | ProgramBindTexture { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 345 | param RsProgramFragment pf |
346 | param uint32_t slot | ||||
347 | param RsAllocation a | ||||
348 | } | ||||
349 | |||||
Jason Sams | 68afd01 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 350 | ProgramBindSampler { |
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 351 | param RsProgramFragment pf |
352 | param uint32_t slot | ||||
353 | param RsSampler s | ||||
354 | } | ||||
355 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 356 | ProgramFragmentCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 357 | direct |
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 358 | param const char * shaderText |
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 359 | param const uint32_t * params |
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 360 | ret RsProgramFragment |
361 | } | ||||
362 | |||||
Jason Sams | d19f10d | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 363 | ProgramVertexCreate { |
Alex Sakhartchouk | 117abdb | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 364 | direct |
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 365 | param const char * shaderText |
Jason Sams | 0011bcf | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 366 | param const uint32_t * params |
Jason Sams | 7e5ab3b | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 367 | ret RsProgramVertex |
Jason Sams | ee41112 | 2009-07-21 12:20:54 -0700 | [diff] [blame] | 368 | } |
369 | |||||
Alex Sakhartchouk | 9b949fc | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 370 | FontCreateFromFile { |
371 | param const char *name | ||||
Alex Sakhartchouk | e27cdee | 2010-12-17 11:41:08 -0800 | [diff] [blame] | 372 | param float fontSize |
Alex Sakhartchouk | 9b949fc | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 373 | param uint32_t dpi |
374 | ret RsFont | ||||
375 | } | ||||
376 | |||||
Alex Sakhartchouk | b0253ea | 2011-01-07 11:12:08 -0800 | [diff] [blame] | 377 | FontCreateFromMemory { |
378 | param const char *name | ||||
379 | param float fontSize | ||||
380 | param uint32_t dpi | ||||
Alex Sakhartchouk | e7c4a75 | 2011-04-06 10:57:51 -0700 | [diff] [blame] | 381 | param const void *data |
Alex Sakhartchouk | b0253ea | 2011-01-07 11:12:08 -0800 | [diff] [blame] | 382 | ret RsFont |
383 | } | ||||
384 | |||||
Alex Sakhartchouk | 164aaed | 2010-07-01 16:14:06 -0700 | [diff] [blame] | 385 | MeshCreate { |
Alex Sakhartchouk | 25999a0 | 2011-05-12 10:38:03 -0700 | [diff] [blame] | 386 | param RsAllocation *vtx |
387 | param RsAllocation *idx | ||||
388 | param uint32_t *primType | ||||
Alex Sakhartchouk | 164aaed | 2010-07-01 16:14:06 -0700 | [diff] [blame] | 389 | ret RsMesh |
Alex Sakhartchouk | 164aaed | 2010-07-01 16:14:06 -0700 | [diff] [blame] | 390 | } |