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 mipmaps
     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 mipmaps
     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 mipmaps
     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 mipmaps
     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     }
    109 
    110 ElementCreate {
    111         direct
    112     param RsDataType mType
    113     param RsDataKind mKind
    114     param bool mNormalized
    115     param uint32_t mVectorSize
    116     ret RsElement
    117     }
    118 
    119 ElementCreate2 {
    120         direct
    121     param const RsElement * elements
    122     param const char ** names
    123     param const uint32_t * arraySize
    124     ret RsElement
    125     }
    126 
    127 AllocationCopyToBitmap {
    128     param RsAllocation alloc
    129     param void * data
    130     }
    131 
    132 
    133 Allocation1DData {
    134     param RsAllocation va
    135     param uint32_t xoff
    136     param uint32_t lod
    137     param uint32_t count
    138     param const void *data
    139     }
    140 
    141 Allocation1DElementData {
    142     param RsAllocation va
    143     param uint32_t x
    144     param uint32_t lod
    145     param const void *data
    146     param size_t comp_offset
    147     }
    148 
    149 Allocation2DData {
    150     param RsAllocation va
    151     param uint32_t xoff
    152     param uint32_t yoff
    153     param uint32_t lod
    154     param RsAllocationCubemapFace face
    155     param uint32_t w
    156     param uint32_t h
    157     param const void *data
    158     param size_t stride
    159     }
    160 
    161 Allocation3DData {
    162     param RsAllocation va
    163     param uint32_t xoff
    164     param uint32_t yoff
    165     param uint32_t zoff
    166     param uint32_t lod
    167     param uint32_t w
    168     param uint32_t h
    169     param uint32_t d
    170     param const void *data
    171     param size_t stride
    172     }
    173 
    174 AllocationGenerateMipmaps {
    175     param RsAllocation va
    176 }
    177 
    178 AllocationRead {
    179     param RsAllocation va
    180     param void * data
    181     }
    182 
    183 Allocation1DRead {
    184     param RsAllocation va
    185     param uint32_t xoff
    186     param uint32_t lod
    187     param uint32_t count
    188     param void *data
    189     }
    190 
    191 Allocation2DRead {
    192     param RsAllocation va
    193     param uint32_t xoff
    194     param uint32_t yoff
    195     param uint32_t lod
    196     param RsAllocationCubemapFace face
    197     param uint32_t w
    198     param uint32_t h
    199     param void *data
    200     param size_t stride
    201 }
    202 
    203 
    204 AllocationSyncAll {
    205     param RsAllocation va
    206     param RsAllocationUsageType src
    207 }
    208 
    209 AllocationResize1D {
    210     param RsAllocation va
    211     param uint32_t dimX
    212     }
    213 
    214 AllocationCopy2DRange {
    215     param RsAllocation dest
    216     param uint32_t destXoff
    217     param uint32_t destYoff
    218     param uint32_t destMip
    219     param uint32_t destFace
    220     param uint32_t width
    221     param uint32_t height
    222     param RsAllocation src
    223     param uint32_t srcXoff
    224     param uint32_t srcYoff
    225     param uint32_t srcMip
    226     param uint32_t srcFace
    227     }
    228 
    229 AllocationCopy3DRange {
    230     param RsAllocation dest
    231     param uint32_t destXoff
    232     param uint32_t destYoff
    233     param uint32_t destZoff
    234     param uint32_t destMip
    235     param uint32_t width
    236     param uint32_t height
    237     param uint32_t depth
    238     param RsAllocation src
    239     param uint32_t srcXoff
    240     param uint32_t srcYoff
    241     param uint32_t srcZoff
    242     param uint32_t srcMip
    243     }
    244 
    245 
    246 SamplerCreate {
    247     direct
    248     param RsSamplerValue magFilter
    249     param RsSamplerValue minFilter
    250     param RsSamplerValue wrapS
    251     param RsSamplerValue wrapT
    252     param RsSamplerValue wrapR
    253     param float mAniso
    254     ret RsSampler
    255 }
    256 
    257 ScriptBindAllocation {
    258     param RsScript vtm
    259     param RsAllocation va
    260     param uint32_t slot
    261     }
    262 
    263 ScriptSetTimeZone {
    264     param RsScript s
    265     param const char * timeZone
    266     }
    267 
    268 ScriptInvoke {
    269     param RsScript s
    270     param uint32_t slot
    271     }
    272 
    273 ScriptInvokeV {
    274     param RsScript s
    275     param uint32_t slot
    276     param const void * data
    277     }
    278 
    279 ScriptForEach {
    280     param RsScript s
    281     param uint32_t slot
    282     param RsAllocation ain
    283     param RsAllocation aout
    284     param const void * usr
    285     param const RsScriptCall * sc
    286 }
    287 
    288 ScriptSetVarI {
    289     param RsScript s
    290     param uint32_t slot
    291     param int value
    292     }
    293 
    294 ScriptSetVarObj {
    295     param RsScript s
    296     param uint32_t slot
    297     param RsObjectBase value
    298     }
    299 
    300 ScriptSetVarJ {
    301     param RsScript s
    302     param uint32_t slot
    303     param int64_t value
    304     }
    305 
    306 ScriptSetVarF {
    307     param RsScript s
    308     param uint32_t slot
    309     param float value
    310     }
    311 
    312 ScriptSetVarD {
    313     param RsScript s
    314     param uint32_t slot
    315     param double value
    316     }
    317 
    318 ScriptSetVarV {
    319     param RsScript s
    320     param uint32_t slot
    321     param const void * data
    322     }
    323 
    324 ScriptGetVarV {
    325     param RsScript s
    326     param uint32_t slot
    327     param void * data
    328     sync
    329     }
    330 
    331 ScriptSetVarVE {
    332     param RsScript s
    333     param uint32_t slot
    334     param const void * data
    335     param RsElement e
    336     param const size_t * dims
    337     }
    338 
    339 
    340 ScriptCCreate {
    341         param const char * resName
    342         param const char * cacheDir
    343     param const char * text
    344     ret RsScript
    345     }
    346 
    347 ScriptIntrinsicCreate {
    348     param uint32_t id
    349     param RsElement eid
    350     ret RsScript
    351     }
    352 
    353 ScriptKernelIDCreate {
    354     direct
    355     param RsScript sid
    356     param int slot
    357     param int sig
    358     ret RsScriptKernelID
    359     }
    360 
    361 ScriptFieldIDCreate {
    362     direct
    363     param RsScript sid
    364     param int slot
    365     ret RsScriptFieldID
    366     }
    367 
    368 ScriptGroupCreate {
    369     direct
    370     param RsScriptKernelID * kernels
    371     param RsScriptKernelID * src
    372     param RsScriptKernelID * dstK
    373     param RsScriptFieldID * dstF
    374     param const RsType * type
    375     ret RsScriptGroup
    376 }
    377 
    378 ScriptGroupSetOutput {
    379     param RsScriptGroup group
    380     param RsScriptKernelID kernel
    381     param RsAllocation alloc
    382 }
    383 
    384 ScriptGroupSetInput {
    385     param RsScriptGroup group
    386     param RsScriptKernelID kernel
    387     param RsAllocation alloc
    388 }
    389 
    390 ScriptGroupExecute {
    391     param RsScriptGroup group
    392 }
    393 
    394 AllocationIoSend {
    395     param RsAllocation alloc
    396     }
    397 
    398 AllocationIoReceive {
    399     param RsAllocation alloc
    400     }
    401 
    402