/external/deqp/modules/gles3/functional/ |
D | es3fShaderStructTests.cpp | 54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 113 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 1146 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1148 int loc = gl.getUniformLocation(programID, name); \ 1155 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1157 int loc = gl.getUniformLocation(programID, name); \ 1167 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | es3fDepthTests.cpp | 54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color); 85 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument 87 ctx.useProgram(programID); in setColor() 88 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
|
D | es3fShaderDiscardTests.cpp | 61 void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 114 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
D | es3fVertexTextureTests.cpp | 733 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 738 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 747 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 758 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 771 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() 1068 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 1073 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 1082 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 1093 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 1106 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() [all …]
|
D | es3fShaderLoopTests.cpp | 216 virtual void setup (int programID); 217 virtual void setupUniforms (int programID, const Vec4& constCoords); 231 void ShaderLoopCase::setup (int programID) in setup() argument 233 DE_UNREF(programID); in setup() 236 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 238 DE_UNREF(programID); in setupUniforms()
|
D | es3fShaderIndexingTests.cpp | 145 virtual void setup (int programID); 146 virtual void setupUniforms (int programID, const Vec4& constCoords); 163 void ShaderIndexingCase::setup (int programID) in setup() argument 165 DE_UNREF(programID); in setup() 168 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 174 int arrLoc = gl.getUniformLocation(programID, "u_arr"); in setupUniforms()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStructTests.cpp | 61 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 72 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 144 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 146 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 148 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 1172 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1174 int loc = gl.getUniformLocation(programID, name); \ 1181 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1183 int loc = gl.getUniformLocation(programID, name); \ 1193 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | es2fDepthTests.cpp | 54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color); 82 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument 84 ctx.useProgram(programID); in setColor() 85 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
|
D | es2fShaderDiscardTests.cpp | 67 void setupUniforms (int programID, const tcu::Vec4& constCoords); 131 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 134 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
D | es2fVertexTextureTests.cpp | 632 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 637 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 646 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 657 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 670 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() 964 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 969 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 978 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 989 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 1002 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs()
|
D | es2fShaderLoopTests.cpp | 221 virtual void setup (int programID); 222 virtual void setupUniforms (int programID, const Vec4& constCoords); 263 void ShaderLoopCase::setup (int programID) in setup() argument 265 DE_UNREF(programID); in setup() 268 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 270 DE_UNREF(programID); in setupUniforms()
|
D | es2fShaderIndexingTests.cpp | 154 virtual void setup (int programID); 155 virtual void setupUniforms (int programID, const Vec4& constCoords); 193 void ShaderIndexingCase::setup (int programID) in setup() argument 195 DE_UNREF(programID); in setup() 198 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 204 int arrLoc = gl.getUniformLocation(programID, "u_arr"); in setupUniforms()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 128 GrGLuint programID; in finalize() local 129 GL_CALL_RET(programID, CreateProgram()); in finalize() 130 if (0 == programID) { in finalize() 139 if (!this->compileAndAttachShaders(fVS, programID, GR_GL_VERTEX_SHADER, &shadersToDelete)) { in finalize() 140 this->cleanupProgram(programID, shadersToDelete); in finalize() 151 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); in finalize() 155 if (!this->compileAndAttachShaders(fFS, programID, GR_GL_FRAGMENT_SHADER, &shadersToDelete)) { in finalize() 156 this->cleanupProgram(programID, shadersToDelete); in finalize() 160 this->bindProgramResourceLocations(programID); in finalize() 162 GL_CALL(LinkProgram(programID)); in finalize() [all …]
|
D | GrGLProgramBuilder.h | 50 void bindProgramResourceLocations(GrGLuint programID); 51 bool checkLinkStatus(GrGLuint programID); 52 void resolveProgramResourceLocations(GrGLuint programID); 53 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 57 GrGLProgram* createProgram(GrGLuint programID);
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 427 deUint32 programID = m_program->getProgram(); in iterate() local 428 gl.useProgram(programID); in iterate() 440 render(resImage, programID, quadGrid); in iterate() 464 void ShaderRenderCase::setup (int programID) in setup() argument 466 DE_UNREF(programID); in setup() 469 void ShaderRenderCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 471 DE_UNREF(programID); in setupUniforms() 475 void ShaderRenderCase::setupDefaultInputs (int programID) in setupDefaultInputs() argument 481 setupDefaultUniforms(m_renderCtx, programID); in setupDefaultInputs() 590 void ShaderRenderCase::render (Surface& result, int programID, const QuadGrid& quadGrid) in render() argument [all …]
|
D | glsShaderRenderCase.hpp | 218 virtual void setup (int programID); 219 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 233 void setupDefaultInputs (int programID); 235 void render (tcu::Surface& result, int programID, const QuadGrid& quadGrid); 264 void setupDefaultUniforms (const glu::RenderContext& context, deUint32 programID);
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 64 void GrGLUniformHandler::bindUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in bindUniformLocations() argument 68 GL_CALL(BindUniformLocation(programID, i, fUniforms[i].fVariable.c_str())); in bindUniformLocations() 74 void GrGLUniformHandler::getUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in getUniformLocations() argument 79 GL_CALL_RET(location, GetUniformLocation(programID, fUniforms[i].fVariable.c_str())); in getUniformLocations()
|
D | GrGLUniformHandler.h | 44 void bindUniformLocations(GrGLuint programID, const GrGLCaps& caps); 47 void getUniformLocations(GrGLuint programID, const GrGLCaps& caps);
|
D | GrGLProgram.cpp | 31 GrGLuint programID, in GrGLProgram() argument 39 , fProgramID(programID) in GrGLProgram() 45 , fProgramDataManager(gpu, programID, uniforms, pathProcVaryings) { in GrGLProgram()
|
D | GrGLProgram.h | 53 GrGLuint programID() const { return fProgramID; } in programID() function 108 GrGLuint programID,
|
D | GrGLProgramDataManager.h | 46 GrGLProgramDataManager(GrGLGpu*, GrGLuint programID, const UniformInfoArray&,
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 224 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 235 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleVariableValidator() argument 238 , m_programID (programID) in SingleVariableValidator() 284 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 294 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleBlockValidator() argument 297 , m_programID (programID) in SingleBlockValidator() 355 TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter); 362 TypeValidator::TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& … in TypeValidator() argument 363 : SingleVariableValidator(context, PROGRAMRESOURCEPROP_TYPE, programID, filter, DE_NULL) in TypeValidator() 430 …ArraySizeValidator (Context& context, glw::GLuint programID, int unsizedArraySize, const Variab… [all …]
|
D | es31fUniformLocationTests.cpp | 371 const deUint32 programID = program.getProgram(); in verifyLocations() local 393 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); in verifyLocations() 528 const deUint32 programID = program.getProgram(); in render() local 529 const deInt32 posLoc = gl.getAttribLocation(programID, "a_position"); in render() 549 gl.useProgram(programID); in render() 564 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); in render()
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 36 GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID, in debugGLAttachShader() argument 39 GrProgramObj *program = GR_FIND(programID, GrProgramObj, in debugGLAttachShader() 192 GrGLvoid GR_GL_FUNCTION_TYPE debugGLUseProgram(GrGLuint programID) { in debugGLUseProgram() argument 195 GrProgramObj *program = GR_FIND(programID, in debugGLUseProgram() 481 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteProgram(GrGLuint programID) { in debugGLDeleteProgram() argument 483 GrProgramObj *program = GR_FIND(programID, in debugGLDeleteProgram()
|
/external/deqp/modules/gles31/stress/ |
D | es31sDrawTests.cpp | 183 const deUint32 programID = program.getProgram(); in iterate() local 184 const deInt32 posLocation = gl.glGetAttribLocation(programID, "a_position"); in iterate() 185 const deInt32 colorLocation = gl.glGetAttribLocation(programID, "a_color"); in iterate() 285 gl.glUseProgram(programID); in iterate()
|