Lines Matching refs:glslCaps
288 const GrGLSLCaps* glslCaps = this->glCaps().glslCaps(); in createPLSSetupProgram() local
289 const char* version = glslCaps->versionDeclString(); in createPLSSetupProgram()
299 if (glslCaps->noperspectiveInterpolationSupport()) { in createPLSSetupProgram()
300 if (const char* extension = glslCaps->noperspectiveInterpolationExtensionString()) { in createPLSSetupProgram()
305 aVertex.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram()
307 uTexCoordXform.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram()
309 uPosXform.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram()
311 vTexCoord.appendDecl(glslCaps, &vshaderTxt); in createPLSSetupProgram()
323 if (glslCaps->noperspectiveInterpolationSupport()) { in createPLSSetupProgram()
324 if (const char* extension = glslCaps->noperspectiveInterpolationExtensionString()) { in createPLSSetupProgram()
329 fshaderTxt.append(glslCaps->fbFetchExtensionString()); in createPLSSetupProgram()
332 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, *glslCaps, &fshaderTxt); in createPLSSetupProgram()
334 vTexCoord.appendDecl(glslCaps, &fshaderTxt); in createPLSSetupProgram()
336 uTexture.appendDecl(glslCaps, &fshaderTxt); in createPLSSetupProgram()
1809 const GrSwizzle& swizzle = this->glCaps().glslCaps()->configOutputSwizzle( in flushGLState()
1889 if (!GrGLProgramDescBuilder::Build(desc, primProc, pipeline, *this->glCaps().glslCaps())) { in buildProgramDesc()
3338 if (this->glCaps().glslCaps()->configOutputSwizzle(src->config()) != in onCopySurface()
3339 this->glCaps().glslCaps()->configOutputSwizzle(dst->config())) { in onCopySurface()
3370 const GrGLSLCaps* glslCaps = this->glCaps().glslCaps(); in createCopyPrograms() local
3371 const char* version = glslCaps->versionDeclString(); in createCopyPrograms()
3397 if (glslCaps->noperspectiveInterpolationSupport()) { in createCopyPrograms()
3398 if (const char* extension = glslCaps->noperspectiveInterpolationExtensionString()) { in createCopyPrograms()
3404 aVertex.appendDecl(glslCaps, &vshaderTxt); in createCopyPrograms()
3406 uTexCoordXform.appendDecl(glslCaps, &vshaderTxt); in createCopyPrograms()
3408 uPosXform.appendDecl(glslCaps, &vshaderTxt); in createCopyPrograms()
3410 vTexCoord.appendDecl(glslCaps, &vshaderTxt); in createCopyPrograms()
3423 if (glslCaps->noperspectiveInterpolationSupport()) { in createCopyPrograms()
3424 if (const char* extension = glslCaps->noperspectiveInterpolationExtensionString()) { in createCopyPrograms()
3430 glslCaps->externalTextureExtensionString()); in createCopyPrograms()
3432 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, *glslCaps, in createCopyPrograms()
3435 vTexCoord.appendDecl(glslCaps, &fshaderTxt); in createCopyPrograms()
3437 uTexture.appendDecl(glslCaps, &fshaderTxt); in createCopyPrograms()
3440 if (glslCaps->mustDeclareFragmentShaderOutput()) { in createCopyPrograms()
3441 oFragColor.appendDecl(glslCaps, &fshaderTxt); in createCopyPrograms()
3507 const char* version = this->glCaps().glslCaps()->versionDeclString(); in createWireRectProgram()
3513 aVertex.appendDecl(this->glCaps().glslCaps(), &vshaderTxt); in createWireRectProgram()
3515 uRect.appendDecl(this->glCaps().glslCaps(), &vshaderTxt); in createWireRectProgram()
3530 *this->glCaps().glslCaps(), in createWireRectProgram()
3532 uColor.appendDecl(this->glCaps().glslCaps(), &fshaderTxt); in createWireRectProgram()
3535 if (this->glCaps().glslCaps()->mustDeclareFragmentShaderOutput()) { in createWireRectProgram()
3536 oFragColor.appendDecl(this->glCaps().glslCaps(), &fshaderTxt); in createWireRectProgram()