• Home
  • Raw
  • Download

Lines Matching refs:programObject

856             gl::Program *programObject = getProgramNoResolveLink(programID);  in createShaderProgramv()  local
857 ASSERT(programObject); in createShaderProgramv()
864 programObject->setSeparable(true); in createShaderProgramv()
866 programObject->attachShader(shaderObject); in createShaderProgramv()
868 if (programObject->link(this) != angle::Result::Continue) in createShaderProgramv()
874 if (onProgramLink(programObject) != angle::Result::Continue) in createShaderProgramv()
887 programObject->detachShader(this, shaderObject); in createShaderProgramv()
891 InfoLog &programInfoLog = programObject->getExecutable().getInfoLog(); in createShaderProgramv()
2640 Program *programObject = getProgramResolveLink(program); in bindUniformLocation() local
2641 ASSERT(programObject); in bindUniformLocation()
2643 programObject->bindUniformLocation(location, name); in bindUniformLocation()
2655 const Program *programObject = getProgramResolveLink(program); in getProgramResourceIndex() local
2656 return QueryProgramResourceIndex(programObject, programInterface, name); in getProgramResourceIndex()
2666 const Program *programObject = getProgramResolveLink(program); in getProgramResourceName() local
2667 QueryProgramResourceName(programObject, programInterface, index, bufSize, length, name); in getProgramResourceName()
2674 const Program *programObject = getProgramResolveLink(program); in getProgramResourceLocation() local
2675 return QueryProgramResourceLocation(programObject, programInterface, name); in getProgramResourceLocation()
2687 const Program *programObject = getProgramResolveLink(program); in getProgramResourceiv() local
2688 QueryProgramResourceiv(programObject, programInterface, {index}, propCount, props, bufSize, in getProgramResourceiv()
2697 const Program *programObject = getProgramResolveLink(program); in getProgramInterfaceiv() local
2698 QueryProgramInterfaceiv(programObject, programInterface, pname, params); in getProgramInterfaceiv()
3123 gl::Program *programObject = getProgramResolveLink(program); in programParameteri() local
3124 SetProgramParameteri(programObject, pname, value); in programParameteri()
5976 Program *programObject = mState.mShaderProgramManager->getProgram(program); in attachShader() local
5978 ASSERT(programObject && shaderObject); in attachShader()
5979 programObject->attachShader(shaderObject); in attachShader()
6005 Program *programObject = getProgramResolveLink(program); in bindAttribLocation() local
6006 ASSERT(programObject); in bindAttribLocation()
6007 programObject->bindAttributeLocation(index, name); in bindAttribLocation()
6413 Program *programObject = mState.getLinkedProgram(this); in drawArraysInstancedBaseInstance() local
6415 const bool hasBaseInstance = programObject && programObject->hasBaseInstanceUniform(); in drawArraysInstancedBaseInstance()
6418 programObject->setBaseInstanceUniform(baseInstance); in drawArraysInstancedBaseInstance()
6421 rx::ResetBaseVertexBaseInstance resetUniforms(programObject, false, hasBaseInstance); in drawArraysInstancedBaseInstance()
6446 Program *programObject = mState.getLinkedProgram(this); in drawElementsInstancedBaseVertexBaseInstance() local
6448 const bool hasBaseVertex = programObject && programObject->hasBaseVertexUniform(); in drawElementsInstancedBaseVertexBaseInstance()
6451 programObject->setBaseVertexUniform(baseVertex); in drawElementsInstancedBaseVertexBaseInstance()
6454 const bool hasBaseInstance = programObject && programObject->hasBaseInstanceUniform(); in drawElementsInstancedBaseVertexBaseInstance()
6457 programObject->setBaseInstanceUniform(baseInstance); in drawElementsInstancedBaseVertexBaseInstance()
6460 rx::ResetBaseVertexBaseInstance resetUniforms(programObject, hasBaseVertex, hasBaseInstance); in drawElementsInstancedBaseVertexBaseInstance()
6554 Program *programObject = getProgramNoResolveLink(program); in detachShader() local
6555 ASSERT(programObject); in detachShader()
6560 programObject->detachShader(this, shaderObject); in detachShader()
6603 Program *programObject = getProgramResolveLink(program); in getActiveAttrib() local
6604 ASSERT(programObject); in getActiveAttrib()
6605 programObject->getActiveAttribute(index, bufsize, length, size, type, name); in getActiveAttrib()
6616 Program *programObject = getProgramResolveLink(program); in getActiveUniform() local
6617 ASSERT(programObject); in getActiveUniform()
6618 programObject->getActiveUniform(index, bufsize, length, size, type, name); in getActiveUniform()
6626 Program *programObject = getProgramNoResolveLink(program); in getAttachedShaders() local
6627 ASSERT(programObject); in getAttachedShaders()
6628 programObject->getAttachedShaders(maxcount, count, shaders); in getAttachedShaders()
6633 Program *programObject = getProgramResolveLink(program); in getAttribLocation() local
6634 ASSERT(programObject); in getAttribLocation()
6635 return programObject->getAttributeLocation(name); in getAttribLocation()
6704 Program *programObject = getProgramNoResolveLink(program); in getProgramiv() local
6707 programObject = getProgramResolveLink(program); in getProgramiv()
6709 ASSERT(programObject); in getProgramiv()
6710 QueryProgramiv(this, programObject, pname, params); in getProgramiv()
6747 Program *programObject = getProgramResolveLink(program); in getProgramInfoLog() local
6748 ASSERT(programObject); in getProgramInfoLog()
6749 programObject->getExecutable().getInfoLog(bufsize, length, infolog); in getProgramInfoLog()
6884 Program *programObject = getProgramResolveLink(program); in getUniformfv() local
6885 ASSERT(programObject); in getUniformfv()
6886 programObject->getUniformfv(this, location, params); in getUniformfv()
6900 Program *programObject = getProgramResolveLink(program); in getUniformiv() local
6901 ASSERT(programObject); in getUniformiv()
6902 programObject->getUniformiv(this, location, params); in getUniformiv()
6916 Program *programObject = getProgramResolveLink(program); in getUniformLocation() local
6917 ASSERT(programObject); in getUniformLocation()
6918 return programObject->getUniformLocation(name).value; in getUniformLocation()
6993 Program *programObject = getProgramNoResolveLink(program); in linkProgram() local
6994 ASSERT(programObject); in linkProgram()
6995 ANGLE_CONTEXT_TRY(programObject->link(this)); in linkProgram()
6996 ANGLE_CONTEXT_TRY(onProgramLink(programObject)); in linkProgram()
7019 Program *programObject = getProgramNoResolveLink(program); in bindFragDataLocationIndexed() local
7020 programObject->bindFragmentOutputLocation(colorNumber, name); in bindFragDataLocationIndexed()
7021 programObject->bindFragmentOutputIndex(index, name); in bindFragDataLocationIndexed()
7031 Program *programObject = getProgramResolveLink(program); in getFragDataIndex() local
7032 return programObject->getFragDataIndex(name); in getFragDataIndex()
7039 Program *programObject = getProgramResolveLink(program); in getProgramResourceLocationIndex() local
7041 return programObject->getFragDataIndex(name); in getProgramResourceLocationIndex()
7241 Program *programObject = getProgramResolveLink(program); in validateProgram() local
7242 ASSERT(programObject); in validateProgram()
7243 programObject->validate(mState.mCaps); in validateProgram()
7262 Program *programObject = getProgramResolveLink(program); in getProgramBinary() local
7263 ASSERT(programObject != nullptr); in getProgramBinary()
7265 ANGLE_CONTEXT_TRY(programObject->saveBinary(this, binaryFormat, binary, bufSize, length)); in getProgramBinary()
7273 Program *programObject = getProgramResolveLink(program); in programBinary() local
7274 ASSERT(programObject != nullptr); in programBinary()
7276 ANGLE_CONTEXT_TRY(programObject->loadBinary(this, binaryFormat, binary, length)); in programBinary()
7277 ANGLE_CONTEXT_TRY(onProgramLink(programObject)); in programBinary()
7478 Program *programObject = getProgramResolveLink(program); in transformFeedbackVaryings() local
7479 ASSERT(programObject); in transformFeedbackVaryings()
7480 programObject->setTransformFeedbackVaryings(count, varyings, bufferMode); in transformFeedbackVaryings()
7491 Program *programObject = getProgramResolveLink(program); in getTransformFeedbackVarying() local
7492 ASSERT(programObject); in getTransformFeedbackVarying()
7493 programObject->getTransformFeedbackVarying(index, bufSize, length, size, type, name); in getTransformFeedbackVarying()
7559 const Program *programObject = getProgramResolveLink(program); in getUniformuiv() local
7560 programObject->getUniformuiv(this, location, params); in getUniformuiv()
7574 const Program *programObject = getProgramResolveLink(program); in getFragDataLocation() local
7575 return programObject->getFragDataLocation(name); in getFragDataLocation()
7583 const Program *programObject = getProgramResolveLink(program); in getUniformIndices() local
7584 if (!programObject->isLinked()) in getUniformIndices()
7595 uniformIndices[uniformId] = programObject->getUniformIndex(uniformNames[uniformId]); in getUniformIndices()
7606 const Program *programObject = getProgramResolveLink(program); in getActiveUniformsiv() local
7610 params[uniformId] = GetUniformResourceProperty(programObject, index, pname); in getActiveUniformsiv()
7616 const Program *programObject = getProgramResolveLink(program); in getUniformBlockIndex() local
7617 return programObject->getUniformBlockIndex(uniformBlockName); in getUniformBlockIndex()
7625 const Program *programObject = getProgramResolveLink(program); in getActiveUniformBlockiv() local
7626 QueryActiveUniformBlockiv(programObject, uniformBlockIndex, pname, params); in getActiveUniformBlockiv()
7645 const Program *programObject = getProgramResolveLink(program); in getActiveUniformBlockName() local
7646 programObject->getActiveUniformBlockName(uniformBlockIndex, bufSize, length, uniformBlockName); in getActiveUniformBlockName()
7653 Program *programObject = getProgramResolveLink(program); in uniformBlockBinding() local
7654 programObject->bindUniformBlock(uniformBlockIndex, uniformBlockBinding); in uniformBlockBinding()
7657 if (programObject->isInUse()) in uniformBlockBinding()
7896 Program *programObject = getProgramResolveLink(program); in programUniform1iv() local
7897 ASSERT(programObject); in programUniform1iv()
7898 setUniform1iImpl(programObject, location, count, value); in programUniform1iv()
7906 Program *programObject = getProgramResolveLink(program); in programUniform2iv() local
7907 ASSERT(programObject); in programUniform2iv()
7908 programObject->setUniform2iv(location, count, value); in programUniform2iv()
7916 Program *programObject = getProgramResolveLink(program); in programUniform3iv() local
7917 ASSERT(programObject); in programUniform3iv()
7918 programObject->setUniform3iv(location, count, value); in programUniform3iv()
7926 Program *programObject = getProgramResolveLink(program); in programUniform4iv() local
7927 ASSERT(programObject); in programUniform4iv()
7928 programObject->setUniform4iv(location, count, value); in programUniform4iv()
7936 Program *programObject = getProgramResolveLink(program); in programUniform1uiv() local
7937 ASSERT(programObject); in programUniform1uiv()
7938 programObject->setUniform1uiv(location, count, value); in programUniform1uiv()
7946 Program *programObject = getProgramResolveLink(program); in programUniform2uiv() local
7947 ASSERT(programObject); in programUniform2uiv()
7948 programObject->setUniform2uiv(location, count, value); in programUniform2uiv()
7956 Program *programObject = getProgramResolveLink(program); in programUniform3uiv() local
7957 ASSERT(programObject); in programUniform3uiv()
7958 programObject->setUniform3uiv(location, count, value); in programUniform3uiv()
7966 Program *programObject = getProgramResolveLink(program); in programUniform4uiv() local
7967 ASSERT(programObject); in programUniform4uiv()
7968 programObject->setUniform4uiv(location, count, value); in programUniform4uiv()
7976 Program *programObject = getProgramResolveLink(program); in programUniform1fv() local
7977 ASSERT(programObject); in programUniform1fv()
7978 programObject->setUniform1fv(location, count, value); in programUniform1fv()
7986 Program *programObject = getProgramResolveLink(program); in programUniform2fv() local
7987 ASSERT(programObject); in programUniform2fv()
7988 programObject->setUniform2fv(location, count, value); in programUniform2fv()
7996 Program *programObject = getProgramResolveLink(program); in programUniform3fv() local
7997 ASSERT(programObject); in programUniform3fv()
7998 programObject->setUniform3fv(location, count, value); in programUniform3fv()
8006 Program *programObject = getProgramResolveLink(program); in programUniform4fv() local
8007 ASSERT(programObject); in programUniform4fv()
8008 programObject->setUniform4fv(location, count, value); in programUniform4fv()
8017 Program *programObject = getProgramResolveLink(program); in programUniformMatrix2fv() local
8018 ASSERT(programObject); in programUniformMatrix2fv()
8019 programObject->setUniformMatrix2fv(location, count, transpose, value); in programUniformMatrix2fv()
8028 Program *programObject = getProgramResolveLink(program); in programUniformMatrix3fv() local
8029 ASSERT(programObject); in programUniformMatrix3fv()
8030 programObject->setUniformMatrix3fv(location, count, transpose, value); in programUniformMatrix3fv()
8039 Program *programObject = getProgramResolveLink(program); in programUniformMatrix4fv() local
8040 ASSERT(programObject); in programUniformMatrix4fv()
8041 programObject->setUniformMatrix4fv(location, count, transpose, value); in programUniformMatrix4fv()
8050 Program *programObject = getProgramResolveLink(program); in programUniformMatrix2x3fv() local
8051 ASSERT(programObject); in programUniformMatrix2x3fv()
8052 programObject->setUniformMatrix2x3fv(location, count, transpose, value); in programUniformMatrix2x3fv()
8061 Program *programObject = getProgramResolveLink(program); in programUniformMatrix3x2fv() local
8062 ASSERT(programObject); in programUniformMatrix3x2fv()
8063 programObject->setUniformMatrix3x2fv(location, count, transpose, value); in programUniformMatrix3x2fv()
8072 Program *programObject = getProgramResolveLink(program); in programUniformMatrix2x4fv() local
8073 ASSERT(programObject); in programUniformMatrix2x4fv()
8074 programObject->setUniformMatrix2x4fv(location, count, transpose, value); in programUniformMatrix2x4fv()
8083 Program *programObject = getProgramResolveLink(program); in programUniformMatrix4x2fv() local
8084 ASSERT(programObject); in programUniformMatrix4x2fv()
8085 programObject->setUniformMatrix4x2fv(location, count, transpose, value); in programUniformMatrix4x2fv()
8094 Program *programObject = getProgramResolveLink(program); in programUniformMatrix3x4fv() local
8095 ASSERT(programObject); in programUniformMatrix3x4fv()
8096 programObject->setUniformMatrix3x4fv(location, count, transpose, value); in programUniformMatrix3x4fv()
8105 Program *programObject = getProgramResolveLink(program); in programUniformMatrix4x3fv() local
8106 ASSERT(programObject); in programUniformMatrix4x3fv()
8107 programObject->setUniformMatrix4x3fv(location, count, transpose, value); in programUniformMatrix4x3fv()
8206 Program *programObject = getProgramResolveLink(program); in getnUniformfv() local
8207 ASSERT(programObject); in getnUniformfv()
8209 programObject->getUniformfv(this, location, params); in getnUniformfv()
8226 Program *programObject = getProgramResolveLink(program); in getnUniformiv() local
8227 ASSERT(programObject); in getnUniformiv()
8229 programObject->getUniformiv(this, location, params); in getnUniformiv()
8872 angle::Result Context::onProgramLink(Program *programObject) in onProgramLink() argument
8881 if (programObject->isInUse()) in onProgramLink()
8883 programObject->resolveLink(this); in onProgramLink()
8884 if (programObject->isLinked()) in onProgramLink()
8886 ANGLE_TRY(mState.onProgramExecutableChange(this, programObject)); in onProgramLink()
8887 programObject->onStateChange(angle::SubjectMessage::ProgramRelinked); in onProgramLink()