Loading libs/rs/rsScriptC_LibGL.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,12 @@ static void SC_bindProgramRaster(RsProgramRaster pv) // VP ////////////////////////////////////////////////////////////////////////////// static void SC_vpLoadProjectionMatrix(const rsc_Matrix *m) { GET_TLS(); rsc->getVertex()->setProjectionMatrix(m); } static void SC_vpLoadModelMatrix(const rsc_Matrix *m) { GET_TLS(); Loading Loading @@ -355,6 +361,7 @@ static ScriptCState::SymbolTable_t gSyms[] = { { "rsgBindSampler", (void *)&SC_bindSampler }, { "rsgBindTexture", (void *)&SC_bindTexture }, { "rsgProgramVertexLoadProjectionMatrix", (void *)&SC_vpLoadProjectionMatrix }, { "rsgProgramVertexLoadModelMatrix", (void *)&SC_vpLoadModelMatrix }, { "rsgProgramVertexLoadTextureMatrix", (void *)&SC_vpLoadTextureMatrix }, Loading libs/rs/scriptc/rs_graphics.rsh +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ extern void rsgBindProgramRaster(rs_program_raster); extern void rsgBindSampler(rs_program_fragment, int slot, rs_sampler); extern void rsgBindTexture(rs_program_fragment, int slot, rs_allocation); extern void rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *); extern void rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *); extern void rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *); Loading Loading
libs/rs/rsScriptC_LibGL.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,12 @@ static void SC_bindProgramRaster(RsProgramRaster pv) // VP ////////////////////////////////////////////////////////////////////////////// static void SC_vpLoadProjectionMatrix(const rsc_Matrix *m) { GET_TLS(); rsc->getVertex()->setProjectionMatrix(m); } static void SC_vpLoadModelMatrix(const rsc_Matrix *m) { GET_TLS(); Loading Loading @@ -355,6 +361,7 @@ static ScriptCState::SymbolTable_t gSyms[] = { { "rsgBindSampler", (void *)&SC_bindSampler }, { "rsgBindTexture", (void *)&SC_bindTexture }, { "rsgProgramVertexLoadProjectionMatrix", (void *)&SC_vpLoadProjectionMatrix }, { "rsgProgramVertexLoadModelMatrix", (void *)&SC_vpLoadModelMatrix }, { "rsgProgramVertexLoadTextureMatrix", (void *)&SC_vpLoadTextureMatrix }, Loading
libs/rs/scriptc/rs_graphics.rsh +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ extern void rsgBindProgramRaster(rs_program_raster); extern void rsgBindSampler(rs_program_fragment, int slot, rs_sampler); extern void rsgBindTexture(rs_program_fragment, int slot, rs_allocation); extern void rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *); extern void rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *); extern void rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *); Loading