Lines Matching refs:mProgramID
43 mProgramID(0), in ProgramGL()
50 mProgramID = mFunctions->createProgram(); in ProgramGL()
55 mFunctions->deleteProgram(mProgramID); in ~ProgramGL()
56 mProgramID = 0; in ~ProgramGL()
73 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
90 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
94 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
123 mFunctions->programParameteri(mProgramID, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, in setBinaryRetrievableHint()
130 mFunctions->programParameteri(mProgramID, GL_PROGRAM_SEPARABLE, separable ? GL_TRUE : GL_FALSE); in setSeparable()
164 : mPostLinkImplFunctor(functor), mFunctions(functions), mProgramID(programID) in LinkEventNativeParallel()
172 mFunctions->getProgramiv(mProgramID, GL_LINK_STATUS, &linkStatus); in wait()
183 mFunctions->getProgramiv(mProgramID, GL_COMPLETION_STATUS, &completionStatus); in isLinking()
190 GLuint mProgramID; member in rx::ProgramGL::LinkEventNativeParallel
236 mFunctions->attachShader(mProgramID, computeShaderGL->getShaderID()); in link()
258 mFunctions->transformFeedbackVaryings(mProgramID, 0, nullptr, in link()
271 mProgramID, static_cast<GLsizei>(transformFeedbackVaryingMappedNames.size()), in link()
281 mFunctions->attachShader(mProgramID, shaderGL->getShaderID()); in link()
293 mFunctions->bindAttribLocation(mProgramID, attribute.location, in link()
324 mFunctions->bindFragDataLocationIndexed(mProgramID, 0, 0, in link()
326 mFunctions->bindFragDataLocationIndexed(mProgramID, 0, 1, in link()
350 mFunctions->bindFragDataLocationIndexed(mProgramID, 0, 0, "webgl_FragData"); in link()
351 mFunctions->bindFragDataLocationIndexed(mProgramID, 0, 1, in link()
379 mProgramID, static_cast<int>(outputLocationIndex), 0, in link()
402 mProgramID, static_cast<int>(outputLocationIndex), 1, in link()
423 mFunctions->linkProgram(mProgramID); in link()
427 mFunctions->getProgramiv(mProgramID, GL_LINK_STATUS, &linkStatus); in link()
437 mFunctions->linkProgram(mProgramID); in link()
445 mFunctions->detachShader(mProgramID, computeShaderGL->getShaderID()); in link()
455 mFunctions->detachShader(mProgramID, shaderGL->getShaderID()); in link()
467 mStateManager->forceUseProgram(mProgramID); in link()
478 mFunctions->linkProgram(mProgramID); in link()
480 return std::make_unique<LinkEventNativeParallel>(postLinkImplTask, mFunctions, mProgramID); in link()
504 mFunctions->programUniform1fv(mProgramID, uniLoc(location), count, v); in setUniform1fv()
508 mStateManager->useProgram(mProgramID); in setUniform1fv()
517 mFunctions->programUniform2fv(mProgramID, uniLoc(location), count, v); in setUniform2fv()
521 mStateManager->useProgram(mProgramID); in setUniform2fv()
530 mFunctions->programUniform3fv(mProgramID, uniLoc(location), count, v); in setUniform3fv()
534 mStateManager->useProgram(mProgramID); in setUniform3fv()
543 mFunctions->programUniform4fv(mProgramID, uniLoc(location), count, v); in setUniform4fv()
547 mStateManager->useProgram(mProgramID); in setUniform4fv()
556 mFunctions->programUniform1iv(mProgramID, uniLoc(location), count, v); in setUniform1iv()
560 mStateManager->useProgram(mProgramID); in setUniform1iv()
569 mFunctions->programUniform2iv(mProgramID, uniLoc(location), count, v); in setUniform2iv()
573 mStateManager->useProgram(mProgramID); in setUniform2iv()
582 mFunctions->programUniform3iv(mProgramID, uniLoc(location), count, v); in setUniform3iv()
586 mStateManager->useProgram(mProgramID); in setUniform3iv()
595 mFunctions->programUniform4iv(mProgramID, uniLoc(location), count, v); in setUniform4iv()
599 mStateManager->useProgram(mProgramID); in setUniform4iv()
608 mFunctions->programUniform1uiv(mProgramID, uniLoc(location), count, v); in setUniform1uiv()
612 mStateManager->useProgram(mProgramID); in setUniform1uiv()
621 mFunctions->programUniform2uiv(mProgramID, uniLoc(location), count, v); in setUniform2uiv()
625 mStateManager->useProgram(mProgramID); in setUniform2uiv()
634 mFunctions->programUniform3uiv(mProgramID, uniLoc(location), count, v); in setUniform3uiv()
638 mStateManager->useProgram(mProgramID); in setUniform3uiv()
647 mFunctions->programUniform4uiv(mProgramID, uniLoc(location), count, v); in setUniform4uiv()
651 mStateManager->useProgram(mProgramID); in setUniform4uiv()
663 mFunctions->programUniformMatrix2fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix2fv()
667 mStateManager->useProgram(mProgramID); in setUniformMatrix2fv()
679 mFunctions->programUniformMatrix3fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix3fv()
683 mStateManager->useProgram(mProgramID); in setUniformMatrix3fv()
695 mFunctions->programUniformMatrix4fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix4fv()
699 mStateManager->useProgram(mProgramID); in setUniformMatrix4fv()
711 mFunctions->programUniformMatrix2x3fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix2x3fv()
716 mStateManager->useProgram(mProgramID); in setUniformMatrix2x3fv()
728 mFunctions->programUniformMatrix3x2fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix3x2fv()
733 mStateManager->useProgram(mProgramID); in setUniformMatrix3x2fv()
745 mFunctions->programUniformMatrix2x4fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix2x4fv()
750 mStateManager->useProgram(mProgramID); in setUniformMatrix2x4fv()
762 mFunctions->programUniformMatrix4x2fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix4x2fv()
767 mStateManager->useProgram(mProgramID); in setUniformMatrix4x2fv()
779 mFunctions->programUniformMatrix3x4fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix3x4fv()
784 mStateManager->useProgram(mProgramID); in setUniformMatrix3x4fv()
796 mFunctions->programUniformMatrix4x3fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix4x3fv()
801 mStateManager->useProgram(mProgramID); in setUniformMatrix4x3fv()
816 mFunctions->getUniformBlockIndex(mProgramID, mappedNameWithIndex.c_str()); in setUniformBlockBinding()
824 mFunctions->uniformBlockBinding(mProgramID, realBlockIndex, uniformBlockBinding); in setUniformBlockBinding()
832 ASSERT(mProgramID != 0u); in getUniformBlockSize()
834 GLuint blockIndex = mFunctions->getUniformBlockIndex(mProgramID, blockMappedName.c_str()); in getUniformBlockSize()
842 mFunctions->getActiveUniformBlockiv(mProgramID, blockIndex, GL_UNIFORM_BLOCK_DATA_SIZE, in getUniformBlockSize()
854 mFunctions->getUniformIndices(mProgramID, 1, &memberNameGLStr, &uniformIndex); in getUniformBlockMemberInfo()
862 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_OFFSET, in getUniformBlockMemberInfo()
864 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_ARRAY_STRIDE, in getUniformBlockMemberInfo()
866 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_MATRIX_STRIDE, in getUniformBlockMemberInfo()
871 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, in getUniformBlockMemberInfo()
883 mFunctions->getProgramResourceIndex(mProgramID, GL_BUFFER_VARIABLE, memberNameGLStr); in getShaderStorageBlockMemberInfo()
896 mFunctions->getProgramResourceiv(mProgramID, GL_BUFFER_VARIABLE, index, kPropCount, in getShaderStorageBlockMemberInfo()
914 mFunctions->getProgramResourceIndex(mProgramID, GL_SHADER_STORAGE_BLOCK, nameGLStr); in getShaderStorageBlockSize()
925 mFunctions->getProgramResourceiv(mProgramID, GL_SHADER_STORAGE_BLOCK, index, 1, &prop, 1, in getShaderStorageBlockSize()
939 mFunctions->getProgramInterfaceiv(mProgramID, GL_ATOMIC_COUNTER_BUFFER, GL_ACTIVE_RESOURCES, in getAtomicCounterBufferSizeMap()
948 mFunctions->getProgramResourceiv(mProgramID, GL_ATOMIC_COUNTER_BUFFER, index, kPropCount, in getAtomicCounterBufferSizeMap()
969 mFunctions->getProgramiv(mProgramID, GL_LINK_STATUS, &linkStatus); in checkLinkStatus()
974 mFunctions->getProgramiv(mProgramID, GL_INFO_LOG_LENGTH, &infoLogLength); in checkLinkStatus()
981 mFunctions->getProgramInfoLog(mProgramID, infoLogLength, nullptr, &buf[0]); in checkLinkStatus()
994 ASSERT(mProgramID != 0); in checkLinkStatus()
1032 GLint realLocation = mFunctions->getUniformLocation(mProgramID, fullName.c_str()); in postLink()
1039 mFunctions->getUniformLocation(mProgramID, "multiviewBaseViewLayerIndex"); in postLink()
1050 mFunctions->programUniform1i(mProgramID, mMultiviewBaseViewLayerIndexUniformLocation, -1); in enableSideBySideRenderingPath()
1059 mFunctions->programUniform1i(mProgramID, mMultiviewBaseViewLayerIndexUniformLocation, in enableLayeredRenderingPath()
1065 mFunctions->getUniformfv(mProgramID, uniLoc(location), params); in getUniformfv()
1070 mFunctions->getUniformiv(mProgramID, uniLoc(location), params); in getUniformiv()
1075 mFunctions->getUniformuiv(mProgramID, uniLoc(location), params); in getUniformuiv()