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 | 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 | ||||
Stephen Hines | 8f615d6 | 2013-12-20 12:23:32 -0800 | [diff] [blame] | 49 | param RsAllocationMipmapControl mipmaps |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 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 | ||||
Stephen Hines | 8f615d6 | 2013-12-20 12:23:32 -0800 | [diff] [blame] | 58 | param RsAllocationMipmapControl mipmaps |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 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 | ||||
Stephen Hines | 8f615d6 | 2013-12-20 12:23:32 -0800 | [diff] [blame] | 67 | param RsAllocationMipmapControl mipmaps |
Jason Sams | 186e591 | 2011-04-26 14:50:00 -0700 | [diff] [blame] | 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 |
Tim Murray | 397b0b1 | 2014-01-07 15:35:08 -0800 | [diff] [blame] | 108 | handcodeApi |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 109 | } |
Jason Sams | 707aaf3 | 2009-08-18 14:14:24 -0700 | [diff] [blame] | 110 | |
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 111 | ElementCreate { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 112 | direct |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 113 | param RsDataType mType |
114 | param RsDataKind mKind | ||||
115 | param bool mNormalized | ||||
116 | param uint32_t mVectorSize | ||||
117 | ret RsElement | ||||
118 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 119 | |
Jason Sams | d01d970 | 2009-12-23 14:35:29 -0800 | [diff] [blame] | 120 | ElementCreate2 { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 121 | direct |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 122 | param const RsElement * elements |
123 | param const char ** names | ||||
124 | param const uint32_t * arraySize | ||||
125 | ret RsElement | ||||
126 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 127 | |
Jason Sams | 837e388 | 2010-12-10 16:03:15 -0800 | [diff] [blame] | 128 | AllocationCopyToBitmap { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 129 | param RsAllocation alloc |
130 | param void * data | ||||
131 | } | ||||
Alex Sakhartchouk | 39f2ef6 | 2010-10-11 12:35:15 -0700 | [diff] [blame] | 132 | |
Jason Sams | b8a94e2 | 2014-02-24 17:52:32 -0800 | [diff] [blame] | 133 | AllocationGetPointer { |
134 | param RsAllocation va | ||||
135 | param uint32_t lod | ||||
136 | param RsAllocationCubemapFace face | ||||
137 | param uint32_t z | ||||
138 | param uint32_t array | ||||
139 | param size_t *stride | ||||
140 | ret void *s | ||||
141 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 142 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 143 | Allocation1DData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 144 | param RsAllocation va |
145 | param uint32_t xoff | ||||
146 | param uint32_t lod | ||||
147 | param uint32_t count | ||||
148 | param const void *data | ||||
149 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 150 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 151 | Allocation1DElementData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 152 | param RsAllocation va |
153 | param uint32_t x | ||||
154 | param uint32_t lod | ||||
155 | param const void *data | ||||
156 | param size_t comp_offset | ||||
157 | } | ||||
Jason Sams | 5f0c84c | 2010-08-31 13:50:42 -0700 | [diff] [blame] | 158 | |
Jason Sams | 4b45b89 | 2010-12-29 14:31:29 -0800 | [diff] [blame] | 159 | Allocation2DData { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 160 | param RsAllocation va |
161 | param uint32_t xoff | ||||
162 | param uint32_t yoff | ||||
163 | param uint32_t lod | ||||
164 | param RsAllocationCubemapFace face | ||||
165 | param uint32_t w | ||||
166 | param uint32_t h | ||||
167 | param const void *data | ||||
Tim Murray | 358747a | 2012-11-26 13:52:04 -0800 | [diff] [blame] | 168 | param size_t stride |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 169 | } |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 170 | |
Jason Sams | 3bbc0fd | 2013-04-09 14:16:13 -0700 | [diff] [blame] | 171 | Allocation3DData { |
172 | param RsAllocation va | ||||
173 | param uint32_t xoff | ||||
174 | param uint32_t yoff | ||||
175 | param uint32_t zoff | ||||
176 | param uint32_t lod | ||||
177 | param uint32_t w | ||||
178 | param uint32_t h | ||||
179 | param uint32_t d | ||||
180 | param const void *data | ||||
181 | param size_t stride | ||||
182 | } | ||||
183 | |||||
Jason Sams | a237151 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 184 | AllocationGenerateMipmaps { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 185 | param RsAllocation va |
Jason Sams | a237151 | 2011-01-12 13:28:37 -0800 | [diff] [blame] | 186 | } |
187 | |||||
Jason Sams | e579df4 | 2009-08-10 14:55:26 -0700 | [diff] [blame] | 188 | AllocationRead { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 189 | param RsAllocation va |
190 | param void * data | ||||
191 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 192 | |
Tim Murray | 509ea5c | 2012-11-13 11:56:40 -0800 | [diff] [blame] | 193 | Allocation1DRead { |
194 | param RsAllocation va | ||||
195 | param uint32_t xoff | ||||
196 | param uint32_t lod | ||||
197 | param uint32_t count | ||||
198 | param void *data | ||||
199 | } | ||||
200 | |||||
Tim Murray | 7b3e309 | 2012-11-16 13:32:24 -0800 | [diff] [blame] | 201 | Allocation2DRead { |
202 | param RsAllocation va | ||||
203 | param uint32_t xoff | ||||
204 | param uint32_t yoff | ||||
205 | param uint32_t lod | ||||
206 | param RsAllocationCubemapFace face | ||||
207 | param uint32_t w | ||||
208 | param uint32_t h | ||||
209 | param void *data | ||||
Tim Murray | 358747a | 2012-11-26 13:52:04 -0800 | [diff] [blame] | 210 | param size_t stride |
Tim Murray | 7b3e309 | 2012-11-16 13:32:24 -0800 | [diff] [blame] | 211 | } |
Tim Murray | 509ea5c | 2012-11-13 11:56:40 -0800 | [diff] [blame] | 212 | |
Tim Murray | 8c1da3f | 2013-07-17 12:22:19 -0700 | [diff] [blame] | 213 | |
Jason Sams | 366c9c8 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 214 | AllocationSyncAll { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 215 | param RsAllocation va |
216 | param RsAllocationUsageType src | ||||
Jason Sams | 366c9c8 | 2010-12-08 16:14:36 -0800 | [diff] [blame] | 217 | } |
218 | |||||
Jason Sams | 96abf81 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 219 | AllocationResize1D { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 220 | param RsAllocation va |
221 | param uint32_t dimX | ||||
222 | } | ||||
Jason Sams | 96abf81 | 2010-10-05 13:32:49 -0700 | [diff] [blame] | 223 | |
Alex Sakhartchouk | 74a8279 | 2011-06-14 11:13:19 -0700 | [diff] [blame] | 224 | AllocationCopy2DRange { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 225 | param RsAllocation dest |
226 | param uint32_t destXoff | ||||
227 | param uint32_t destYoff | ||||
228 | param uint32_t destMip | ||||
229 | param uint32_t destFace | ||||
230 | param uint32_t width | ||||
231 | param uint32_t height | ||||
232 | param RsAllocation src | ||||
233 | param uint32_t srcXoff | ||||
234 | param uint32_t srcYoff | ||||
235 | param uint32_t srcMip | ||||
236 | param uint32_t srcFace | ||||
237 | } | ||||
Alex Sakhartchouk | 74a8279 | 2011-06-14 11:13:19 -0700 | [diff] [blame] | 238 | |
Jason Sams | 3bbc0fd | 2013-04-09 14:16:13 -0700 | [diff] [blame] | 239 | AllocationCopy3DRange { |
240 | param RsAllocation dest | ||||
241 | param uint32_t destXoff | ||||
242 | param uint32_t destYoff | ||||
243 | param uint32_t destZoff | ||||
244 | param uint32_t destMip | ||||
245 | param uint32_t width | ||||
246 | param uint32_t height | ||||
247 | param uint32_t depth | ||||
248 | param RsAllocation src | ||||
249 | param uint32_t srcXoff | ||||
250 | param uint32_t srcYoff | ||||
251 | param uint32_t srcZoff | ||||
252 | param uint32_t srcMip | ||||
253 | } | ||||
254 | |||||
255 | |||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 256 | SamplerCreate { |
Alex Sakhartchouk | c700e64 | 2011-08-16 13:09:46 -0700 | [diff] [blame] | 257 | direct |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 258 | param RsSamplerValue magFilter |
259 | param RsSamplerValue minFilter | ||||
260 | param RsSamplerValue wrapS | ||||
261 | param RsSamplerValue wrapT | ||||
262 | param RsSamplerValue wrapR | ||||
263 | param float mAniso | ||||
264 | ret RsSampler | ||||
265 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 266 | |
267 | ScriptBindAllocation { | ||||
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 268 | param RsScript vtm |
269 | param RsAllocation va | ||||
270 | param uint32_t slot | ||||
271 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 272 | |
Jason Sams | d34b725 | 2009-08-04 16:58:20 -0700 | [diff] [blame] | 273 | ScriptSetTimeZone { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 274 | param RsScript s |
275 | param const char * timeZone | ||||
276 | } | ||||
Romain Guy | 98e10fd | 2009-07-30 18:45:01 -0700 | [diff] [blame] | 277 | |
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 278 | ScriptInvoke { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 279 | param RsScript s |
280 | param uint32_t slot | ||||
281 | } | ||||
Jason Sams | 8c6bc69 | 2009-09-16 15:04:38 -0700 | [diff] [blame] | 282 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 283 | ScriptInvokeV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 284 | param RsScript s |
285 | param uint32_t slot | ||||
286 | param const void * data | ||||
287 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 288 | |
Alex Sakhartchouk | c2c02a8 | 2011-05-04 17:45:36 -0700 | [diff] [blame] | 289 | ScriptForEach { |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 290 | param RsScript s |
291 | param uint32_t slot | ||||
292 | param RsAllocation ain | ||||
293 | param RsAllocation aout | ||||
294 | param const void * usr | ||||
Tim Murray | d4ecb17 | 2013-02-07 12:17:03 -0800 | [diff] [blame] | 295 | param const RsScriptCall * sc |
Jason Sams | 5fb1aeb | 2011-04-27 15:12:49 -0700 | [diff] [blame] | 296 | } |
297 | |||||
Chris Wailes | 4b3c34e | 2014-06-11 12:00:29 -0700 | [diff] [blame] | 298 | ScriptForEachMulti { |
299 | param RsScript s | ||||
300 | param uint32_t slot | ||||
301 | param RsAllocation * ains | ||||
302 | param RsAllocation aout | ||||
303 | param const void * usr | ||||
304 | param const RsScriptCall * sc | ||||
305 | } | ||||
306 | |||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 307 | ScriptSetVarI { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 308 | param RsScript s |
309 | param uint32_t slot | ||||
310 | param int value | ||||
311 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 312 | |
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 313 | ScriptSetVarObj { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 314 | param RsScript s |
315 | param uint32_t slot | ||||
316 | param RsObjectBase value | ||||
317 | } | ||||
Jason Sams | a5eb6e1 | 2010-11-16 17:37:02 -0800 | [diff] [blame] | 318 | |
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 319 | ScriptSetVarJ { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 320 | param RsScript s |
321 | param uint32_t slot | ||||
322 | param int64_t value | ||||
323 | } | ||||
Stephen Hines | 0977c94 | 2010-10-11 10:54:21 -0700 | [diff] [blame] | 324 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 325 | ScriptSetVarF { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 326 | param RsScript s |
327 | param uint32_t slot | ||||
328 | param float value | ||||
329 | } | ||||
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 330 | |
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 331 | ScriptSetVarD { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 332 | param RsScript s |
333 | param uint32_t slot | ||||
334 | param double value | ||||
335 | } | ||||
Stephen Hines | 6d0a074 | 2010-09-20 17:20:30 -0700 | [diff] [blame] | 336 | |
Jason Sams | be36bf3 | 2010-05-11 14:03:58 -0700 | [diff] [blame] | 337 | ScriptSetVarV { |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 338 | param RsScript s |
339 | param uint32_t slot | ||||
340 | param const void * data | ||||
341 | } | ||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 342 | |
Tim Murray | 9c64239 | 2013-04-11 13:29:59 -0700 | [diff] [blame] | 343 | ScriptGetVarV { |
344 | param RsScript s | ||||
345 | param uint32_t slot | ||||
346 | param void * data | ||||
347 | sync | ||||
348 | } | ||||
349 | |||||
Stephen Hines | 2980f07 | 2012-04-09 18:26:29 -0700 | [diff] [blame] | 350 | ScriptSetVarVE { |
351 | param RsScript s | ||||
352 | param uint32_t slot | ||||
353 | param const void * data | ||||
354 | param RsElement e | ||||
Stephen Hines | ac8d146 | 2014-06-25 00:01:23 -0700 | [diff] [blame] | 355 | param const uint32_t * dims |
Stephen Hines | 2980f07 | 2012-04-09 18:26:29 -0700 | [diff] [blame] | 356 | } |
357 | |||||
Jason Sams | fa51719 | 2009-08-13 12:59:04 -0700 | [diff] [blame] | 358 | |
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 359 | ScriptCCreate { |
Shih-wei Liao | 9503b66 | 2010-11-08 01:33:59 -0800 | [diff] [blame] | 360 | param const char * resName |
Shih-wei Liao | 15849d9 | 2010-12-10 01:03:59 -0800 | [diff] [blame] | 361 | param const char * cacheDir |
Alex Sakhartchouk | 748eb07 | 2012-02-15 16:21:46 -0800 | [diff] [blame] | 362 | param const char * text |
363 | ret RsScript | ||||
364 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 365 | |
Jason Sams | 8eaba4f | 2012-08-14 14:38:05 -0700 | [diff] [blame] | 366 | ScriptIntrinsicCreate { |
367 | param uint32_t id | ||||
368 | param RsElement eid | ||||
369 | ret RsScript | ||||
370 | } | ||||
Jason Sams | 326e0dd | 2009-05-22 14:03:28 -0700 | [diff] [blame] | 371 | |
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 372 | ScriptKernelIDCreate { |
373 | direct | ||||
374 | param RsScript sid | ||||
375 | param int slot | ||||
376 | param int sig | ||||
377 | ret RsScriptKernelID | ||||
378 | } | ||||
379 | |||||
380 | ScriptFieldIDCreate { | ||||
381 | direct | ||||
382 | param RsScript sid | ||||
383 | param int slot | ||||
384 | ret RsScriptFieldID | ||||
385 | } | ||||
386 | |||||
387 | ScriptGroupCreate { | ||||
388 | direct | ||||
389 | param RsScriptKernelID * kernels | ||||
390 | param RsScriptKernelID * src | ||||
391 | param RsScriptKernelID * dstK | ||||
392 | param RsScriptFieldID * dstF | ||||
393 | param const RsType * type | ||||
394 | ret RsScriptGroup | ||||
395 | } | ||||
396 | |||||
397 | ScriptGroupSetOutput { | ||||
398 | param RsScriptGroup group | ||||
399 | param RsScriptKernelID kernel | ||||
400 | param RsAllocation alloc | ||||
401 | } | ||||
402 | |||||
403 | ScriptGroupSetInput { | ||||
404 | param RsScriptGroup group | ||||
405 | param RsScriptKernelID kernel | ||||
406 | param RsAllocation alloc | ||||
407 | } | ||||
408 | |||||
409 | ScriptGroupExecute { | ||||
410 | param RsScriptGroup group | ||||
411 | } | ||||
412 | |||||
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 413 | AllocationIoSend { |
414 | param RsAllocation alloc | ||||
415 | } | ||||
Jason Sams | dbe66d6 | 2012-09-17 13:54:41 -0700 | [diff] [blame] | 416 | |
Tim Murray | 4a92d12 | 2013-07-22 10:56:18 -0700 | [diff] [blame] | 417 | AllocationIoReceive { |
418 | param RsAllocation alloc | ||||
419 | } |