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 ret RsAllocation 46} 47 48AllocationCreateFromBitmap { 49 direct 50 param RsType vtype 51 param RsAllocationMipmapControl mips 52 param const void *data 53 param uint32_t usages 54 ret RsAllocation 55} 56 57AllocationCubeCreateFromBitmap { 58 direct 59 param RsType vtype 60 param RsAllocationMipmapControl mips 61 param const void *data 62 param uint32_t usages 63 ret RsAllocation 64} 65 66 67 68ContextFinish { 69 sync 70 } 71 72ContextBindRootScript { 73 param RsScript sampler 74 } 75 76ContextBindProgramStore { 77 param RsProgramStore pgm 78 } 79 80ContextBindProgramFragment { 81 param RsProgramFragment pgm 82 } 83 84ContextBindProgramVertex { 85 param RsProgramVertex pgm 86 } 87 88ContextBindProgramRaster { 89 param RsProgramRaster pgm 90 } 91 92ContextBindFont { 93 param RsFont pgm 94 } 95 96ContextPause { 97 } 98 99ContextResume { 100 } 101 102ContextSetSurface { 103 param uint32_t width 104 param uint32_t height 105 param RsNativeWindow sur 106 sync 107 } 108 109ContextDump { 110 param int32_t bits 111} 112 113ContextSetPriority { 114 param int32_t priority 115 } 116 117ContextDestroyWorker { 118} 119 120AssignName { 121 param RsObjectBase obj 122 param const char *name 123 } 124 125ObjDestroy { 126 param RsAsyncVoidPtr objPtr 127 } 128 129ElementCreate { 130 direct 131 param RsDataType mType 132 param RsDataKind mKind 133 param bool mNormalized 134 param uint32_t mVectorSize 135 ret RsElement 136 } 137 138ElementCreate2 { 139 direct 140 param const RsElement * elements 141 param const char ** names 142 param const uint32_t * arraySize 143 ret RsElement 144 } 145 146AllocationCopyToBitmap { 147 param RsAllocation alloc 148 param void * data 149 } 150 151 152Allocation1DData { 153 param RsAllocation va 154 param uint32_t xoff 155 param uint32_t lod 156 param uint32_t count 157 param const void *data 158 } 159 160Allocation1DElementData { 161 param RsAllocation va 162 param uint32_t x 163 param uint32_t lod 164 param const void *data 165 param uint32_t comp_offset 166 } 167 168Allocation2DData { 169 param RsAllocation va 170 param uint32_t xoff 171 param uint32_t yoff 172 param uint32_t lod 173 param RsAllocationCubemapFace face 174 param uint32_t w 175 param uint32_t h 176 param const void *data 177 } 178 179Allocation2DElementData { 180 param RsAllocation va 181 param uint32_t x 182 param uint32_t y 183 param uint32_t lod 184 param RsAllocationCubemapFace face 185 param const void *data 186 param uint32_t element_offset 187 } 188 189AllocationGenerateMipmaps { 190 param RsAllocation va 191} 192 193AllocationRead { 194 param RsAllocation va 195 param void * data 196 } 197 198AllocationSyncAll { 199 param RsAllocation va 200 param RsAllocationUsageType src 201} 202 203 204AllocationResize1D { 205 param RsAllocation va 206 param uint32_t dimX 207 } 208 209AllocationResize2D { 210 param RsAllocation va 211 param uint32_t dimX 212 param uint32_t dimY 213 } 214 215AllocationCopy2DRange { 216 param RsAllocation dest 217 param uint32_t destXoff 218 param uint32_t destYoff 219 param uint32_t destMip 220 param uint32_t destFace 221 param uint32_t width 222 param uint32_t height 223 param RsAllocation src 224 param uint32_t srcXoff 225 param uint32_t srcYoff 226 param uint32_t srcMip 227 param uint32_t srcFace 228 } 229 230SamplerCreate { 231 direct 232 param RsSamplerValue magFilter 233 param RsSamplerValue minFilter 234 param RsSamplerValue wrapS 235 param RsSamplerValue wrapT 236 param RsSamplerValue wrapR 237 param float mAniso 238 ret RsSampler 239} 240 241ScriptBindAllocation { 242 param RsScript vtm 243 param RsAllocation va 244 param uint32_t slot 245 } 246 247ScriptSetTimeZone { 248 param RsScript s 249 param const char * timeZone 250 } 251 252ScriptInvoke { 253 param RsScript s 254 param uint32_t slot 255 } 256 257ScriptInvokeV { 258 param RsScript s 259 param uint32_t slot 260 param const void * data 261 } 262 263ScriptForEach { 264 param RsScript s 265 param uint32_t slot 266 param RsAllocation ain 267 param RsAllocation aout 268 param const void * usr 269} 270 271ScriptSetVarI { 272 param RsScript s 273 param uint32_t slot 274 param int value 275 } 276 277ScriptSetVarObj { 278 param RsScript s 279 param uint32_t slot 280 param RsObjectBase value 281 } 282 283ScriptSetVarJ { 284 param RsScript s 285 param uint32_t slot 286 param int64_t value 287 } 288 289ScriptSetVarF { 290 param RsScript s 291 param uint32_t slot 292 param float value 293 } 294 295ScriptSetVarD { 296 param RsScript s 297 param uint32_t slot 298 param double value 299 } 300 301ScriptSetVarV { 302 param RsScript s 303 param uint32_t slot 304 param const void * data 305 } 306 307 308ScriptCCreate { 309 param const char * resName 310 param const char * cacheDir 311 param const char * text 312 ret RsScript 313 } 314 315 316ProgramStoreCreate { 317 direct 318 param bool colorMaskR 319 param bool colorMaskG 320 param bool colorMaskB 321 param bool colorMaskA 322 param bool depthMask 323 param bool ditherEnable 324 param RsBlendSrcFunc srcFunc 325 param RsBlendDstFunc destFunc 326 param RsDepthFunc depthFunc 327 ret RsProgramStore 328 } 329 330ProgramRasterCreate { 331 direct 332 param bool pointSprite 333 param RsCullMode cull 334 ret RsProgramRaster 335} 336 337ProgramBindConstants { 338 param RsProgram vp 339 param uint32_t slot 340 param RsAllocation constants 341 } 342 343 344ProgramBindTexture { 345 param RsProgramFragment pf 346 param uint32_t slot 347 param RsAllocation a 348 } 349 350ProgramBindSampler { 351 param RsProgramFragment pf 352 param uint32_t slot 353 param RsSampler s 354 } 355 356ProgramFragmentCreate { 357 direct 358 param const char * shaderText 359 param const uint32_t * params 360 ret RsProgramFragment 361 } 362 363ProgramVertexCreate { 364 direct 365 param const char * shaderText 366 param const uint32_t * params 367 ret RsProgramVertex 368 } 369 370FontCreateFromFile { 371 param const char *name 372 param float fontSize 373 param uint32_t dpi 374 ret RsFont 375 } 376 377FontCreateFromMemory { 378 param const char *name 379 param float fontSize 380 param uint32_t dpi 381 param const void *data 382 ret RsFont 383 } 384 385MeshCreate { 386 param RsAllocation *vtx 387 param RsAllocation *idx 388 param uint32_t *primType 389 ret RsMesh 390 } 391