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