Home | History | Annotate | Download | only in gl

Lines Matching full:glslcaps

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