diff options
author | Jason Sams <rjsams@android.com> | 2010-05-13 18:30:11 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-05-13 18:35:01 -0700 |
commit | 54db59c3594e887a412a24713fc3daa1c2404593 (patch) | |
tree | cd78b514370d0e9b60e3711417395601824e8270 /libs/rs/rsScriptC_Lib.cpp | |
parent | f5523645a97643874840e029b4a7e9a4e4220806 (diff) |
Rename ProgramFragmentStore to ProgramStore.
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
Diffstat (limited to 'libs/rs/rsScriptC_Lib.cpp')
-rw-r--r-- | libs/rs/rsScriptC_Lib.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/libs/rs/rsScriptC_Lib.cpp b/libs/rs/rsScriptC_Lib.cpp index 5cf0fdbfc84b..0e094748c4a1 100644 --- a/libs/rs/rsScriptC_Lib.cpp +++ b/libs/rs/rsScriptC_Lib.cpp @@ -215,13 +215,6 @@ typedef struct { // IO routines ////////////////////////////////////////////////////////////////////////////// -static float* SC_loadSimpleMeshVerticesF(RsSimpleMesh mesh, uint32_t idx) -{ - SimpleMesh *tm = static_cast<SimpleMesh *>(mesh); - void *vp = tm->mVertexBuffers[idx]->getPtr();; - return static_cast<float *>(vp); -} - static void SC_updateSimpleMesh(RsSimpleMesh mesh) { GET_TLS(); @@ -645,10 +638,10 @@ static void SC_bindSampler(RsProgramFragment vpf, uint32_t slot, RsSampler vs) } -static void SC_bindProgramFragmentStore(RsProgramFragmentStore pfs) +static void SC_bindProgramStore(RsProgramStore pfs) { GET_TLS(); - rsi_ContextBindProgramFragmentStore(rsc, pfs); + rsi_ContextBindProgramStore(rsc, pfs); } static void SC_bindProgramFragment(RsProgramFragment pf) @@ -1145,7 +1138,6 @@ ScriptCState::SymbolTable_t ScriptCState::gSyms[] = { { "__divsi3", (void *)&SC_divsi3 }, // IO - { "loadSimpleMeshVerticesF", (void *)&SC_loadSimpleMeshVerticesF }, { "updateSimpleMesh", (void *)&SC_updateSimpleMesh }, // OpenCL math @@ -1316,8 +1308,7 @@ ScriptCState::SymbolTable_t ScriptCState::gSyms[] = { // context { "bindProgramFragment", (void *)&SC_bindProgramFragment }, - { "bindProgramFragmentStore", (void *)&SC_bindProgramFragmentStore }, - { "bindProgramStore", (void *)&SC_bindProgramFragmentStore }, + { "bindProgramStore", (void *)&SC_bindProgramStore }, { "bindProgramVertex", (void *)&SC_bindProgramVertex }, { "bindProgramRaster", (void *)&SC_bindProgramRaster }, { "bindSampler", (void *)&SC_bindSampler }, |