1ProgramStoreCreate { 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 15ProgramRasterCreate { 16 direct 17 param bool pointSprite 18 param RsCullMode cull 19 ret RsProgramRaster 20} 21 22ProgramBindConstants { 23 param RsProgram vp 24 param uint32_t slot 25 param RsAllocation constants 26 } 27 28 29ProgramBindTexture { 30 param RsProgramFragment pf 31 param uint32_t slot 32 param RsAllocation a 33 } 34 35ProgramBindSampler { 36 param RsProgramFragment pf 37 param uint32_t slot 38 param RsSampler s 39 } 40 41ProgramFragmentCreate { 42 direct 43 param const char * shaderText 44 param const char ** textureNames 45 param const uint32_t * params 46 ret RsProgramFragment 47 } 48 49ProgramVertexCreate { 50 direct 51 param const char * shaderText 52 param const char ** textureNames 53 param const uint32_t * params 54 ret RsProgramVertex 55 } 56 57FontCreateFromFile { 58 param const char *name 59 param float fontSize 60 param uint32_t dpi 61 ret RsFont 62 } 63 64FontCreateFromMemory { 65 param const char *name 66 param float fontSize 67 param uint32_t dpi 68 param const void *data 69 ret RsFont 70 } 71 72MeshCreate { 73 param RsAllocation *vtx 74 param RsAllocation *idx 75 param uint32_t *primType 76 ret RsMesh 77 } 78 79PathCreate { 80 param RsPathPrimitive pp 81 param bool isStatic 82 param RsAllocation vertex 83 param RsAllocation loops 84 param float quality 85 ret RsPath 86 } 87 88ContextBindProgramStore { 89 param RsProgramStore pgm 90 } 91 92ContextBindProgramFragment { 93 param RsProgramFragment pgm 94 } 95 96ContextBindProgramVertex { 97 param RsProgramVertex pgm 98 } 99 100ContextBindProgramRaster { 101 param RsProgramRaster pgm 102 } 103 104ContextBindFont { 105 param RsFont pgm 106 } 107 108ContextSetSurface { 109 param uint32_t width 110 param uint32_t height 111 param RsNativeWindow sur 112 sync 113 } 114 115ContextBindRootScript { 116 param RsScript sampler 117 } 118 119ContextPause { 120 } 121 122ContextResume { 123 } 124