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