Home | History | Annotate | Download | only in rs
      1 
      2 ContextDestroy {
      3     direct
      4 }
      5 
      6 ContextGetMessage {
      7     direct
      8     param void *data
      9     param size_t *receiveLen
     10     param uint32_t *usrID
     11     ret RsMessageToClientType
     12 }
     13 
     14 ContextPeekMessage {
     15     direct
     16     param size_t *receiveLen
     17     param uint32_t *usrID
     18     ret RsMessageToClientType
     19 }
     20 
     21 ContextSendMessage {
     22     param uint32_t id
     23     param const uint8_t *data
     24 }
     25 
     26 ContextInitToClient {
     27     direct
     28 }
     29 
     30 ContextDeinitToClient {
     31     direct
     32 }
     33 
     34 TypeCreate {
     35     direct
     36     param RsElement e
     37     param uint32_t dimX
     38     param uint32_t dimY
     39     param uint32_t dimZ
     40     param bool mips
     41     param bool faces
     42     param uint32_t yuv
     43     ret RsType
     44 }
     45 
     46 AllocationCreateTyped {
     47     direct
     48     param RsType vtype
     49     param RsAllocationMipmapControl mips
     50     param uint32_t usages
     51     param uintptr_t ptr
     52     ret RsAllocation
     53 }
     54 
     55 AllocationCreateFromBitmap {
     56     direct
     57     param RsType vtype
     58     param RsAllocationMipmapControl mips
     59     param const void *data
     60     param uint32_t usages
     61     ret RsAllocation
     62 }
     63 
     64 AllocationCubeCreateFromBitmap {
     65     direct
     66     param RsType vtype
     67     param RsAllocationMipmapControl mips
     68     param const void *data
     69     param uint32_t usages
     70     ret RsAllocation
     71 }
     72 
     73 AllocationGetSurface {
     74     param RsAllocation alloc
     75     sync
     76     ret RsNativeWindow
     77 }
     78 
     79 AllocationSetSurface {
     80     param RsAllocation alloc
     81     param RsNativeWindow sur
     82     sync
     83     }
     84 
     85 ContextFinish {
     86     sync
     87     }
     88 
     89 ContextDump {
     90     param int32_t bits
     91 }
     92 
     93 ContextSetPriority {
     94     param int32_t priority
     95     }
     96 
     97 ContextDestroyWorker {
     98     sync
     99 }
    100 
    101 AssignName {
    102     param RsObjectBase obj
    103     param const char *name
    104     }
    105 
    106 ObjDestroy {
    107     param RsAsyncVoidPtr objPtr
    108     handcodeApi
    109     }
    110 
    111 ElementCreate {
    112         direct
    113     param RsDataType mType
    114     param RsDataKind mKind
    115     param bool mNormalized
    116     param uint32_t mVectorSize
    117     ret RsElement
    118     }
    119 
    120 ElementCreate2 {
    121         direct
    122     param const RsElement * elements
    123     param const char ** names
    124     param const uint32_t * arraySize
    125     ret RsElement
    126     }
    127 
    128 AllocationCopyToBitmap {
    129     param RsAllocation alloc
    130     param void * data
    131     }
    132 
    133 
    134 Allocation1DData {
    135     param RsAllocation va
    136     param uint32_t xoff
    137     param uint32_t lod
    138     param uint32_t count
    139     param const void *data
    140     }
    141 
    142 Allocation1DElementData {
    143     param RsAllocation va
    144     param uint32_t x
    145     param uint32_t lod
    146     param const void *data
    147     param size_t comp_offset
    148     }
    149 
    150 Allocation2DData {
    151     param RsAllocation va
    152     param uint32_t xoff
    153     param uint32_t yoff
    154     param uint32_t lod
    155     param RsAllocationCubemapFace face
    156     param uint32_t w
    157     param uint32_t h
    158     param const void *data
    159     param size_t stride
    160     }
    161 
    162 Allocation3DData {
    163     param RsAllocation va
    164     param uint32_t xoff
    165     param uint32_t yoff
    166     param uint32_t zoff
    167     param uint32_t lod
    168     param uint32_t w
    169     param uint32_t h
    170     param uint32_t d
    171     param const void *data
    172     param size_t stride
    173     }
    174 
    175 AllocationGenerateMipmaps {
    176     param RsAllocation va
    177 }
    178 
    179 AllocationRead {
    180     param RsAllocation va
    181     param void * data
    182     }
    183 
    184 Allocation1DRead {
    185     param RsAllocation va
    186     param uint32_t xoff
    187     param uint32_t lod
    188     param uint32_t count
    189     param void *data
    190     }
    191 
    192 Allocation2DRead {
    193     param RsAllocation va
    194     param uint32_t xoff
    195     param uint32_t yoff
    196     param uint32_t lod
    197     param RsAllocationCubemapFace face
    198     param uint32_t w
    199     param uint32_t h
    200     param void *data
    201     param size_t stride
    202 }
    203 
    204 
    205 AllocationSyncAll {
    206     param RsAllocation va
    207     param RsAllocationUsageType src
    208 }
    209 
    210 AllocationResize1D {
    211     param RsAllocation va
    212     param uint32_t dimX
    213     }
    214 
    215 AllocationCopy2DRange {
    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 
    230 AllocationCopy3DRange {
    231     param RsAllocation dest
    232     param uint32_t destXoff
    233     param uint32_t destYoff
    234     param uint32_t destZoff
    235     param uint32_t destMip
    236     param uint32_t width
    237     param uint32_t height
    238     param uint32_t depth
    239     param RsAllocation src
    240     param uint32_t srcXoff
    241     param uint32_t srcYoff
    242     param uint32_t srcZoff
    243     param uint32_t srcMip
    244     }
    245 
    246 
    247 SamplerCreate {
    248     direct
    249     param RsSamplerValue magFilter
    250     param RsSamplerValue minFilter
    251     param RsSamplerValue wrapS
    252     param RsSamplerValue wrapT
    253     param RsSamplerValue wrapR
    254     param float mAniso
    255     ret RsSampler
    256 }
    257 
    258 ScriptBindAllocation {
    259     param RsScript vtm
    260     param RsAllocation va
    261     param uint32_t slot
    262     }
    263 
    264 ScriptSetTimeZone {
    265     param RsScript s
    266     param const char * timeZone
    267     }
    268 
    269 ScriptInvoke {
    270     param RsScript s
    271     param uint32_t slot
    272     }
    273 
    274 ScriptInvokeV {
    275     param RsScript s
    276     param uint32_t slot
    277     param const void * data
    278     }
    279 
    280 ScriptForEach {
    281     param RsScript s
    282     param uint32_t slot
    283     param RsAllocation ain
    284     param RsAllocation aout
    285     param const void * usr
    286     param const RsScriptCall * sc
    287 }
    288 
    289 ScriptSetVarI {
    290     param RsScript s
    291     param uint32_t slot
    292     param int value
    293     }
    294 
    295 ScriptSetVarObj {
    296     param RsScript s
    297     param uint32_t slot
    298     param RsObjectBase value
    299     }
    300 
    301 ScriptSetVarJ {
    302     param RsScript s
    303     param uint32_t slot
    304     param int64_t value
    305     }
    306 
    307 ScriptSetVarF {
    308     param RsScript s
    309     param uint32_t slot
    310     param float value
    311     }
    312 
    313 ScriptSetVarD {
    314     param RsScript s
    315     param uint32_t slot
    316     param double value
    317     }
    318 
    319 ScriptSetVarV {
    320     param RsScript s
    321     param uint32_t slot
    322     param const void * data
    323     }
    324 
    325 ScriptGetVarV {
    326     param RsScript s
    327     param uint32_t slot
    328     param void * data
    329     sync
    330     }
    331 
    332 ScriptSetVarVE {
    333     param RsScript s
    334     param uint32_t slot
    335     param const void * data
    336     param RsElement e
    337     param const size_t * dims
    338     }
    339 
    340 
    341 ScriptCCreate {
    342         param const char * resName
    343         param const char * cacheDir
    344     param const char * text
    345     ret RsScript
    346     }
    347 
    348 ScriptIntrinsicCreate {
    349     param uint32_t id
    350     param RsElement eid
    351     ret RsScript
    352     }
    353 
    354 ScriptKernelIDCreate {
    355     direct
    356     param RsScript sid
    357     param int slot
    358     param int sig
    359     ret RsScriptKernelID
    360     }
    361 
    362 ScriptFieldIDCreate {
    363     direct
    364     param RsScript sid
    365     param int slot
    366     ret RsScriptFieldID
    367     }
    368 
    369 ScriptGroupCreate {
    370     direct
    371     param RsScriptKernelID * kernels
    372     param RsScriptKernelID * src
    373     param RsScriptKernelID * dstK
    374     param RsScriptFieldID * dstF
    375     param const RsType * type
    376     ret RsScriptGroup
    377 }
    378 
    379 ScriptGroupSetOutput {
    380     param RsScriptGroup group
    381     param RsScriptKernelID kernel
    382     param RsAllocation alloc
    383 }
    384 
    385 ScriptGroupSetInput {
    386     param RsScriptGroup group
    387     param RsScriptKernelID kernel
    388     param RsAllocation alloc
    389 }
    390 
    391 ScriptGroupExecute {
    392     param RsScriptGroup group
    393 }
    394 
    395 AllocationIoSend {
    396     param RsAllocation alloc
    397     }
    398 
    399 AllocationIoReceive {
    400     param RsAllocation alloc
    401     }
    402 
    403