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 349 350ProgramStoreCreate { 351 direct 352 param bool colorMaskR 353 param bool colorMaskG 354 param bool colorMaskB 355 param bool colorMaskA 356 param bool depthMask 357 param bool ditherEnable 358 param RsBlendSrcFunc srcFunc 359 param RsBlendDstFunc destFunc 360 param RsDepthFunc depthFunc 361 ret RsProgramStore 362 } 363 364ProgramRasterCreate { 365 direct 366 param bool pointSprite 367 param RsCullMode cull 368 ret RsProgramRaster 369} 370 371ProgramBindConstants { 372 param RsProgram vp 373 param uint32_t slot 374 param RsAllocation constants 375 } 376 377 378ProgramBindTexture { 379 param RsProgramFragment pf 380 param uint32_t slot 381 param RsAllocation a 382 } 383 384ProgramBindSampler { 385 param RsProgramFragment pf 386 param uint32_t slot 387 param RsSampler s 388 } 389 390ProgramFragmentCreate { 391 direct 392 param const char * shaderText 393 param const char ** textureNames 394 param const uint32_t * params 395 ret RsProgramFragment 396 } 397 398ProgramVertexCreate { 399 direct 400 param const char * shaderText 401 param const char ** textureNames 402 param const uint32_t * params 403 ret RsProgramVertex 404 } 405 406FontCreateFromFile { 407 param const char *name 408 param float fontSize 409 param uint32_t dpi 410 ret RsFont 411 } 412 413FontCreateFromMemory { 414 param const char *name 415 param float fontSize 416 param uint32_t dpi 417 param const void *data 418 ret RsFont 419 } 420 421MeshCreate { 422 param RsAllocation *vtx 423 param RsAllocation *idx 424 param uint32_t *primType 425 ret RsMesh 426 } 427 428PathCreate { 429 param RsPathPrimitive pp 430 param bool isStatic 431 param RsAllocation vertex 432 param RsAllocation loops 433 param float quality 434 ret RsPath 435 } 436