• Home
  • Raw
  • Download

Lines Matching refs:mFunctions

39       mFunctions(functions),  in ProgramGL()
47 ASSERT(mFunctions); in ProgramGL()
50 mProgramID = mFunctions->createProgram(); in ProgramGL()
55 mFunctions->deleteProgram(mProgramID); 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()
121 if (mFunctions->programParameteri) in setBinaryRetrievableHint()
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()
189 const FunctionsGL *mFunctions; member in rx::ProgramGL::LinkEventNativeParallel
236 mFunctions->attachShader(mProgramID, computeShaderGL->getShaderID()); in link()
256 if (mFunctions->transformFeedbackVaryings) in link()
258 mFunctions->transformFeedbackVaryings(mProgramID, 0, nullptr, in link()
264 ASSERT(mFunctions->transformFeedbackVaryings); in link()
270 mFunctions->transformFeedbackVaryings( 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()
378 mFunctions->bindFragDataLocationIndexed( in link()
401 mFunctions->bindFragDataLocationIndexed( 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()
478 mFunctions->linkProgram(mProgramID); in link()
480 return std::make_unique<LinkEventNativeParallel>(postLinkImplTask, mFunctions, mProgramID); in link()
502 if (mFunctions->programUniform1fv != nullptr) in setUniform1fv()
504 mFunctions->programUniform1fv(mProgramID, uniLoc(location), count, v); in setUniform1fv()
509 mFunctions->uniform1fv(uniLoc(location), count, v); in setUniform1fv()
515 if (mFunctions->programUniform2fv != nullptr) in setUniform2fv()
517 mFunctions->programUniform2fv(mProgramID, uniLoc(location), count, v); in setUniform2fv()
522 mFunctions->uniform2fv(uniLoc(location), count, v); in setUniform2fv()
528 if (mFunctions->programUniform3fv != nullptr) in setUniform3fv()
530 mFunctions->programUniform3fv(mProgramID, uniLoc(location), count, v); in setUniform3fv()
535 mFunctions->uniform3fv(uniLoc(location), count, v); in setUniform3fv()
541 if (mFunctions->programUniform4fv != nullptr) in setUniform4fv()
543 mFunctions->programUniform4fv(mProgramID, uniLoc(location), count, v); in setUniform4fv()
548 mFunctions->uniform4fv(uniLoc(location), count, v); in setUniform4fv()
554 if (mFunctions->programUniform1iv != nullptr) in setUniform1iv()
556 mFunctions->programUniform1iv(mProgramID, uniLoc(location), count, v); in setUniform1iv()
561 mFunctions->uniform1iv(uniLoc(location), count, v); in setUniform1iv()
567 if (mFunctions->programUniform2iv != nullptr) in setUniform2iv()
569 mFunctions->programUniform2iv(mProgramID, uniLoc(location), count, v); in setUniform2iv()
574 mFunctions->uniform2iv(uniLoc(location), count, v); in setUniform2iv()
580 if (mFunctions->programUniform3iv != nullptr) in setUniform3iv()
582 mFunctions->programUniform3iv(mProgramID, uniLoc(location), count, v); in setUniform3iv()
587 mFunctions->uniform3iv(uniLoc(location), count, v); in setUniform3iv()
593 if (mFunctions->programUniform4iv != nullptr) in setUniform4iv()
595 mFunctions->programUniform4iv(mProgramID, uniLoc(location), count, v); in setUniform4iv()
600 mFunctions->uniform4iv(uniLoc(location), count, v); in setUniform4iv()
606 if (mFunctions->programUniform1uiv != nullptr) in setUniform1uiv()
608 mFunctions->programUniform1uiv(mProgramID, uniLoc(location), count, v); in setUniform1uiv()
613 mFunctions->uniform1uiv(uniLoc(location), count, v); in setUniform1uiv()
619 if (mFunctions->programUniform2uiv != nullptr) in setUniform2uiv()
621 mFunctions->programUniform2uiv(mProgramID, uniLoc(location), count, v); in setUniform2uiv()
626 mFunctions->uniform2uiv(uniLoc(location), count, v); in setUniform2uiv()
632 if (mFunctions->programUniform3uiv != nullptr) in setUniform3uiv()
634 mFunctions->programUniform3uiv(mProgramID, uniLoc(location), count, v); in setUniform3uiv()
639 mFunctions->uniform3uiv(uniLoc(location), count, v); in setUniform3uiv()
645 if (mFunctions->programUniform4uiv != nullptr) in setUniform4uiv()
647 mFunctions->programUniform4uiv(mProgramID, uniLoc(location), count, v); in setUniform4uiv()
652 mFunctions->uniform4uiv(uniLoc(location), count, v); in setUniform4uiv()
661 if (mFunctions->programUniformMatrix2fv != nullptr) in setUniformMatrix2fv()
663 mFunctions->programUniformMatrix2fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix2fv()
668 mFunctions->uniformMatrix2fv(uniLoc(location), count, transpose, value); in setUniformMatrix2fv()
677 if (mFunctions->programUniformMatrix3fv != nullptr) in setUniformMatrix3fv()
679 mFunctions->programUniformMatrix3fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix3fv()
684 mFunctions->uniformMatrix3fv(uniLoc(location), count, transpose, value); in setUniformMatrix3fv()
693 if (mFunctions->programUniformMatrix4fv != nullptr) in setUniformMatrix4fv()
695 mFunctions->programUniformMatrix4fv(mProgramID, uniLoc(location), count, transpose, value); in setUniformMatrix4fv()
700 mFunctions->uniformMatrix4fv(uniLoc(location), count, transpose, value); in setUniformMatrix4fv()
709 if (mFunctions->programUniformMatrix2x3fv != nullptr) in setUniformMatrix2x3fv()
711 mFunctions->programUniformMatrix2x3fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix2x3fv()
717 mFunctions->uniformMatrix2x3fv(uniLoc(location), count, transpose, value); in setUniformMatrix2x3fv()
726 if (mFunctions->programUniformMatrix3x2fv != nullptr) in setUniformMatrix3x2fv()
728 mFunctions->programUniformMatrix3x2fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix3x2fv()
734 mFunctions->uniformMatrix3x2fv(uniLoc(location), count, transpose, value); in setUniformMatrix3x2fv()
743 if (mFunctions->programUniformMatrix2x4fv != nullptr) in setUniformMatrix2x4fv()
745 mFunctions->programUniformMatrix2x4fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix2x4fv()
751 mFunctions->uniformMatrix2x4fv(uniLoc(location), count, transpose, value); in setUniformMatrix2x4fv()
760 if (mFunctions->programUniformMatrix4x2fv != nullptr) in setUniformMatrix4x2fv()
762 mFunctions->programUniformMatrix4x2fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix4x2fv()
768 mFunctions->uniformMatrix4x2fv(uniLoc(location), count, transpose, value); in setUniformMatrix4x2fv()
777 if (mFunctions->programUniformMatrix3x4fv != nullptr) in setUniformMatrix3x4fv()
779 mFunctions->programUniformMatrix3x4fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix3x4fv()
785 mFunctions->uniformMatrix3x4fv(uniLoc(location), count, transpose, value); in setUniformMatrix3x4fv()
794 if (mFunctions->programUniformMatrix4x3fv != nullptr) in setUniformMatrix4x3fv()
796 mFunctions->programUniformMatrix4x3fv(mProgramID, uniLoc(location), count, transpose, in setUniformMatrix4x3fv()
802 mFunctions->uniformMatrix4x3fv(uniLoc(location), count, transpose, value); in setUniformMatrix4x3fv()
816 mFunctions->getUniformBlockIndex(mProgramID, mappedNameWithIndex.c_str()); in setUniformBlockBinding()
824 mFunctions->uniformBlockBinding(mProgramID, realBlockIndex, uniformBlockBinding); in setUniformBlockBinding()
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()
933 if (mFunctions->getProgramInterfaceiv == nullptr) in getAtomicCounterBufferSizeMap()
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()
1032 GLint realLocation = mFunctions->getUniformLocation(mProgramID, fullName.c_str()); in postLink()
1039 mFunctions->getUniformLocation(mProgramID, "multiviewBaseViewLayerIndex"); in postLink()
1049 ASSERT(mFunctions->programUniform1i != nullptr); in enableSideBySideRenderingPath()
1050 mFunctions->programUniform1i(mProgramID, mMultiviewBaseViewLayerIndexUniformLocation, -1); in enableSideBySideRenderingPath()
1058 ASSERT(mFunctions->programUniform1i != nullptr); in enableLayeredRenderingPath()
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()