• Home
  • Raw
  • Download

Lines Matching refs:program

347 void GLSharedGroup::addProgramData(GLuint program) {  in addProgramData()  argument
351 ProgramData* pData = findObjectOrDefault(m_programs, program); in addProgramData()
356 m_programs[program] = new ProgramData(); in addProgramData()
359 void GLSharedGroup::initProgramData(GLuint program, GLuint numIndexes) { in initProgramData() argument
363 ProgramData* pData = findObjectOrDefault(m_programs, program); in initProgramData()
369 bool GLSharedGroup::isProgramInitialized(GLuint program) { in isProgramInitialized() argument
373 ProgramData* pData = findObjectOrDefault(m_programs, program); in isProgramInitialized()
379 if (m_shaderProgramIdMap.find(program) == m_shaderProgramIdMap.end()) { in isProgramInitialized()
384 findObjectOrDefault(m_shaderPrograms, m_shaderProgramIdMap[program]); in isProgramInitialized()
393 void GLSharedGroup::deleteProgramData(GLuint program) { in deleteProgramData() argument
397 ProgramData* pData = findObjectOrDefault(m_programs, program); in deleteProgramData()
401 m_programs.erase(program); in deleteProgramData()
403 if (m_shaderProgramIdMap.find(program) == in deleteProgramData()
408 m_shaderPrograms, m_shaderProgramIdMap[program]); in deleteProgramData()
412 m_shaderPrograms.erase(m_shaderProgramIdMap[program]); in deleteProgramData()
413 m_shaderProgramIdMap.erase(program); in deleteProgramData()
417 void GLSharedGroup::attachShader(GLuint program, GLuint shader) { in attachShader() argument
421 ProgramData* pData = findObjectOrDefault(m_programs, program); in attachShader()
431 void GLSharedGroup::detachShader(GLuint program, GLuint shader) { in detachShader() argument
435 ProgramData* pData = findObjectOrDefault(m_programs, program); in detachShader()
446 GLuint program, GLuint index, GLint base, in setProgramIndexInfo() argument
451 ProgramData* pData = findObjectOrDefault(m_programs, program); in setProgramIndexInfo()
479 GLenum GLSharedGroup::getProgramUniformType(GLuint program, GLint location) { in getProgramUniformType() argument
483 ProgramData* pData = findObjectOrDefault(m_programs, program); in getProgramUniformType()
490 if (m_shaderProgramIdMap.find(program) == in getProgramUniformType()
495 m_shaderPrograms, m_shaderProgramIdMap[program]); in getProgramUniformType()
504 bool GLSharedGroup::isProgram(GLuint program) { in isProgram() argument
508 ProgramData* pData = findObjectOrDefault(m_programs, program); in isProgram()
512 if (m_shaderProgramIdMap.find(program) == in isProgram()
516 findObjectOrDefault(m_shaderPrograms, m_shaderProgramIdMap[program]); in isProgram()
523 void GLSharedGroup::setupLocationShiftWAR(GLuint program) { in setupLocationShiftWAR() argument
528 findObjectOrDefault(m_programs, program); in setupLocationShiftWAR()
534 GLuint program, GLint hostLoc, GLint arrIndex) { in locationWARHostToApp() argument
538 ProgramData* pData = findObjectOrDefault(m_programs, program); in locationWARHostToApp()
542 if (m_shaderProgramIdMap.find(program) == in locationWARHostToApp()
546 findObjectOrDefault(m_shaderPrograms, m_shaderProgramIdMap[program]); in locationWARHostToApp()
553 GLint GLSharedGroup::locationWARAppToHost(GLuint program, GLint appLoc) { in locationWARAppToHost() argument
558 findObjectOrDefault(m_programs, program); in locationWARAppToHost()
562 if (m_shaderProgramIdMap.find(program) == in locationWARAppToHost()
567 m_shaderPrograms, m_shaderProgramIdMap[program]); in locationWARAppToHost()
574 bool GLSharedGroup::needUniformLocationWAR(GLuint program) { in needUniformLocationWAR() argument
579 findObjectOrDefault(m_programs, program); in needUniformLocationWAR()
583 if (m_shaderProgramIdMap.find(program) == in needUniformLocationWAR()
587 findObjectOrDefault(m_shaderPrograms, m_shaderProgramIdMap[program]); in needUniformLocationWAR()
595 GLuint program, GLint index, GLint* val, GLenum* target) const { in getNextSamplerUniform() argument
599 ProgramData* pData = findObjectOrDefault(m_programs, program); in getNextSamplerUniform()
603 if (m_shaderProgramIdMap.find(program) == in getNextSamplerUniform()
609 findObjectOrDefault(m_shaderProgramIdMap, program)); in getNextSamplerUniform()
617 GLuint program, GLint appLoc, GLint val, GLenum* target) { in setSamplerUniform() argument
622 findObjectOrDefault(m_programs, program); in setSamplerUniform()
626 if (m_shaderProgramIdMap.find(program) == in setSamplerUniform()
630 findObjectOrDefault(m_shaderPrograms, m_shaderProgramIdMap[program]); in setSamplerUniform()