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 | |||||
285 | ClosureSetArg { | ||||
286 | param RsClosure closureID | ||||
287 | param uint32_t index | ||||
288 | param uintptr_t value | ||||
289 | param size_t valueSize | ||||
290 | } | ||||
291 | |||||
292 | ClosureSetGlobal { | ||||
293 | param RsClosure closureID | ||||
294 | param RsScriptFieldID fieldID | ||||
295 | param uintptr_t value | ||||
296 | param size_t valueSize | ||||
297 | } | ||||
Jason Sams | 3bbc0fd | 2013-04-09 14:16:13 -0700 | [diff] [blame] | 298 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 299 | SamplerCreate { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 300 | direct |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 301 | param RsSamplerValue magFilter |
302 | param RsSamplerValue minFilter | ||||
303 | param RsSamplerValue wrapS | ||||
304 | param RsSamplerValue wrapT | ||||
305 | param RsSamplerValue wrapR | ||||
306 | param float mAniso | ||||
307 | ret RsSampler | ||||
308 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 309 | |
310 | ScriptBindAllocation { | ||||
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 311 | param RsScript vtm |
312 | param RsAllocation va | ||||
313 | param uint32_t slot | ||||
314 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 315 | |
Jason Sams | d34b725 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 316 | ScriptSetTimeZone { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 317 | param RsScript s |
318 | param const char * timeZone | ||||
319 | } | ||||
Romain Guy | 98e10fd | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 320 | |
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 321 | ScriptInvoke { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 322 | param RsScript s |
323 | param uint32_t slot | ||||
324 | } | ||||
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 325 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 326 | ScriptInvokeV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 327 | param RsScript s |
328 | param uint32_t slot | ||||
329 | param const void * data | ||||
330 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 331 | |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 332 | ScriptForEach { |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 333 | param RsScript s |
334 | param uint32_t slot | ||||
335 | param RsAllocation ain | ||||
336 | param RsAllocation aout | ||||
337 | param const void * usr | ||||
Tim Murray | d4ecb17 | 2013-02-07 12:17:03 -0800 | [diff] [blame] | 338 | param const RsScriptCall * sc |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 339 | } |
340 | |||||
Chris Wailes | 4b3c34e | 2014-06-11 12:00:29 -0700 | [diff] [blame] | 341 | ScriptForEachMulti { |
342 | param RsScript s | ||||
343 | param uint32_t slot | ||||
344 | param RsAllocation * ains | ||||
345 | param RsAllocation aout | ||||
346 | param const void * usr | ||||
347 | param const RsScriptCall * sc | ||||
348 | } | ||||
349 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 350 | ScriptSetVarI { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 351 | param RsScript s |
352 | param uint32_t slot | ||||
353 | param int value | ||||
354 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 355 | |
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 356 | ScriptSetVarObj { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 357 | param RsScript s |
358 | param uint32_t slot | ||||
359 | param RsObjectBase value | ||||
360 | } | ||||
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 361 | |
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 362 | ScriptSetVarJ { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 363 | param RsScript s |
364 | param uint32_t slot | ||||
365 | param int64_t value | ||||
366 | } | ||||
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 367 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 368 | ScriptSetVarF { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 369 | param RsScript s |
370 | param uint32_t slot | ||||
371 | param float value | ||||
372 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 373 | |
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 374 | ScriptSetVarD { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 375 | param RsScript s |
376 | param uint32_t slot | ||||
377 | param double value | ||||
378 | } | ||||
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 379 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 380 | ScriptSetVarV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 381 | param RsScript s |
382 | param uint32_t slot | ||||
383 | param const void * data | ||||
384 | } | ||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 385 | |
Tim Murray | 9c64239 | 2013-04-11 13:29:59 -0700 | [diff] [blame] | 386 | ScriptGetVarV { |
387 | param RsScript s | ||||
388 | param uint32_t slot | ||||
389 | param void * data | ||||
390 | sync | ||||
391 | } | ||||
392 | |||||
Stephen Hines | 2980f07 | 2012-04-09 18:26:29 -0700 | [diff] [blame] | 393 | ScriptSetVarVE { |
394 | param RsScript s | ||||
395 | param uint32_t slot | ||||
396 | param const void * data | ||||
397 | param RsElement e | ||||
Stephen Hines | ac8d146 | 2014-06-25 00:01:23 -0700 | [diff] [blame] | 398 | param const uint32_t * dims |
Stephen Hines | 2980f07 | 2012-04-09 18:26:29 -0700 | [diff] [blame] | 399 | } |
400 | |||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 401 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 402 | ScriptCCreate { |
Shih-wei Liao | 9503b66 | 2010-11-08 01:33:59 -0800 | [diff] [blame] | 403 | param const char * resName |
Shih-wei Liao | 15849d9 | 2010-12-10 01:03:59 -0800 | [diff] [blame] | 404 | param const char * cacheDir |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 405 | param const char * text |
406 | ret RsScript | ||||
407 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 408 | |
Jason Sams | 8eaba4f | 2012-08-14 14:38:05 -0700 | [diff] [blame] | 409 | ScriptIntrinsicCreate { |
410 | param uint32_t id | ||||
411 | param RsElement eid | ||||
412 | ret RsScript | ||||
413 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 414 | |
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 415 | ScriptKernelIDCreate { |
416 | direct | ||||
417 | param RsScript sid | ||||
418 | param int slot | ||||
419 | param int sig | ||||
420 | ret RsScriptKernelID | ||||
421 | } | ||||
422 | |||||
423 | ScriptFieldIDCreate { | ||||
424 | direct | ||||
425 | param RsScript sid | ||||
426 | param int slot | ||||
427 | ret RsScriptFieldID | ||||
428 | } | ||||
429 | |||||
430 | ScriptGroupCreate { | ||||
431 | direct | ||||
432 | param RsScriptKernelID * kernels | ||||
433 | param RsScriptKernelID * src | ||||
434 | param RsScriptKernelID * dstK | ||||
435 | param RsScriptFieldID * dstF | ||||
436 | param const RsType * type | ||||
437 | ret RsScriptGroup | ||||
438 | } | ||||
439 | |||||
440 | ScriptGroupSetOutput { | ||||
441 | param RsScriptGroup group | ||||
442 | param RsScriptKernelID kernel | ||||
443 | param RsAllocation alloc | ||||
444 | } | ||||
445 | |||||
446 | ScriptGroupSetInput { | ||||
447 | param RsScriptGroup group | ||||
448 | param RsScriptKernelID kernel | ||||
449 | param RsAllocation alloc | ||||
450 | } | ||||
451 | |||||
452 | ScriptGroupExecute { | ||||
453 | param RsScriptGroup group | ||||
454 | } | ||||
455 | |||||
Yang Ni | 1ffd86b | 2015-01-07 09:16:40 -0800 | [diff] [blame] | 456 | ScriptGroup2Create{ |
457 | direct | ||||
458 | param RsClosure * closures | ||||
459 | ret RsScriptGroup2 | ||||
460 | } | ||||
461 | |||||
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 462 | AllocationIoSend { |
463 | param RsAllocation alloc | ||||
464 | } | ||||
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 465 | |
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 466 | AllocationIoReceive { |
467 | param RsAllocation alloc | ||||
468 | } |