/external/deqp/modules/gles2/functional/ |
es2fShaderStructTests.cpp | 61 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords); 72 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 144 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) 146 ShaderRenderCase::setupUniforms(programID, constCoords); 148 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); 1172 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \ 1174 int loc = gl.getUniformLocation(programID, name); \ [all...] |
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) 84 ctx.useProgram(programID); 85 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr());
|
es2fShaderDiscardTests.cpp | 67 void setupUniforms (int programID, const tcu::Vec4& constCoords); 131 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) 134 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0);
|
es2fVertexTextureTests.cpp | 632 const deUint32 programID = m_program->getProgram(); 637 const int positionLoc = glGetAttribLocation(programID, "a_position"); 646 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); 657 const int lodLoc = glGetUniformLocation(programID, "u_lod"); 670 const int texLoc = glGetUniformLocation(programID, "u_texture"); [all...] |
es2fShaderIndexingTests.cpp | 154 virtual void setup (int programID); 155 virtual void setupUniforms (int programID, const Vec4& constCoords); 193 void ShaderIndexingCase::setup (int programID) 195 DE_UNREF(programID); 198 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) 204 int arrLoc = gl.getUniformLocation(programID, "u_arr"); [all...] |
es2fShaderLoopTests.cpp | 220 virtual void setup (int programID); 221 virtual void setupUniforms (int programID, const Vec4& constCoords); 262 void ShaderLoopCase::setup (int programID) 264 DE_UNREF(programID); 267 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) 269 DE_UNREF(programID); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderStructTests.cpp | 54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords); 65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) 113 ShaderRenderCase::setupUniforms(programID, constCoords); 115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); 1146 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \ 1148 int loc = gl.getUniformLocation(programID, name); \ 1155 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE* vec, int arraySize) \ 1157 int loc = gl.getUniformLocation(programID, name); \ 1167 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value [all...] |
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) 87 ctx.useProgram(programID); 88 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr());
|
es3fShaderDiscardTests.cpp | 61 void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) 114 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0);
|
es3fShaderLoopTests.cpp | 215 virtual void setup (int programID); 216 virtual void setupUniforms (int programID, const Vec4& constCoords); 230 void ShaderLoopCase::setup (int programID) 232 DE_UNREF(programID); 235 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) 237 DE_UNREF(programID); [all...] |
es3fVertexTextureTests.cpp | 733 const deUint32 programID = m_program->getProgram(); 738 const int positionLoc = glGetAttribLocation(programID, "a_position"); 747 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); 758 const int lodLoc = glGetUniformLocation(programID, "u_lod"); 771 const int texLoc = glGetUniformLocation(programID, "u_texture"); [all...] |
/external/skia/src/gpu/gl/builders/ |
GrGLProgramBuilder.cpp | 34 GrGLProgram* createProgram(GrGLuint programID) override { 39 pathProc->resolveSeparableVaryings(fGpu, programID); 40 return SkNEW_ARGS(GrGLNvprProgram, (fGpu, this->desc(), fUniformHandles, programID, 400 GrGLuint programID; 401 GL_CALL_RET(programID, CreateProgram()); 402 if (0 == programID) { 409 if (!fVS.compileAndAttachShaders(programID, &shadersToDelete)) { 410 this->cleanupProgram(programID, shadersToDelete); 417 fVS.bindVertexAttributes(programID); 420 if (!fFS.compileAndAttachShaders(programID, &shadersToDelete)) [all...] |
GrGLVertexShaderBuilder.h | 40 void bindVertexAttributes(GrGLuint programID); 41 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds);
|
GrGLProgramBuilder.h | 325 void bindUniformLocations(GrGLuint programID); 326 bool checkLinkStatus(GrGLuint programID); 327 void resolveUniformLocations(GrGLuint programID); 328 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 332 virtual GrGLProgram* createProgram(GrGLuint programID);
|
GrGLVertexShaderBuilder.cpp | 71 void GrGLVertexBuilder::bindVertexAttributes(GrGLuint programID) { 76 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); 82 GrGLVertexBuilder::compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) { 88 return this->finalize(programId, GR_GL_VERTEX_SHADER, shaderIds);
|
GrGLFragmentShaderBuilder.h | 111 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds); 112 void bindFragmentShaderLocations(GrGLuint programID);
|
GrGLFragmentShaderBuilder.cpp | 269 bool GrGLFragmentShaderBuilder::compileAndAttachShaders(GrGLuint programId, 283 return this->finalize(programId, GR_GL_FRAGMENT_SHADER, shaderIds); 286 void GrGLFragmentShaderBuilder::bindFragmentShaderLocations(GrGLuint programID) { 290 GL_CALL(BindFragDataLocation(programID, 0, declared_color_output_name())); 293 GL_CALL(BindFragDataLocationIndexed(programID, 0, 1, dual_source_output_name()));
|
/external/skia/src/gpu/gl/ |
GrGLProgram.h | 54 GrGLuint programID() const { return fProgramID; } 107 GrGLuint programID, 171 GrGLuint programID,
|
GrGLPathProcessor.h | 30 void resolveSeparableVaryings(GrGLGpu* gpu, GrGLuint programId); 40 GrGLuint programID);
|
GrGLProgram.cpp | 32 GrGLuint programID, 41 , fProgramID(programID) 179 GrGLuint programID, 184 : INHERITED(gpu, desc, builtinUniforms, programID, uniforms, primProc,
|
GrGLPathProcessor.cpp | 92 void GrGLPathProcessor::resolveSeparableVaryings(GrGLGpu* gpu, GrGLuint programId) { 98 GetProgramResourceLocation(programId, 110 GrGLuint programID) { 127 glpr->setProgramPathFragmentInputTransform(programID,
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.cpp | 443 deUint32 programID = m_program->getProgram(); 444 gl.useProgram(programID); 456 render(resImage, programID, quadGrid); 480 void ShaderRenderCase::setup (int programID) 482 DE_UNREF(programID); 485 void ShaderRenderCase::setupUniforms (int programID, const Vec4& constCoords) 487 DE_UNREF(programID); 491 void ShaderRenderCase::setupDefaultInputs (int programID) 497 setupDefaultUniforms(m_renderCtx, programID); 606 void ShaderRenderCase::render (Surface& result, int programID, const QuadGrid& quadGrid [all...] |
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/deqp/modules/gles31/functional/ |
es31fProgramInterfaceQueryTestCase.cpp | 224 SingleVariableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension); 235 SingleVariableValidator::SingleVariableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension) 238 , m_programID (programID) 284 SingleBlockValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension); 294 SingleBlockValidator::SingleBlockValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension) 297 , m_programID (programID) 355 TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter); 362 TypeValidator::TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter) 363 : SingleVariableValidator(context, PROGRAMRESOURCEPROP_TYPE, programID, filter, DE_NULL) 430 ArraySizeValidator (Context& context, glw::GLuint programID, int unsizedArraySize, const VariableSearchFilter& filter) [all...] |
/external/deqp/modules/gles31/stress/ |
es31sDrawTests.cpp | 183 const deUint32 programID = program.getProgram(); 184 const deInt32 posLocation = gl.glGetAttribLocation(programID, "a_position"); 185 const deInt32 colorLocation = gl.glGetAttribLocation(programID, "a_color"); 285 gl.glUseProgram(programID);
|