Lines Matching refs:m_currentProgram
343 , m_currentProgram (DE_NULL) in ReferenceContext()
3758 RC_IF_ERROR(m_currentProgram == DE_NULL, GL_INVALID_OPERATION, RC_RET_VOID); in uniformv()
3760 std::vector<sglr::UniformSlot>& uniforms = m_currentProgram->m_program->m_uniforms; in uniformv()
3778 RC_IF_ERROR(m_currentProgram == DE_NULL, GL_INVALID_OPERATION, RC_RET_VOID); in uniform1iv()
3780 std::vector<sglr::UniformSlot>& uniforms = m_currentProgram->m_program->m_uniforms; in uniform1iv()
3864 RC_IF_ERROR(m_currentProgram == DE_NULL, GL_INVALID_OPERATION, RC_RET_VOID); in uniformMatrix3fv()
3866 std::vector<sglr::UniformSlot>& uniforms = m_currentProgram->m_program->m_uniforms; in uniformMatrix3fv()
3902 RC_IF_ERROR(m_currentProgram == DE_NULL, GL_INVALID_OPERATION, RC_RET_VOID); in uniformMatrix4fv()
3904 std::vector<sglr::UniformSlot>& uniforms = m_currentProgram->m_program->m_uniforms; in uniformMatrix4fv()
3977 if (m_currentProgram == sp && sp->m_deleteFlag) in deleteProgramObject()
3984 if (m_currentProgram == sp) in deleteProgramObject()
4205 if (m_currentProgram && m_currentProgram->m_program->m_hasGeometryShader) in predrawErrorChecks()
4207 …RC_IF_ERROR(m_currentProgram->m_program->rr::GeometryShader::getInputType() == rr::GEOMETRYSHADERI… in predrawErrorChecks()
4209 …RC_IF_ERROR(m_currentProgram->m_program->rr::GeometryShader::getInputType() == rr::GEOMETRYSHADERI… in predrawErrorChecks()
4215 …RC_IF_ERROR(m_currentProgram->m_program->rr::GeometryShader::getInputType() == rr::GEOMETRYSHADERI… in predrawErrorChecks()
4221 …RC_IF_ERROR(m_currentProgram->m_program->rr::GeometryShader::getInputType() == rr::GEOMETRYSHADERI… in predrawErrorChecks()
4226 …RC_IF_ERROR(m_currentProgram->m_program->rr::GeometryShader::getInputType() == rr::GEOMETRYSHADERI… in predrawErrorChecks()
4280 if (m_currentProgram == DE_NULL) in drawWithReference()
4290 const rr::Program program (m_currentProgram->m_program->getVertexShader(), in drawWithReference()
4291 m_currentProgram->m_program->getFragmentShader(), in drawWithReference()
4292 …(m_currentProgram->m_program->m_hasGeometryShader) ? (m_currentProgram->m_program->getGeometryShad… in drawWithReference()
4406 …for (size_t uniformNdx = 0; uniformNdx < m_currentProgram->m_program->m_uniforms.size(); ++uniform… in drawWithReference()
4409 const int texNdx = m_currentProgram->m_program->m_uniforms[uniformNdx].value.i; in drawWithReference()
4411 switch (m_currentProgram->m_program->m_uniforms[uniformNdx].type) in drawWithReference()
4425 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex1D = tex; in drawWithReference()
4428 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex1D = &m_emptyTex1D; in drawWithReference()
4444 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2D = tex; in drawWithReference()
4447 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2D = &m_emptyTex2D; in drawWithReference()
4463 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = tex; in drawWithReference()
4466 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = &m_emptyTexCube; in drawWithReference()
4482 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = tex; in drawWithReference()
4485 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = &m_emptyTex2DArray; in drawWithReference()
4501 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex3D = tex; in drawWithReference()
4504 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex3D = &m_emptyTex3D; in drawWithReference()
4520 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCubeArray = tex; in drawWithReference()
4523 … m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCubeArray = &m_emptyTexCubeArray; in drawWithReference()
4559 if (m_currentProgram && m_currentProgram->m_deleteFlag) in useProgram()
4560 programToBeDeleted = m_currentProgram; in useProgram()
4562 m_currentProgram = shaderProg; in useProgram()
4579 if (shaderProg == m_currentProgram) in deleteProgram()
4581 m_currentProgram->m_deleteFlag = true; in deleteProgram()