diff options
Diffstat (limited to 'libs/rs/rs.spec')
-rw-r--r-- | libs/rs/rs.spec | 118 |
1 files changed, 76 insertions, 42 deletions
diff --git a/libs/rs/rs.spec b/libs/rs/rs.spec index 5ae8d01..3694b65 100644 --- a/libs/rs/rs.spec +++ b/libs/rs/rs.spec @@ -1,11 +1,14 @@ +ContextFinish { + handcodeApi + } ContextBindRootScript { param RsScript sampler } -ContextBindProgramFragmentStore { - param RsProgramFragmentStore pgm +ContextBindProgramStore { + param RsProgramStore pgm } ContextBindProgramFragment { @@ -20,6 +23,10 @@ ContextBindProgramRaster { param RsProgramRaster pgm } +ContextBindFont { + param RsFont pgm + } + ContextPause { } @@ -248,13 +255,6 @@ ScriptBindAllocation { ScriptCBegin { } -ScriptSetClearColor { - param RsScript s - param float r - param float g - param float b - param float a - } ScriptSetTimeZone { param RsScript s @@ -262,39 +262,43 @@ ScriptSetTimeZone { param uint32_t length } -ScriptSetClearDepth { - param RsScript s - param float depth - } -ScriptSetClearStencil { +ScriptInvoke { param RsScript s - param uint32_t stencil + param uint32_t slot } -ScriptSetType { - param RsType type +ScriptInvokeV { + param RsScript s param uint32_t slot - param bool isWritable - param const char * name + param const void * data + param uint32_t dataLen + handcodeApi + togglePlay } -ScriptSetInvoke { - param const char * name +ScriptSetVarI { + param RsScript s param uint32_t slot + param int value } -ScriptInvoke { +ScriptSetVarF { param RsScript s param uint32_t slot + param float value } -ScriptSetRoot { - param bool isRoot +ScriptSetVarV { + param RsScript s + param uint32_t slot + param const void * data + param uint32_t dataLen + handcodeApi + togglePlay } - ScriptCSetScript { param void * codePtr } @@ -308,47 +312,38 @@ ScriptCCreate { ret RsScript } -ScriptCSetDefineF { - param const char* name - param float value - } - -ScriptCSetDefineI32 { - param const char* name - param int32_t value - } -ProgramFragmentStoreBegin { +ProgramStoreBegin { param RsElement in param RsElement out } -ProgramFragmentStoreColorMask { +ProgramStoreColorMask { param bool r param bool g param bool b param bool a } -ProgramFragmentStoreBlendFunc { +ProgramStoreBlendFunc { param RsBlendSrcFunc srcFunc param RsBlendDstFunc destFunc } -ProgramFragmentStoreDepthMask { +ProgramStoreDepthMask { param bool enable } -ProgramFragmentStoreDither { +ProgramStoreDither { param bool enable } -ProgramFragmentStoreDepthFunc { +ProgramStoreDepthFunc { param RsDepthFunc func } -ProgramFragmentStoreCreate { - ret RsProgramFragmentStore +ProgramStoreCreate { + ret RsProgramStore } ProgramRasterCreate { @@ -447,12 +442,41 @@ LightSetColor { param float b } +FileA3DCreateFromAssetStream { + param const void * data + param size_t len + ret RsFile + } + FileOpen { ret RsFile param const char *name param size_t len } +FileA3DGetNumIndexEntries { + param int32_t * numEntries + param RsFile file + } + +FileA3DGetIndexEntries { + param RsFileIndexEntry * fileEntries + param uint32_t numEntries + param RsFile fileA3D + } + +FileA3DGetEntryByIndex { + param uint32_t index + param RsFile file + ret RsObjectBase + } + +FontCreateFromFile { + param const char *name + param uint32_t fontSize + param uint32_t dpi + ret RsFont + } SimpleMeshCreate { ret RsSimpleMesh @@ -480,3 +504,13 @@ SimpleMeshBindVertex { param uint32_t slot } +AnimationCreate { + param const float *inValues + param const float *outValues + param uint32_t valueCount + param RsAnimationInterpolation interp + param RsAnimationEdge pre + param RsAnimationEdge post + ret RsAnimation + } + |