Home
last modified time | relevance | path

Searched refs:uniformIndex (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp364 for(size_t location = 0; location < uniformIndex.size(); location++) in getUniformLocation()
366 if(uniformIndex[location].name == baseName) in getUniformLocation()
368 const unsigned int index = uniformIndex[location].index; in getUniformLocation()
378 if(uniformIndex[location].element == subscript) in getUniformLocation()
502 …if(location < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INV… in setUniformfv()
507 Uniform *targetUniform = uniforms[uniformIndex[location].index]; in setUniformfv()
517 count = std::min(size - (int)uniformIndex[location].element, count); in setUniformfv()
522 memcpy(targetUniform->data + uniformIndex[location].element * sizeof(GLfloat)* numElements, in setUniformfv()
527 …GLboolean *boolParams = (GLboolean*)targetUniform->data + uniformIndex[location].element * numElem… in setUniformfv()
592 …if(location < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INV… in setUniformMatrixfv()
[all …]
DProgram.h311 UniformIndex uniformIndex; variable
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp183 size_t uniformIndex = 0; in onSetData() local
215 pdman.set4f(fUniformHandles[uniformIndex++], f1, f2, f3, f4); in onSetData()
221 pdman.set1i(fUniformHandles[uniformIndex++], i); in onSetData()
227 pdman.set1f(fUniformHandles[uniformIndex++], f); in onSetData()
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp177 size_t uniformIndex = 0; in onSetData() local
209 pdman.set4f(fUniformHandles[uniformIndex++], f1, f2, f3, f4); in onSetData()
215 pdman.set1i(fUniformHandles[uniformIndex++], i); in onSetData()
/external/deqp/modules/gles31/functional/
Des31fShaderStateQueryTests.cpp141 const glw::GLuint uniformIndex = 0; in iterate() local
145 gl.getActiveUniformsiv(program.getProgram(), 1, &uniformIndex, GL_UNIFORM_TYPE, &type); in iterate()
Des31fBasicComputeShaderTests.cpp1530 …const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_coun… in iterate() local
1531 …Index = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUN… in iterate()
1563 …const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_cou… in iterate() local
1564 …formOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_OFFSET); in iterate()
1565 …Index = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUN… in iterate()
Des31fProgramInterfaceQueryTests.cpp1452 glw::GLuint uniformIndex; in iterate() local
1465uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_uniformWithALongNam… in iterate()
1468 if (uniformIndex == GL_INVALID_INDEX) in iterate()
1517 …gl.getProgramResourceName(program.getProgram(), GL_UNIFORM, uniformIndex, querySizes[ndx].querySiz… in iterate()
1578 glw::GLuint uniformIndex; in iterate() local
1591 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_uniform"); in iterate()
1594 if (uniformIndex == GL_INVALID_INDEX) in iterate()
1632 …gl.getProgramResourceiv(program.getProgram(), GL_UNIFORM, uniformIndex, querySizes[ndx].numProps, … in iterate()
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp1545 const GLuint uniformIndex = uniformIndices[ndx]; in test() local
1548 glGetActiveUniformsiv(program, 1, &uniformIndex, GL_UNIFORM_NAME_LENGTH, &uniformNameLen); in test()
1566 const GLuint uniformIndex = uniformIndices[ndx]; in test() local
1571 …glGetActiveUniform(program, uniformIndex, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buff… in test()
1583 glGetActiveUniform(program, uniformIndex, 1, &written, &size, &type, buffer); in test()
1714 StateQueryMemoryWriteGuard<GLuint> uniformIndex; in test() local
1715 glGetUniformIndices(program, 1, uniformNames, &uniformIndex); in test()
1716 uniformIndex.verifyValidity(m_testCtx); in test()
1718 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_TYPE, uniformTypes[… in test()
1719 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_SIZE, uniformTypes[… in test()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cTransformFeedbackTests.hpp1201 glw::GLuint uniformIndex,
1285 glw::GLuint uniformIndex,
/external/mesa3d/src/mesa/main/
Duniforms.h271 _mesa_GetActiveUniformName(GLuint program, GLuint uniformIndex,
Duniforms.c1373 _mesa_GetActiveUniformName(GLuint program, GLuint uniformIndex, in _mesa_GetActiveUniformName() argument
1397 _mesa_get_program_resource_name(shProg, GL_UNIFORM, uniformIndex, bufSize, in _mesa_GetActiveUniformName()
/external/deqp/framework/platform/null/
DtcuNullRenderContextFuncs.inl2141 GLW_APICALL void GLW_APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei … argument
2144 DE_UNREF(uniformIndex);
/external/deqp/framework/opengl/
DgluCallLogWrapper.inl1769 void CallLogWrapper::glGetActiveUniformName (glw::GLuint program, glw::GLuint uniformIndex, glw::GL… argument
1772 …m_log << TestLog::Message << "glGetActiveUniformName(" << program << ", " << uniformIndex << ", " …
1773 m_gl.getActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
DgluCallLogWrapperApi.inl251 void glGetActiveUniformName (glw::GLuint program, glw::GLuint uniformIndex, glw::GLsizei…
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl1967 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length… argument
1972 gl->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
DglwFunctionTypes.inl251 …_APIENTRY* glGetActiveUniformNameFunc) (GLuint program, GLuint uniformIndex, GLsizei bufSiz…
DglwApi.inl1157 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsize…
/external/swiftshader/include/GL/
Dglcorearb.h1475 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsize…
1488 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, G…
Dglext.h1362 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsize…
1375 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, G…
/external/mesa3d/include/GL/
Dglcorearb.h1475 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsize…
1488 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, G…
Dglext.h1362 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsize…
1375 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, G…
/external/mesa3d/prebuilt-intermediates/main/
Dmarshal_generated.c17170 _mesa_marshal_GetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * … in _mesa_marshal_GetActiveUniformName() argument
17175 …CALL_GetActiveUniformName(ctx->CurrentServerDispatch, (program, uniformIndex, bufSize, length, uni… in _mesa_marshal_GetActiveUniformName()