Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 1 | |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 2 | DeviceCreate { |
3 | direct | ||||
4 | nocontext | ||||
5 | ret RsDevice | ||||
6 | } | ||||
7 | |||||
8 | DeviceDestroy { | ||||
9 | direct | ||||
10 | nocontext | ||||
11 | param RsDevice dev | ||||
12 | } | ||||
13 | |||||
14 | DeviceSetConfig { | ||||
15 | direct | ||||
16 | nocontext | ||||
17 | param RsDevice dev | ||||
18 | param RsDeviceParam p | ||||
19 | param int32_t value | ||||
20 | } | ||||
21 | |||||
22 | ContextCreate { | ||||
23 | direct | ||||
24 | nocontext | ||||
25 | param RsDevice dev | ||||
26 | param uint32_t version | ||||
27 | ret RsContext | ||||
28 | } | ||||
29 | |||||
30 | ContextCreateGL { | ||||
31 | direct | ||||
32 | nocontext | ||||
33 | param RsDevice dev | ||||
34 | param uint32_t version | ||||
35 | param RsSurfaceConfig sc | ||||
36 | param uint32_t dpi | ||||
37 | ret RsContext | ||||
38 | } | ||||
39 | |||||
40 | ContextDestroy { | ||||
41 | direct | ||||
42 | } | ||||
43 | |||||
44 | ContextGetMessage { | ||||
45 | direct | ||||
46 | param void *data | ||||
47 | param size_t *receiveLen | ||||
48 | param uint32_t *subID | ||||
49 | param bool wait | ||||
50 | ret RsMessageToClientType | ||||
51 | } | ||||
52 | |||||
53 | ContextPeekMessage { | ||||
54 | direct | ||||
55 | param size_t *receiveLen | ||||
56 | param uint32_t *subID | ||||
57 | param bool wait | ||||
58 | ret RsMessageToClientType | ||||
59 | } | ||||
60 | |||||
61 | ContextInitToClient { | ||||
62 | direct | ||||
63 | } | ||||
64 | |||||
65 | ContextDeinitToClient { | ||||
66 | direct | ||||
67 | } | ||||
68 | |||||
69 | aTypeCreate { | ||||
70 | direct | ||||
71 | param RsElement e | ||||
72 | param uint32_t dimX | ||||
73 | param uint32_t dimY | ||||
74 | param uint32_t dimZ | ||||
75 | param bool mips | ||||
76 | param bool faces | ||||
77 | ret RsType | ||||
78 | } | ||||
79 | |||||
80 | aAllocationCreateTyped { | ||||
81 | direct | ||||
82 | param RsType vtype | ||||
83 | param RsAllocationMipmapControl mips | ||||
84 | param uint32_t usages | ||||
85 | ret RsAllocation | ||||
86 | } | ||||
87 | |||||
88 | aAllocationCreateFromBitmap { | ||||
89 | direct | ||||
90 | param RsType vtype | ||||
91 | param RsAllocationMipmapControl mips | ||||
92 | param const void *data | ||||
93 | param uint32_t usages | ||||
94 | ret RsAllocation | ||||
95 | } | ||||
96 | |||||
97 | aAllocationCubeCreateFromBitmap { | ||||
98 | direct | ||||
99 | param RsType vtype | ||||
100 | param RsAllocationMipmapControl mips | ||||
101 | param const void *data | ||||
102 | param uint32_t usages | ||||
103 | ret RsAllocation | ||||
104 | } | ||||
105 | |||||
106 | |||||
107 | |||||
Jason Sams | 8c88090 | 2010-06-15 12:15:57 -0700 | [diff] [blame] | 108 | ContextFinish { |
109 | handcodeApi | ||||
110 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 111 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 112 | ContextBindRootScript { |
113 | param RsScript sampler | ||||
114 | } | ||||
115 | |||||
Jason Sams | ccc010b | 2010-05-13 18:30:11 -0700 | [diff] [blame] | 116 | ContextBindProgramStore { |
117 | param RsProgramStore pgm | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 118 | } |
119 | |||||
120 | ContextBindProgramFragment { | ||||
121 | param RsProgramFragment pgm | ||||
122 | } | ||||
123 | |||||
124 | ContextBindProgramVertex { | ||||
125 | param RsProgramVertex pgm | ||||
126 | } | ||||
127 | |||||
Jason Sams | 5fd09d8 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 128 | ContextBindProgramRaster { |
129 | param RsProgramRaster pgm | ||||
130 | } | ||||
131 | |||||
Alex Sakhartchouk | d3e0ad4 | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 132 | ContextBindFont { |
133 | param RsFont pgm | ||||
134 | } | ||||
135 | |||||
Jason Sams | 86f1b23 | 2009-09-24 17:38:20 -0700 | [diff] [blame] | 136 | ContextPause { |
137 | } | ||||
138 | |||||
139 | ContextResume { | ||||
140 | } | ||||
141 | |||||
Jason Sams | 458f2dc | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 142 | ContextSetSurface { |
Jason Sams | 613cad1 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 143 | param uint32_t width |
144 | param uint32_t height | ||||
Dianne Hackborn | 1c769c3 | 2010-06-30 13:56:17 -0700 | [diff] [blame] | 145 | param ANativeWindow *sur |
Jason Sams | 458f2dc | 2009-11-03 13:58:36 -0800 | [diff] [blame] | 146 | } |
147 | |||||
Jason Sams | c21cf40 | 2009-11-17 17:26:46 -0800 | [diff] [blame] | 148 | ContextDump { |
149 | param int32_t bits | ||||
150 | } | ||||
151 | |||||
Jason Sams | 613cad1 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 152 | ContextSetPriority { |
Jason Sams | 1583244 | 2009-11-15 12:14:26 -0800 | [diff] [blame] | 153 | param int32_t priority |
Jason Sams | 613cad1 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 154 | } |
155 | |||||
Jason Sams | 741aac9 | 2010-12-24 14:38:39 -0800 | [diff] [blame] | 156 | ContextDestroyWorker { |
Jason Sams | 1dcefab | 2010-12-09 12:19:46 -0800 | [diff] [blame] | 157 | } |
158 | |||||
Jason Sams | a0a1b6f | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 159 | AssignName { |
Alex Sakhartchouk | 70b83c1 | 2011-04-06 10:57:51 -0700 | [diff] [blame] | 160 | param RsObjectBase obj |
Jason Sams | a0a1b6f | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 161 | param const char *name |
162 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 163 | |
Jason Sams | 707aaf3 | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 164 | ObjDestroy { |
Jason Sams | 2353ae3 | 2010-10-14 17:48:46 -0700 | [diff] [blame] | 165 | param RsAsyncVoidPtr objPtr |
Jason Sams | 707aaf3 | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 166 | } |
167 | |||||
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 168 | ElementCreate { |
169 | param RsDataType mType | ||||
170 | param RsDataKind mKind | ||||
171 | param bool mNormalized | ||||
172 | param uint32_t mVectorSize | ||||
173 | ret RsElement | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 174 | } |
175 | |||||
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 176 | ElementCreate2 { |
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 177 | param const RsElement * elements |
178 | param const char ** names | ||||
179 | param const size_t * nameLengths | ||||
Jason Sams | 46e4554 | 2010-09-02 17:35:23 -0700 | [diff] [blame] | 180 | param const uint32_t * arraySize |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 181 | ret RsElement |
182 | } | ||||
183 | |||||
Jason Sams | 837e388 | 2010-12-10 16:03:15 -0800 | [diff] [blame] | 184 | AllocationCopyToBitmap { |
185 | param RsAllocation alloc | ||||
186 | param void * data | ||||
Alex Sakhartchouk | 39f2ef6 | 2010-10-11 12:35:15 -0700 | [diff] [blame] | 187 | } |
188 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 189 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 190 | Allocation1DData { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 191 | handcodeApi |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 192 | param RsAllocation va |
193 | param uint32_t xoff | ||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 194 | param uint32_t lod |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 195 | param uint32_t count |
196 | param const void *data | ||||
Jason Sams | d34b725 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 197 | } |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 198 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 199 | Allocation1DElementData { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 200 | handcodeApi |
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 201 | param RsAllocation va |
202 | param uint32_t x | ||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 203 | param uint32_t lod |
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 204 | param const void *data |
205 | param uint32_t comp_offset | ||||
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 206 | } |
207 | |||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 208 | Allocation2DData { |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 209 | param RsAllocation va |
210 | param uint32_t xoff | ||||
211 | param uint32_t yoff | ||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 212 | param uint32_t lod |
213 | param RsAllocationCubemapFace face | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 214 | param uint32_t w |
215 | param uint32_t h | ||||
216 | param const void *data | ||||
217 | } | ||||
218 | |||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 219 | Allocation2DElementData { |
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 220 | param RsAllocation va |
221 | param uint32_t x | ||||
222 | param uint32_t y | ||||
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 223 | param uint32_t lod |
224 | param RsAllocationCubemapFace face | ||||
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 225 | param const void *data |
226 | param uint32_t element_offset | ||||
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 227 | } |
228 | |||||
Jason Sams | a237151 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 229 | AllocationGenerateMipmaps { |
230 | param RsAllocation va | ||||
231 | } | ||||
232 | |||||
Jason Sams | e579df4 | 2009-08-10 14:55:26 -0700 | [diff] [blame] | 233 | AllocationRead { |
234 | param RsAllocation va | ||||
235 | param void * data | ||||
236 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 237 | |
Jason Sams | 366c9c8 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 238 | AllocationSyncAll { |
239 | param RsAllocation va | ||||
240 | param RsAllocationUsageType src | ||||
241 | } | ||||
242 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 243 | |
Jason Sams | 96abf81 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 244 | AllocationResize1D { |
245 | param RsAllocation va | ||||
246 | param uint32_t dimX | ||||
247 | } | ||||
248 | |||||
249 | AllocationResize2D { | ||||
250 | param RsAllocation va | ||||
251 | param uint32_t dimX | ||||
252 | param uint32_t dimY | ||||
253 | } | ||||
254 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 255 | SamplerBegin { |
256 | } | ||||
257 | |||||
258 | SamplerSet { | ||||
259 | param RsSamplerParam p | ||||
260 | param RsSamplerValue value | ||||
261 | } | ||||
262 | |||||
Alex Sakhartchouk | 1103d8e | 2010-09-30 11:36:37 -0700 | [diff] [blame] | 263 | SamplerSet2 { |
264 | param RsSamplerParam p | ||||
265 | param float value | ||||
266 | } | ||||
267 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 268 | SamplerCreate { |
269 | ret RsSampler | ||||
270 | } | ||||
271 | |||||
272 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 273 | |
274 | ScriptBindAllocation { | ||||
275 | param RsScript vtm | ||||
276 | param RsAllocation va | ||||
277 | param uint32_t slot | ||||
278 | } | ||||
279 | |||||
280 | |||||
Jason Sams | d34b725 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 281 | ScriptSetTimeZone { |
282 | param RsScript s | ||||
Romain Guy | 98e10fd | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 283 | param const char * timeZone |
Romain Guy | 98e10fd | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 284 | } |
285 | |||||
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 286 | |
287 | ScriptInvoke { | ||||
288 | param RsScript s | ||||
289 | param uint32_t slot | ||||
290 | } | ||||
291 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 292 | ScriptInvokeV { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 293 | handcodeApi |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 294 | param RsScript s |
295 | param uint32_t slot | ||||
296 | param const void * data | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 297 | } |
298 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 299 | ScriptSetVarI { |
300 | param RsScript s | ||||
301 | param uint32_t slot | ||||
302 | param int value | ||||
303 | } | ||||
304 | |||||
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 305 | ScriptSetVarObj { |
306 | param RsScript s | ||||
307 | param uint32_t slot | ||||
308 | param RsObjectBase value | ||||
309 | } | ||||
310 | |||||
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 311 | ScriptSetVarJ { |
312 | param RsScript s | ||||
313 | param uint32_t slot | ||||
314 | param int64_t value | ||||
315 | } | ||||
316 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 317 | ScriptSetVarF { |
318 | param RsScript s | ||||
319 | param uint32_t slot | ||||
320 | param float value | ||||
321 | } | ||||
322 | |||||
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 323 | ScriptSetVarD { |
324 | param RsScript s | ||||
325 | param uint32_t slot | ||||
326 | param double value | ||||
327 | } | ||||
328 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 329 | ScriptSetVarV { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 330 | handcodeApi |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 331 | param RsScript s |
332 | param uint32_t slot | ||||
333 | param const void * data | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 334 | } |
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 335 | |
336 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 337 | ScriptCCreate { |
Shih-wei Liao | 9503b66 | 2010-11-08 01:33:59 -0800 | [diff] [blame] | 338 | param const char * resName |
Shih-wei Liao | 15849d9 | 2010-12-10 01:03:59 -0800 | [diff] [blame] | 339 | param const char * cacheDir |
Jason Sams | bad8074 | 2011-03-16 16:29:28 -0700 | [diff] [blame] | 340 | param const char * text |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 341 | ret RsScript |
342 | } | ||||
343 | |||||
344 | |||||
Jason Sams | 721acc4 | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 345 | ProgramStoreCreate { |
346 | param bool colorMaskR | ||||
347 | param bool colorMaskG | ||||
348 | param bool colorMaskB | ||||
349 | param bool colorMaskA | ||||
350 | param bool depthMask | ||||
351 | param bool ditherEnable | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 352 | param RsBlendSrcFunc srcFunc |
353 | param RsBlendDstFunc destFunc | ||||
Jason Sams | 721acc4 | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 354 | param RsDepthFunc depthFunc |
Jason Sams | ccc010b | 2010-05-13 18:30:11 -0700 | [diff] [blame] | 355 | ret RsProgramStore |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 356 | } |
357 | |||||
Jason Sams | 5fd09d8 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 358 | ProgramRasterCreate { |
Jason Sams | 5fd09d8 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 359 | param bool pointSmooth |
360 | param bool lineSmooth | ||||
361 | param bool pointSprite | ||||
Jason Sams | 721acc4 | 2011-04-06 11:23:54 -0700 | [diff] [blame] | 362 | param float lineWidth |
363 | param RsCullMode cull | ||||
Jason Sams | 5fd09d8 | 2009-09-23 13:57:02 -0700 | [diff] [blame] | 364 | ret RsProgramRaster |
365 | } | ||||
366 | |||||
Jason Sams | 4815c0d | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 367 | ProgramBindConstants { |
368 | param RsProgram vp | ||||
369 | param uint32_t slot | ||||
370 | param RsAllocation constants | ||||
371 | } | ||||
372 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 373 | |
Jason Sams | 7dad9c3 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 374 | ProgramBindTexture { |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 375 | param RsProgramFragment pf |
376 | param uint32_t slot | ||||
377 | param RsAllocation a | ||||
378 | } | ||||
379 | |||||
Jason Sams | 7dad9c3 | 2009-12-17 16:55:08 -0800 | [diff] [blame] | 380 | ProgramBindSampler { |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 381 | param RsProgramFragment pf |
382 | param uint32_t slot | ||||
383 | param RsSampler s | ||||
384 | } | ||||
385 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 386 | ProgramFragmentCreate { |
Jason Sams | f2e4fa2 | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 387 | param const char * shaderText |
Jason Sams | f2e4fa2 | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 388 | param const uint32_t * params |
Jason Sams | f2e4fa2 | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 389 | ret RsProgramFragment |
390 | } | ||||
391 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 392 | ProgramVertexCreate { |
Jason Sams | 4815c0d | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 393 | param const char * shaderText |
Jason Sams | 4815c0d | 2009-12-15 12:58:36 -0800 | [diff] [blame] | 394 | param const uint32_t * params |
Jason Sams | f2e4fa2 | 2009-12-15 13:27:04 -0800 | [diff] [blame] | 395 | ret RsProgramVertex |
Jason Sams | b5909ce | 2009-07-21 12:20:54 -0700 | [diff] [blame] | 396 | } |
397 | |||||
Alex Sakhartchouk | d3e0ad4 | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 398 | FontCreateFromFile { |
399 | param const char *name | ||||
Alex Sakhartchouk | c17ace2 | 2010-12-17 11:41:08 -0800 | [diff] [blame] | 400 | param float fontSize |
Alex Sakhartchouk | d3e0ad4 | 2010-06-24 17:15:34 -0700 | [diff] [blame] | 401 | param uint32_t dpi |
402 | ret RsFont | ||||
403 | } | ||||
404 | |||||
Alex Sakhartchouk | 5224a27 | 2011-01-07 11:12:08 -0800 | [diff] [blame] | 405 | FontCreateFromMemory { |
406 | param const char *name | ||||
407 | param float fontSize | ||||
408 | param uint32_t dpi | ||||
Alex Sakhartchouk | 70b83c1 | 2011-04-06 10:57:51 -0700 | [diff] [blame] | 409 | param const void *data |
Alex Sakhartchouk | 5224a27 | 2011-01-07 11:12:08 -0800 | [diff] [blame] | 410 | ret RsFont |
411 | } | ||||
412 | |||||
Alex Sakhartchouk | 4e9a7a8 | 2010-07-01 16:14:06 -0700 | [diff] [blame] | 413 | MeshCreate { |
414 | ret RsMesh | ||||
415 | param uint32_t vtxCount | ||||
416 | param uint32_t idxCount | ||||
417 | } | ||||
418 | |||||
419 | MeshBindIndex { | ||||
420 | param RsMesh mesh | ||||
421 | param RsAllocation idx | ||||
422 | param uint32_t primType | ||||
423 | param uint32_t slot | ||||
424 | } | ||||
425 | |||||
Alex Sakhartchouk | 4e9a7a8 | 2010-07-01 16:14:06 -0700 | [diff] [blame] | 426 | MeshBindVertex { |
427 | param RsMesh mesh | ||||
428 | param RsAllocation vtx | ||||
429 | param uint32_t slot | ||||
430 | } | ||||
431 | |||||
Alex Sakhartchouk | 54929cc | 2010-11-08 15:10:52 -0800 | [diff] [blame] | 432 | MeshInitVertexAttribs { |
433 | param RsMesh mesh | ||||
434 | } | ||||
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame^] | 435 |