/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLShaderStringBuilder.h | 17 GrGLuint programId,
|
H A D | GrGLGeometryShaderBuilder.h | 26 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
|
H A D | GrGLVertexShaderBuilder.h | 57 void bindProgramLocations(GrGLuint programId); 58 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
|
H A D | GrGLVertexShaderBuilder.cpp | 60 void GrGLVertexShaderBuilder::bindProgramLocations(GrGLuint programId) { argument 66 GL_CALL(BindAttribLocation(programId, 70 GL_CALL(BindAttribLocation(programId, 75 GL_CALL(BindAttribLocation(programId, 80 GL_CALL(BindAttribLocation(programId, 105 GL_CALL(BindAttribLocation(programId, index, fInputs[i].c_str())); 112 bool GrGLVertexShaderBuilder::compileAndAttachShaders(GrGLuint programId, 124 GrGLuint vertShaderId = GrGLCompileAndAttachShader(glCtx, programId,
|
H A D | GrGLFullProgramBuilder.cpp | 207 bool GrGLFullProgramBuilder::compileAndAttachShaders(GrGLuint programId, argument 209 return INHERITED::compileAndAttachShaders(programId, shaderIds) 210 && fVS.compileAndAttachShaders(programId, shaderIds) 213 || fGS.compileAndAttachShaders(programId, shaderIds)) 218 void GrGLFullProgramBuilder::bindProgramLocations(GrGLuint programId) { argument 219 fVS.bindProgramLocations(programId); 220 INHERITED::bindProgramLocations(programId);
|
H A D | GrGLFragmentShaderBuilder.h | 107 void bindProgramLocations(GrGLuint programId); 108 bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
|
H A D | GrGLGeometryShaderBuilder.cpp | 38 bool GrGLGeometryShaderBuilder::compileAndAttachShaders(GrGLuint programId, argument 64 GrGLCompileAndAttachShader(glCtx, programId,
|
H A D | GrGLProgramBuilder.cpp | 286 bool GrGLProgramBuilder::compileAndAttachShaders(GrGLuint programId, argument 288 return fFS.compileAndAttachShaders(programId, shaderIds); 291 void GrGLProgramBuilder::bindProgramLocations(GrGLuint programId) { argument 292 fFS.bindProgramLocations(programId); 299 GL_CALL(BindUniformLocation(programId, i, fUniforms[i].fVariable.c_str())); 305 void GrGLProgramBuilder::resolveProgramLocations(GrGLuint programId) { argument 312 GetUniformLocation(programId, fUniforms[i].fVariable.c_str())); 321 GetProgramResourceLocation(programId,
|
H A D | GrGLShaderStringBuilder.cpp | 21 GrGLuint programId, 84 GR_GL_CALL(gli, AttachShader(programId, shaderId)); 20 GrGLCompileAndAttachShader(const GrGLContext& glCtx, GrGLuint programId, GrGLenum type, const SkString& shaderSrc, GrContext::GPUStats* gpuStats) argument
|
H A D | GrGLFullProgramBuilder.h | 113 virtual bool compileAndAttachShaders(GrGLuint programId, 116 virtual void bindProgramLocations(GrGLuint programId) SK_OVERRIDE;
|
H A D | GrGLFragmentShaderBuilder.cpp | 211 void GrGLFragmentShaderBuilder::bindProgramLocations(GrGLuint programId) { argument 214 GL_CALL(BindFragDataLocation(programId, 0, declared_color_output_name())); 217 GL_CALL(BindFragDataLocationIndexed(programId, 0, 1, dual_source_output_name())); 221 bool GrGLFragmentShaderBuilder::compileAndAttachShaders(GrGLuint programId, argument 239 GrGLuint fragShaderId = GrGLCompileAndAttachShader(gpu->glContext(), programId,
|
H A D | GrGLProgramBuilder.h | 181 virtual bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const; 183 virtual void bindProgramLocations(GrGLuint programId); 184 void resolveProgramLocations(GrGLuint programId);
|
/external/skia/src/gpu/gl/ |
H A D | GrGLShaderBuilder.cpp | 724 GrGLuint programId, 776 GR_GL_CALL(gli, AttachShader(programId, shaderId)); 781 bool GrGLShaderBuilder::compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const { argument 797 GrGLuint fragShaderId = attach_shader(fGpu->glContext(), programId, GR_GL_FRAGMENT_SHADER, fragShaderSrc); 807 void GrGLShaderBuilder::bindProgramLocations(GrGLuint programId) const { 809 GL_CALL(BindFragDataLocation(programId, 0, declared_color_output_name())); 812 GL_CALL(BindFragDataLocationIndexed(programId, 0, 1, dual_source_output_name())); 986 bool GrGLFullShaderBuilder::compileAndAttachShaders(GrGLuint programId, argument 996 GrGLuint vertShaderId = attach_shader(glCtx, programId, GR_GL_VERTEX_SHADER, vertShaderSrc); 1026 GrGLuint geomShaderId = attach_shader(glCtx, programId, GR_GL_GEOMETRY_SHADE 723 attach_shader(const GrGLContext& glCtx, GrGLuint programId, GrGLenum type, const SkString& shaderSrc) argument [all...] |
H A D | GrGLShaderBuilder.h | 265 virtual bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const; 267 virtual void bindProgramLocations(GrGLuint programId) const; 474 virtual bool compileAndAttachShaders(GrGLuint programId, 477 virtual void bindProgramLocations(GrGLuint programId) const SK_OVERRIDE;
|
/external/deqp/modules/glshared/ |
H A D | glsLifetimeTests.cpp | 843 GLuint programId = 0; local 853 programId = program.getProgram(); 855 log() << TestLog::Message << "// Created and linked program " << programId 857 GLU_CHECK_CALL_ERROR(glUseProgram(programId), gl().getError()); 859 log() << TestLog::Message << "// Deleted program " << programId 862 TCU_CHECK(glIsProgram(programId)); 865 glGetProgramiv(programId, GL_DELETE_STATUS, &deleteFlagged); 869 errors.check(!gl().isProgram(programId),
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fClippingTests.cpp | 542 const deUint32 programId = ctx.createProgram(&program); local 543 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); 544 const GLint pointSizeLoc = ctx.getAttribLocation(programId, "a_pointSize"); 545 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); 551 ctx.useProgram (programId); 559 ctx.deleteProgram (programId); 679 const deUint32 programId = ctx.createProgram(&program); local 680 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); 681 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); 687 ctx.useProgram (programId); 892 const deUint32 programId = ctx.createProgram(&program); local 1123 const deUint32 programId = ctx.createProgram(&program); local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fClippingTests.cpp | 545 const deUint32 programId = ctx.createProgram(&program); local 546 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); 547 const GLint pointSizeLoc = ctx.getAttribLocation(programId, "a_pointSize"); 548 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); 554 ctx.useProgram (programId); 562 ctx.deleteProgram (programId); 682 const deUint32 programId = ctx.createProgram(&program); local 683 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); 684 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); 690 ctx.useProgram (programId); 896 const deUint32 programId = ctx.createProgram(&program); local 1127 const deUint32 programId = ctx.createProgram(&program); local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | State.h | 168 void setCurrentProgram(GLuint programId, Program *newProgram);
|
H A D | State.cpp | 839 void State::setCurrentProgram(GLuint programId, Program *newProgram) argument 841 mCurrentProgramId = programId; // set new ID before trying to delete program binary; otherwise it will only be flagged for deletion
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fGeometryShaderTests.cpp | 2019 const GLuint programId = ctx.createProgram(&program); local 2020 const GLint attrPosLoc = ctx.getAttribLocation(programId, "a_position"); 2021 const GLint attrColLoc = ctx.getAttribLocation(programId, m_dataAttributeName); 2064 ctx.useProgram(programId); 2067 preRender(ctx, programId); 2091 postRender(ctx, programId); 2304 const GLuint programId = m_ctx->createProgram(m_program); local 2305 const GLint attrPosLoc = m_ctx->getAttribLocation(programId, "a_position"); 2326 m_ctx->useProgram(programId);
|