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 | ContextDestroy { |
3 | direct | ||||
4 | } | ||||
5 | |||||
6 | ContextGetMessage { | ||||
7 | direct | ||||
8 | param void *data | ||||
9 | param size_t *receiveLen | ||||
Jason Sams | 1a4efa3 | 2011-05-17 15:01:29 -0700 | [diff] [blame] | 10 | param uint32_t *usrID |
Jason Sams | 186e591 | 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 | 1a4efa3 | 2011-05-17 15:01:29 -0700 | [diff] [blame] | 17 | param uint32_t *usrID |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 18 | ret RsMessageToClientType |
19 | } | ||||
20 | |||||
Jason Sams | 7026520 | 2013-02-05 19:20:47 -0800 | [diff] [blame] | 21 | ContextSendMessage { |
22 | param uint32_t id | ||||
23 | param const uint8_t *data | ||||
24 | } | ||||
25 | |||||
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 26 | ContextInitToClient { |
27 | direct | ||||
28 | } | ||||
29 | |||||
30 | ContextDeinitToClient { | ||||
31 | direct | ||||
32 | } | ||||
33 | |||||
Jason Sams | c975cf4 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 34 | TypeCreate { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 35 | direct |
36 | param RsElement e | ||||
37 | param uint32_t dimX | ||||
38 | param uint32_t dimY | ||||
39 | param uint32_t dimZ | ||||
40 | param bool mips | ||||
41 | param bool faces | ||||
Jason Sams | a572aca | 2013-01-09 11:52:26 -0800 | [diff] [blame] | 42 | param uint32_t yuv |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 43 | ret RsType |
44 | } | ||||
45 | |||||
Jason Sams | c975cf4 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 46 | AllocationCreateTyped { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 47 | direct |
48 | param RsType vtype | ||||
49 | param RsAllocationMipmapControl mips | ||||
50 | param uint32_t usages | ||||
Tim Murray | 099bc26 | 2013-03-20 16:54:03 -0700 | [diff] [blame] | 51 | param uintptr_t ptr |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 52 | ret RsAllocation |
53 | } | ||||
54 | |||||
Jason Sams | c975cf4 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 55 | AllocationCreateFromBitmap { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 56 | direct |
57 | param RsType vtype | ||||
58 | param RsAllocationMipmapControl mips | ||||
59 | param const void *data | ||||
60 | param uint32_t usages | ||||
61 | ret RsAllocation | ||||
62 | } | ||||
63 | |||||
Jason Sams | c975cf4 | 2011-04-28 18:26:48 -0700 | [diff] [blame] | 64 | AllocationCubeCreateFromBitmap { |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 65 | direct |
66 | param RsType vtype | ||||
67 | param RsAllocationMipmapControl mips | ||||
68 | param const void *data | ||||
69 | param uint32_t usages | ||||
70 | ret RsAllocation | ||||
71 | } | ||||
72 | |||||
Jason Sams | 733396b | 2013-02-22 12:46:18 -0800 | [diff] [blame] | 73 | AllocationGetSurface { |
Jason Sams | 41e373d | 2012-01-13 14:01:20 -0800 | [diff] [blame] | 74 | param RsAllocation alloc |
Jason Sams | 3522f40 | 2012-03-23 11:47:26 -0700 | [diff] [blame] | 75 | sync |
Jason Sams | 733396b | 2013-02-22 12:46:18 -0800 | [diff] [blame] | 76 | ret RsNativeWindow |
Jason Sams | 3522f40 | 2012-03-23 11:47:26 -0700 | [diff] [blame] | 77 | } |
78 | |||||
Jason Sams | 7ac2a4d | 2012-02-15 12:04:24 -0800 | [diff] [blame] | 79 | AllocationSetSurface { |
80 | param RsAllocation alloc | ||||
81 | param RsNativeWindow sur | ||||
82 | sync | ||||
83 | } | ||||
84 | |||||
Jason Sams | 8c88090 | 2010-06-15 12:15:57 -0700 | [diff] [blame] | 85 | ContextFinish { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 86 | sync |
87 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 88 | |
Jason Sams | c21cf40 | 2009-11-17 17:26:46 -0800 | [diff] [blame] | 89 | ContextDump { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 90 | param int32_t bits |
Jason Sams | c21cf40 | 2009-11-17 17:26:46 -0800 | [diff] [blame] | 91 | } |
92 | |||||
Jason Sams | 613cad1 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 93 | ContextSetPriority { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 94 | param int32_t priority |
95 | } | ||||
Jason Sams | 613cad1 | 2009-11-12 15:10:25 -0800 | [diff] [blame] | 96 | |
Jason Sams | 741aac9 | 2010-12-24 14:38:39 -0800 | [diff] [blame] | 97 | ContextDestroyWorker { |
Tim Murray | 8c1da3f | 2013-07-17 12:22:19 -0700 | [diff] [blame] | 98 | sync |
Jason Sams | 1dcefab | 2010-12-09 12:19:46 -0800 | [diff] [blame] | 99 | } |
100 | |||||
Jason Sams | a0a1b6f | 2009-06-10 15:04:38 -0700 | [diff] [blame] | 101 | AssignName { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 102 | param RsObjectBase obj |
103 | param const char *name | ||||
104 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 105 | |
Jason Sams | 707aaf3 | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 106 | ObjDestroy { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 107 | param RsAsyncVoidPtr objPtr |
108 | } | ||||
Jason Sams | 707aaf3 | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 109 | |
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 110 | ElementCreate { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 111 | direct |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 112 | param RsDataType mType |
113 | param RsDataKind mKind | ||||
114 | param bool mNormalized | ||||
115 | param uint32_t mVectorSize | ||||
116 | ret RsElement | ||||
117 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 118 | |
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 119 | ElementCreate2 { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 120 | direct |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 121 | param const RsElement * elements |
122 | param const char ** names | ||||
123 | param const uint32_t * arraySize | ||||
124 | ret RsElement | ||||
125 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 126 | |
Jason Sams | 837e388 | 2010-12-10 16:03:15 -0800 | [diff] [blame] | 127 | AllocationCopyToBitmap { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 128 | param RsAllocation alloc |
129 | param void * data | ||||
130 | } | ||||
Alex Sakhartchouk | 39f2ef6 | 2010-10-11 12:35:15 -0700 | [diff] [blame] | 131 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 132 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 133 | Allocation1DData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 134 | param RsAllocation va |
135 | param uint32_t xoff | ||||
136 | param uint32_t lod | ||||
137 | param uint32_t count | ||||
138 | param const void *data | ||||
139 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 140 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 141 | Allocation1DElementData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 142 | param RsAllocation va |
143 | param uint32_t x | ||||
144 | param uint32_t lod | ||||
145 | param const void *data | ||||
146 | param size_t comp_offset | ||||
147 | } | ||||
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 148 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 149 | Allocation2DData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 150 | param RsAllocation va |
151 | param uint32_t xoff | ||||
152 | param uint32_t yoff | ||||
153 | param uint32_t lod | ||||
154 | param RsAllocationCubemapFace face | ||||
155 | param uint32_t w | ||||
156 | param uint32_t h | ||||
157 | param const void *data | ||||
Tim Murray | 358747a | 2012-11-26 13:52:04 -0800 | [diff] [blame] | 158 | param size_t stride |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 159 | } |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 160 | |
Jason Sams | 3bbc0fd | 2013-04-09 14:16:13 -0700 | [diff] [blame] | 161 | Allocation3DData { |
162 | param RsAllocation va | ||||
163 | param uint32_t xoff | ||||
164 | param uint32_t yoff | ||||
165 | param uint32_t zoff | ||||
166 | param uint32_t lod | ||||
167 | param uint32_t w | ||||
168 | param uint32_t h | ||||
169 | param uint32_t d | ||||
170 | param const void *data | ||||
171 | param size_t stride | ||||
172 | } | ||||
173 | |||||
Jason Sams | a237151 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 174 | AllocationGenerateMipmaps { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 175 | param RsAllocation va |
Jason Sams | a237151 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 176 | } |
177 | |||||
Jason Sams | e579df4 | 2009-08-10 14:55:26 -0700 | [diff] [blame] | 178 | AllocationRead { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 179 | param RsAllocation va |
180 | param void * data | ||||
181 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 182 | |
Tim Murray | 509ea5c | 2012-11-13 11:56:40 -0800 | [diff] [blame] | 183 | Allocation1DRead { |
184 | param RsAllocation va | ||||
185 | param uint32_t xoff | ||||
186 | param uint32_t lod | ||||
187 | param uint32_t count | ||||
188 | param void *data | ||||
189 | } | ||||
190 | |||||
Tim Murray | 7b3e309 | 2012-11-16 13:32:24 -0800 | [diff] [blame] | 191 | Allocation2DRead { |
192 | param RsAllocation va | ||||
193 | param uint32_t xoff | ||||
194 | param uint32_t yoff | ||||
195 | param uint32_t lod | ||||
196 | param RsAllocationCubemapFace face | ||||
197 | param uint32_t w | ||||
198 | param uint32_t h | ||||
199 | param void *data | ||||
Tim Murray | 358747a | 2012-11-26 13:52:04 -0800 | [diff] [blame] | 200 | param size_t stride |
Tim Murray | 7b3e309 | 2012-11-16 13:32:24 -0800 | [diff] [blame] | 201 | } |
Tim Murray | 509ea5c | 2012-11-13 11:56:40 -0800 | [diff] [blame] | 202 | |
Tim Murray | 8c1da3f | 2013-07-17 12:22:19 -0700 | [diff] [blame] | 203 | |
Jason Sams | 366c9c8 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 204 | AllocationSyncAll { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 205 | param RsAllocation va |
206 | param RsAllocationUsageType src | ||||
Jason Sams | 366c9c8 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 207 | } |
208 | |||||
Jason Sams | 96abf81 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 209 | AllocationResize1D { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 210 | param RsAllocation va |
211 | param uint32_t dimX | ||||
212 | } | ||||
Jason Sams | 96abf81 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 213 | |
Alex Sakhartchouk | 74a8279 | 2011-06-14 11:13:19 -0700 | [diff] [blame] | 214 | AllocationCopy2DRange { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 215 | param RsAllocation dest |
216 | param uint32_t destXoff | ||||
217 | param uint32_t destYoff | ||||
218 | param uint32_t destMip | ||||
219 | param uint32_t destFace | ||||
220 | param uint32_t width | ||||
221 | param uint32_t height | ||||
222 | param RsAllocation src | ||||
223 | param uint32_t srcXoff | ||||
224 | param uint32_t srcYoff | ||||
225 | param uint32_t srcMip | ||||
226 | param uint32_t srcFace | ||||
227 | } | ||||
Alex Sakhartchouk | 74a8279 | 2011-06-14 11:13:19 -0700 | [diff] [blame] | 228 | |
Jason Sams | 3bbc0fd | 2013-04-09 14:16:13 -0700 | [diff] [blame] | 229 | AllocationCopy3DRange { |
230 | param RsAllocation dest | ||||
231 | param uint32_t destXoff | ||||
232 | param uint32_t destYoff | ||||
233 | param uint32_t destZoff | ||||
234 | param uint32_t destMip | ||||
235 | param uint32_t width | ||||
236 | param uint32_t height | ||||
237 | param uint32_t depth | ||||
238 | param RsAllocation src | ||||
239 | param uint32_t srcXoff | ||||
240 | param uint32_t srcYoff | ||||
241 | param uint32_t srcZoff | ||||
242 | param uint32_t srcMip | ||||
243 | } | ||||
244 | |||||
245 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 246 | SamplerCreate { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 247 | direct |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 248 | param RsSamplerValue magFilter |
249 | param RsSamplerValue minFilter | ||||
250 | param RsSamplerValue wrapS | ||||
251 | param RsSamplerValue wrapT | ||||
252 | param RsSamplerValue wrapR | ||||
253 | param float mAniso | ||||
254 | ret RsSampler | ||||
255 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 256 | |
257 | ScriptBindAllocation { | ||||
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 258 | param RsScript vtm |
259 | param RsAllocation va | ||||
260 | param uint32_t slot | ||||
261 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 262 | |
Jason Sams | d34b725 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 263 | ScriptSetTimeZone { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 264 | param RsScript s |
265 | param const char * timeZone | ||||
266 | } | ||||
Romain Guy | 98e10fd | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 267 | |
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 268 | ScriptInvoke { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 269 | param RsScript s |
270 | param uint32_t slot | ||||
271 | } | ||||
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 272 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 273 | ScriptInvokeV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 274 | param RsScript s |
275 | param uint32_t slot | ||||
276 | param const void * data | ||||
277 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 278 | |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 279 | ScriptForEach { |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 280 | param RsScript s |
281 | param uint32_t slot | ||||
282 | param RsAllocation ain | ||||
283 | param RsAllocation aout | ||||
284 | param const void * usr | ||||
Tim Murray | d4ecb17 | 2013-02-07 12:17:03 -0800 | [diff] [blame] | 285 | param const RsScriptCall * sc |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 286 | } |
287 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 288 | ScriptSetVarI { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 289 | param RsScript s |
290 | param uint32_t slot | ||||
291 | param int value | ||||
292 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 293 | |
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 294 | ScriptSetVarObj { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 295 | param RsScript s |
296 | param uint32_t slot | ||||
297 | param RsObjectBase value | ||||
298 | } | ||||
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 299 | |
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 300 | ScriptSetVarJ { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 301 | param RsScript s |
302 | param uint32_t slot | ||||
303 | param int64_t value | ||||
304 | } | ||||
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 305 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 306 | ScriptSetVarF { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 307 | param RsScript s |
308 | param uint32_t slot | ||||
309 | param float value | ||||
310 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 311 | |
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 312 | ScriptSetVarD { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 313 | param RsScript s |
314 | param uint32_t slot | ||||
315 | param double value | ||||
316 | } | ||||
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 317 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 318 | ScriptSetVarV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 319 | param RsScript s |
320 | param uint32_t slot | ||||
321 | param const void * data | ||||
322 | } | ||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 323 | |
Tim Murray | 9c64239 | 2013-04-11 13:29:59 -0700 | [diff] [blame] | 324 | ScriptGetVarV { |
325 | param RsScript s | ||||
326 | param uint32_t slot | ||||
327 | param void * data | ||||
328 | sync | ||||
329 | } | ||||
330 | |||||
Stephen Hines | 2980f07 | 2012-04-09 18:26:29 -0700 | [diff] [blame] | 331 | ScriptSetVarVE { |
332 | param RsScript s | ||||
333 | param uint32_t slot | ||||
334 | param const void * data | ||||
335 | param RsElement e | ||||
336 | param const size_t * dims | ||||
337 | } | ||||
338 | |||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 339 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 340 | ScriptCCreate { |
Shih-wei Liao | 9503b66 | 2010-11-08 01:33:59 -0800 | [diff] [blame] | 341 | param const char * resName |
Shih-wei Liao | 15849d9 | 2010-12-10 01:03:59 -0800 | [diff] [blame] | 342 | param const char * cacheDir |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 343 | param const char * text |
344 | ret RsScript | ||||
345 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 346 | |
Jason Sams | 8eaba4f | 2012-08-14 14:38:05 -0700 | [diff] [blame] | 347 | ScriptIntrinsicCreate { |
348 | param uint32_t id | ||||
349 | param RsElement eid | ||||
350 | ret RsScript | ||||
351 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 352 | |
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 353 | ScriptKernelIDCreate { |
354 | direct | ||||
355 | param RsScript sid | ||||
356 | param int slot | ||||
357 | param int sig | ||||
358 | ret RsScriptKernelID | ||||
359 | } | ||||
360 | |||||
361 | ScriptFieldIDCreate { | ||||
362 | direct | ||||
363 | param RsScript sid | ||||
364 | param int slot | ||||
365 | ret RsScriptFieldID | ||||
366 | } | ||||
367 | |||||
368 | ScriptGroupCreate { | ||||
369 | direct | ||||
370 | param RsScriptKernelID * kernels | ||||
371 | param RsScriptKernelID * src | ||||
372 | param RsScriptKernelID * dstK | ||||
373 | param RsScriptFieldID * dstF | ||||
374 | param const RsType * type | ||||
375 | ret RsScriptGroup | ||||
376 | } | ||||
377 | |||||
378 | ScriptGroupSetOutput { | ||||
379 | param RsScriptGroup group | ||||
380 | param RsScriptKernelID kernel | ||||
381 | param RsAllocation alloc | ||||
382 | } | ||||
383 | |||||
384 | ScriptGroupSetInput { | ||||
385 | param RsScriptGroup group | ||||
386 | param RsScriptKernelID kernel | ||||
387 | param RsAllocation alloc | ||||
388 | } | ||||
389 | |||||
390 | ScriptGroupExecute { | ||||
391 | param RsScriptGroup group | ||||
392 | } | ||||
393 | |||||
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 394 | AllocationIoSend { |
395 | param RsAllocation alloc | ||||
396 | } | ||||
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 397 | |
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 398 | AllocationIoReceive { |
399 | param RsAllocation alloc | ||||
400 | } | ||||
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 401 |