1 2ContextDestroy { 3 direct 4} 5 6ContextGetMessage { 7 direct 8 param void *data 9 param size_t *receiveLen 10 param uint32_t *usrID 11 ret RsMessageToClientType 12} 13 14ContextPeekMessage { 15 direct 16 param size_t *receiveLen 17 param uint32_t *usrID 18 ret RsMessageToClientType 19} 20 21ContextSendMessage { 22 param uint32_t id 23 param const uint8_t *data 24} 25 26ContextInitToClient { 27 direct 28} 29 30ContextDeinitToClient { 31 direct 32} 33 34TypeCreate { 35 direct 36 param RsElement e 37 param uint32_t dimX 38 param uint32_t dimY 39 param uint32_t dimZ 40 param bool mipmaps 41 param bool faces 42 param uint32_t yuv 43 ret RsType 44} 45 46AllocationCreateTyped { 47 direct 48 param RsType vtype 49 param RsAllocationMipmapControl mipmaps 50 param uint32_t usages 51 param uintptr_t ptr 52 ret RsAllocation 53} 54 55AllocationCreateFromBitmap { 56 direct 57 param RsType vtype 58 param RsAllocationMipmapControl mipmaps 59 param const void *data 60 param uint32_t usages 61 ret RsAllocation 62} 63 64AllocationCubeCreateFromBitmap { 65 direct 66 param RsType vtype 67 param RsAllocationMipmapControl mipmaps 68 param const void *data 69 param uint32_t usages 70 ret RsAllocation 71} 72 73AllocationGetSurface { 74 param RsAllocation alloc 75 sync 76 ret RsNativeWindow 77} 78 79AllocationSetSurface { 80 param RsAllocation alloc 81 param RsNativeWindow sur 82 sync 83 } 84 85ContextFinish { 86 sync 87 } 88 89ContextDump { 90 param int32_t bits 91} 92 93ContextSetPriority { 94 param int32_t priority 95 } 96 97ContextDestroyWorker { 98 sync 99} 100 101AssignName { 102 param RsObjectBase obj 103 param const char *name 104 } 105 106ObjDestroy { 107 param RsAsyncVoidPtr objPtr 108 handcodeApi 109 } 110 111ElementCreate { 112 direct 113 param RsDataType mType 114 param RsDataKind mKind 115 param bool mNormalized 116 param uint32_t mVectorSize 117 ret RsElement 118 } 119 120ElementCreate2 { 121 direct 122 param const RsElement * elements 123 param const char ** names 124 param const uint32_t * arraySize 125 ret RsElement 126 } 127 128AllocationCopyToBitmap { 129 param RsAllocation alloc 130 param void * data 131 } 132 133AllocationGetPointer { 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 } 142 143Allocation1DData { 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 } 150 151Allocation1DElementData { 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 } 158 159Allocation2DData { 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 168 param size_t stride 169 } 170 171Allocation3DData { 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 184AllocationGenerateMipmaps { 185 param RsAllocation va 186} 187 188AllocationRead { 189 param RsAllocation va 190 param void * data 191 } 192 193Allocation1DRead { 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 201Allocation2DRead { 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 210 param size_t stride 211} 212 213 214AllocationSyncAll { 215 param RsAllocation va 216 param RsAllocationUsageType src 217} 218 219AllocationResize1D { 220 param RsAllocation va 221 param uint32_t dimX 222 } 223 224AllocationCopy2DRange { 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 } 238 239AllocationCopy3DRange { 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 256SamplerCreate { 257 direct 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} 266 267ScriptBindAllocation { 268 param RsScript vtm 269 param RsAllocation va 270 param uint32_t slot 271 } 272 273ScriptSetTimeZone { 274 param RsScript s 275 param const char * timeZone 276 } 277 278ScriptInvoke { 279 param RsScript s 280 param uint32_t slot 281 } 282 283ScriptInvokeV { 284 param RsScript s 285 param uint32_t slot 286 param const void * data 287 } 288 289ScriptForEach { 290 param RsScript s 291 param uint32_t slot 292 param RsAllocation ain 293 param RsAllocation aout 294 param const void * usr 295 param const RsScriptCall * sc 296} 297 298ScriptForEachMulti { 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 307ScriptSetVarI { 308 param RsScript s 309 param uint32_t slot 310 param int value 311 } 312 313ScriptSetVarObj { 314 param RsScript s 315 param uint32_t slot 316 param RsObjectBase value 317 } 318 319ScriptSetVarJ { 320 param RsScript s 321 param uint32_t slot 322 param int64_t value 323 } 324 325ScriptSetVarF { 326 param RsScript s 327 param uint32_t slot 328 param float value 329 } 330 331ScriptSetVarD { 332 param RsScript s 333 param uint32_t slot 334 param double value 335 } 336 337ScriptSetVarV { 338 param RsScript s 339 param uint32_t slot 340 param const void * data 341 } 342 343ScriptGetVarV { 344 param RsScript s 345 param uint32_t slot 346 param void * data 347 sync 348 } 349 350ScriptSetVarVE { 351 param RsScript s 352 param uint32_t slot 353 param const void * data 354 param RsElement e 355 param const uint32_t * dims 356 } 357 358 359ScriptCCreate { 360 param const char * resName 361 param const char * cacheDir 362 param const char * text 363 ret RsScript 364 } 365 366ScriptIntrinsicCreate { 367 param uint32_t id 368 param RsElement eid 369 ret RsScript 370 } 371 372ScriptKernelIDCreate { 373 direct 374 param RsScript sid 375 param int slot 376 param int sig 377 ret RsScriptKernelID 378 } 379 380ScriptFieldIDCreate { 381 direct 382 param RsScript sid 383 param int slot 384 ret RsScriptFieldID 385 } 386 387ScriptGroupCreate { 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 397ScriptGroupSetOutput { 398 param RsScriptGroup group 399 param RsScriptKernelID kernel 400 param RsAllocation alloc 401} 402 403ScriptGroupSetInput { 404 param RsScriptGroup group 405 param RsScriptKernelID kernel 406 param RsAllocation alloc 407} 408 409ScriptGroupExecute { 410 param RsScriptGroup group 411} 412 413AllocationIoSend { 414 param RsAllocation alloc 415 } 416 417AllocationIoReceive { 418 param RsAllocation alloc 419 } 420