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