Home | History | Annotate | Download | only in rs
      1 ProgramStoreCreate {
      2     direct
      3     param bool colorMaskR
      4     param bool colorMaskG
      5     param bool colorMaskB
      6     param bool colorMaskA
      7         param bool depthMask
      8         param bool ditherEnable
      9     param RsBlendSrcFunc srcFunc
     10     param RsBlendDstFunc destFunc
     11         param RsDepthFunc depthFunc
     12     ret RsProgramStore
     13     }
     14 
     15 ProgramRasterCreate {
     16     direct
     17     param bool pointSprite
     18     param RsCullMode cull
     19     ret RsProgramRaster
     20 }
     21 
     22 ProgramBindConstants {
     23     param RsProgram vp
     24     param uint32_t slot
     25     param RsAllocation constants
     26     }
     27 
     28 
     29 ProgramBindTexture {
     30     param RsProgramFragment pf
     31     param uint32_t slot
     32     param RsAllocation a
     33     }
     34 
     35 ProgramBindSampler {
     36     param RsProgramFragment pf
     37     param uint32_t slot
     38     param RsSampler s
     39     }
     40 
     41 ProgramFragmentCreate {
     42     direct
     43     param const char * shaderText
     44     param const char ** textureNames
     45     param const uintptr_t * params
     46     ret RsProgramFragment
     47     }
     48 
     49 ProgramVertexCreate {
     50     direct
     51     param const char * shaderText
     52     param const char ** textureNames
     53     param const uintptr_t * params
     54     ret RsProgramVertex
     55     }
     56 
     57 FontCreateFromFile {
     58     param const char *name
     59     param float fontSize
     60     param uint32_t dpi
     61     ret RsFont
     62     }
     63 
     64 FontCreateFromMemory {
     65     param const char *name
     66     param float fontSize
     67     param uint32_t dpi
     68     param const void *data
     69     ret RsFont
     70     }
     71 
     72 MeshCreate {
     73     param RsAllocation *vtx
     74     param RsAllocation *idx
     75     param uint32_t *primType
     76     ret RsMesh
     77     }
     78 
     79 ContextBindProgramStore {
     80     param RsProgramStore pgm
     81     }
     82 
     83 ContextBindProgramFragment {
     84     param RsProgramFragment pgm
     85     }
     86 
     87 ContextBindProgramVertex {
     88     param RsProgramVertex pgm
     89     }
     90 
     91 ContextBindProgramRaster {
     92     param RsProgramRaster pgm
     93     }
     94 
     95 ContextBindFont {
     96     param RsFont pgm
     97     }
     98 
     99 ContextSetSurface {
    100     param uint32_t width
    101     param uint32_t height
    102     param RsNativeWindow sur
    103         sync
    104     }
    105 
    106 ContextBindRootScript {
    107     param RsScript sampler
    108     }
    109 
    110 ContextPause {
    111     }
    112 
    113 ContextResume {
    114     }
    115