/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...] |
es2fShaderTextureFunctionTests.cpp | 235 void setupUniforms (int programID, const tcu::Vec4& constCoords); 539 void ShaderTextureFunctionCase::setupUniforms (int programID, const tcu::Vec4&) 542 gl.uniform1i(gl.getUniformLocation(programID, "u_sampler"), 0);
|
/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...] |
es3fShaderIndexingTests.cpp | 145 virtual void setup (int programID); 146 virtual void setupUniforms (int programID, const Vec4& constCoords); 163 void ShaderIndexingCase::setup (int programID) 165 DE_UNREF(programID); 168 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) 174 int arrLoc = gl.getUniformLocation(programID, "u_arr"); [all...] |
es3fDrawTests.cpp | 689 deUint32 programID = ctx.createProgram(&program); 690 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); 691 deInt32 offsetLocation = ctx.getAttribLocation(programID, "a_offset"); 692 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); 756 ctx.useProgram(programID); 768 ctx.deleteProgram(programID); [all...] |
/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 | 202 SingleVariableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension = ""); 213 SingleVariableValidator::SingleVariableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension) 216 , m_programID (programID) 261 SingleBlockValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension = ""); 271 SingleBlockValidator::SingleBlockValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableSearchFilter& filter, const char* requiredExtension) 274 , m_programID (programID) 330 TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter); 337 TypeValidator::TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter) 338 : SingleVariableValidator(context, PROGRAMRESOURCEPROP_TYPE, programID, filter) 400 ArraySizeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter) [all...] |
es31fUniformLocationTests.cpp | 371 const deUint32 programID = program.getProgram(); 394 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); 529 const deUint32 programID = program.getProgram(); 530 const deInt32 posLoc = gl.getAttribLocation(programID, "a_position"); 550 gl.useProgram(programID); 565 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); [all...] |
es31fDrawTests.cpp | 820 deUint32 programID = ctx.createProgram(&program); 821 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); 822 deInt32 offsetLocation = ctx.getAttribLocation(programID, "a_offset"); 823 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); 915 ctx.useProgram(programID); 931 ctx.deleteProgram(programID); [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL_program.cpp | 259 GrGLuint programID = fCurrentProgram->programID(); 260 if (fHWProgramID != programID) { 261 GL_CALL(UseProgram(programID)); 262 fHWProgramID = programID;
|
GrGLProgram.h | 60 GrGLuint programID() const { return fProgramID; }
|
/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);
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 36 GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID, 39 GrProgramObj *program = GR_FIND(programID, GrProgramObj, 192 GrGLvoid GR_GL_FUNCTION_TYPE debugGLUseProgram(GrGLuint programID) { 194 // A programID of 0 is legal 195 GrProgramObj *program = GR_FIND(programID, 481 GrGLvoid GR_GL_FUNCTION_TYPE debugGLDeleteProgram(GrGLuint programID) { 483 GrProgramObj *program = GR_FIND(programID, [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderOperatorTests.cpp | [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderOperatorTests.cpp | [all...] |