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 21ContextInitToClient { 22 direct 23} 24 25ContextDeinitToClient { 26 direct 27} 28 29TypeCreate { 30 direct 31 param RsElement e 32 param uint32_t dimX 33 param uint32_t dimY 34 param uint32_t dimZ 35 param bool mips 36 param bool faces 37 ret RsType 38} 39 40AllocationCreateTyped { 41 direct 42 param RsType vtype 43 param RsAllocationMipmapControl mips 44 param uint32_t usages 45 param uint32_t ptr 46 ret RsAllocation 47} 48 49AllocationCreateFromBitmap { 50 direct 51 param RsType vtype 52 param RsAllocationMipmapControl mips 53 param const void *data 54 param uint32_t usages 55 ret RsAllocation 56} 57 58AllocationCubeCreateFromBitmap { 59 direct 60 param RsType vtype 61 param RsAllocationMipmapControl mips 62 param const void *data 63 param uint32_t usages 64 ret RsAllocation 65} 66 67AllocationGetSurfaceTextureID { 68 param RsAllocation alloc 69 ret int32_t 70} 71 72AllocationGetSurfaceTextureID2 { 73 param RsAllocation alloc 74 param void *st 75 sync 76} 77 78AllocationSetSurface { 79 param RsAllocation alloc 80 param RsNativeWindow sur 81 sync 82 } 83 84AllocationIoSend { 85 param RsAllocation alloc 86 } 87 88AllocationIoReceive { 89 param RsAllocation alloc 90 } 91 92 93ContextFinish { 94 sync 95 } 96 97ContextBindRootScript { 98 param RsScript sampler 99 } 100 101ContextBindProgramStore { 102 param RsProgramStore pgm 103 } 104 105ContextBindProgramFragment { 106 param RsProgramFragment pgm 107 } 108 109ContextBindProgramVertex { 110 param RsProgramVertex pgm 111 } 112 113ContextBindProgramRaster { 114 param RsProgramRaster pgm 115 } 116 117ContextBindFont { 118 param RsFont pgm 119 } 120 121ContextPause { 122 } 123 124ContextResume { 125 } 126 127ContextSetSurface { 128 param uint32_t width 129 param uint32_t height 130 param RsNativeWindow sur 131 sync 132 } 133 134ContextDump { 135 param int32_t bits 136} 137 138ContextSetPriority { 139 param int32_t priority 140 } 141 142ContextDestroyWorker { 143 sync 144} 145 146AssignName { 147 param RsObjectBase obj 148 param const char *name 149 } 150 151ObjDestroy { 152 param RsAsyncVoidPtr objPtr 153 } 154 155ElementCreate { 156 direct 157 param RsDataType mType 158 param RsDataKind mKind 159 param bool mNormalized 160 param uint32_t mVectorSize 161 ret RsElement 162 } 163 164ElementCreate2 { 165 direct 166 param const RsElement * elements 167 param const char ** names 168 param const uint32_t * arraySize 169 ret RsElement 170 } 171 172AllocationCopyToBitmap { 173 param RsAllocation alloc 174 param void * data 175 } 176 177 178Allocation1DData { 179 param RsAllocation va 180 param uint32_t xoff 181 param uint32_t lod 182 param uint32_t count 183 param const void *data 184 } 185 186Allocation1DElementData { 187 param RsAllocation va 188 param uint32_t x 189 param uint32_t lod 190 param const void *data 191 param size_t comp_offset 192 } 193 194Allocation2DData { 195 param RsAllocation va 196 param uint32_t xoff 197 param uint32_t yoff 198 param uint32_t lod 199 param RsAllocationCubemapFace face 200 param uint32_t w 201 param uint32_t h 202 param const void *data 203 } 204 205Allocation2DElementData { 206 param RsAllocation va 207 param uint32_t x 208 param uint32_t y 209 param uint32_t lod 210 param RsAllocationCubemapFace face 211 param const void *data 212 param size_t element_offset 213 } 214 215AllocationGenerateMipmaps { 216 param RsAllocation va 217} 218 219AllocationRead { 220 param RsAllocation va 221 param void * data 222 } 223 224AllocationSyncAll { 225 param RsAllocation va 226 param RsAllocationUsageType src 227} 228 229 230AllocationResize1D { 231 param RsAllocation va 232 param uint32_t dimX 233 } 234 235AllocationResize2D { 236 param RsAllocation va 237 param uint32_t dimX 238 param uint32_t dimY 239 } 240 241AllocationCopy2DRange { 242 param RsAllocation dest 243 param uint32_t destXoff 244 param uint32_t destYoff 245 param uint32_t destMip 246 param uint32_t destFace 247 param uint32_t width 248 param uint32_t height 249 param RsAllocation src 250 param uint32_t srcXoff 251 param uint32_t srcYoff 252 param uint32_t srcMip 253 param uint32_t srcFace 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} 296 297ScriptSetVarI { 298 param RsScript s 299 param uint32_t slot 300 param int value 301 } 302 303ScriptSetVarObj { 304 param RsScript s 305 param uint32_t slot 306 param RsObjectBase value 307 } 308 309ScriptSetVarJ { 310 param RsScript s 311 param uint32_t slot 312 param int64_t value 313 } 314 315ScriptSetVarF { 316 param RsScript s 317 param uint32_t slot 318 param float value 319 } 320 321ScriptSetVarD { 322 param RsScript s 323 param uint32_t slot 324 param double value 325 } 326 327ScriptSetVarV { 328 param RsScript s 329 param uint32_t slot 330 param const void * data 331 } 332 333ScriptSetVarVE { 334 param RsScript s 335 param uint32_t slot 336 param const void * data 337 param RsElement e 338 param const size_t * dims 339 } 340 341 342ScriptCCreate { 343 param const char * resName 344 param const char * cacheDir 345 param const char * text 346 ret RsScript 347 } 348 349ScriptIntrinsicCreate { 350 param uint32_t id 351 param RsElement eid 352 ret RsScript 353 } 354 355ScriptKernelIDCreate { 356 direct 357 param RsScript sid 358 param int slot 359 param int sig 360 ret RsScriptKernelID 361 } 362 363ScriptFieldIDCreate { 364 direct 365 param RsScript sid 366 param int slot 367 ret RsScriptFieldID 368 } 369 370ScriptGroupCreate { 371 direct 372 param RsScriptKernelID * kernels 373 param RsScriptKernelID * src 374 param RsScriptKernelID * dstK 375 param RsScriptFieldID * dstF 376 param const RsType * type 377 ret RsScriptGroup 378} 379 380ScriptGroupSetOutput { 381 param RsScriptGroup group 382 param RsScriptKernelID kernel 383 param RsAllocation alloc 384} 385 386ScriptGroupSetInput { 387 param RsScriptGroup group 388 param RsScriptKernelID kernel 389 param RsAllocation alloc 390} 391 392ScriptGroupExecute { 393 param RsScriptGroup group 394} 395 396 397 398ProgramStoreCreate { 399 direct 400 param bool colorMaskR 401 param bool colorMaskG 402 param bool colorMaskB 403 param bool colorMaskA 404 param bool depthMask 405 param bool ditherEnable 406 param RsBlendSrcFunc srcFunc 407 param RsBlendDstFunc destFunc 408 param RsDepthFunc depthFunc 409 ret RsProgramStore 410 } 411 412ProgramRasterCreate { 413 direct 414 param bool pointSprite 415 param RsCullMode cull 416 ret RsProgramRaster 417} 418 419ProgramBindConstants { 420 param RsProgram vp 421 param uint32_t slot 422 param RsAllocation constants 423 } 424 425 426ProgramBindTexture { 427 param RsProgramFragment pf 428 param uint32_t slot 429 param RsAllocation a 430 } 431 432ProgramBindSampler { 433 param RsProgramFragment pf 434 param uint32_t slot 435 param RsSampler s 436 } 437 438ProgramFragmentCreate { 439 direct 440 param const char * shaderText 441 param const char ** textureNames 442 param const uint32_t * params 443 ret RsProgramFragment 444 } 445 446ProgramVertexCreate { 447 direct 448 param const char * shaderText 449 param const char ** textureNames 450 param const uint32_t * params 451 ret RsProgramVertex 452 } 453 454FontCreateFromFile { 455 param const char *name 456 param float fontSize 457 param uint32_t dpi 458 ret RsFont 459 } 460 461FontCreateFromMemory { 462 param const char *name 463 param float fontSize 464 param uint32_t dpi 465 param const void *data 466 ret RsFont 467 } 468 469MeshCreate { 470 param RsAllocation *vtx 471 param RsAllocation *idx 472 param uint32_t *primType 473 ret RsMesh 474 } 475 476PathCreate { 477 param RsPathPrimitive pp 478 param bool isStatic 479 param RsAllocation vertex 480 param RsAllocation loops 481 param float quality 482 ret RsPath 483 } 484