HomeSort by relevance Sort by last modified time
    Searched full:glslcaps (Results 1 - 25 of 28) sorted by null

1 2

  /external/skia/src/gpu/glsl/
GrGLSLFragmentShaderBuilder.cpp 86 if (!fProgramBuilder->glslCaps()->shaderDerivativeSupport()) {
89 const char* extension = fProgramBuilder->glslCaps()->shaderDerivativeExtensionString();
96 if (fProgramBuilder->glslCaps()->pixelLocalStorageSize() <= 0) {
128 const GrGLSLCaps* glslCaps = fProgramBuilder->glslCaps();
135 } else if (const char* extension = glslCaps->fragCoordConventionsExtensionString()) {
137 if (glslCaps->generation() < k150_GrGLSLGeneration) {
162 const char* precision = glslCaps->usesPrecisionModifiers() ? "highp " : "";
174 const GrGLSLCaps& glslCaps = *fProgramBuilder->glslCaps();
    [all...]
GrGLSLShaderBuilder.cpp 34 var.appendDecl(fProgramBuilder->glslCaps(), &tempDecl);
49 args[i].appendDecl(fProgramBuilder->glslCaps(), &this->functions());
63 const GrGLSLCaps* glslCaps = fProgramBuilder->glslCaps();
70 glslCaps->generation()),
77 glslCaps->generation()),
85 GrGLSLTexture2DFunctionName(varyingType, samplerType, glslCaps->generation()),
93 const GrSwizzle& configSwizzle = glslCaps->configTextureSwizzle(sampler.config());
126 vars[i].appendDecl(fProgramBuilder->glslCaps(), out);
132 SkASSERT(fProgramBuilder->glslCaps()->generation() >= k330_GrGLSLGeneration |
    [all...]
GrGLSL.cpp 29 const GrGLSLCaps& glslCaps,
31 if (glslCaps.usesPrecisionModifiers()) {
GrGLSLShaderVar.h 166 void appendDecl(const GrGLSLCaps* glslCaps, SkString* out) const {
173 out->append(TypeModifierString(glslCaps, this->getTypeModifier()));
178 out->append(PrecisionString(glslCaps, fPrecision));
213 static const char* PrecisionString(const GrGLSLCaps* glslCaps, GrSLPrecision p) {
215 if (glslCaps->usesPrecisionModifiers()) {
231 static const char* TypeModifierString(const GrGLSLCaps* glslCaps, TypeModifier t) {
232 GrGLSLGeneration gen = glslCaps->generation();
GrGLSLProgramBuilder.cpp 82 fGeometryProcessor = proc.createGLSLInstance(*this->glslCaps());
91 this->glslCaps(),
140 this->glslCaps(),
172 if (this->glslCaps()->mustDeclareFragmentShaderOutput()) {
186 this->glslCaps(),
GrGLSLVarying.cpp 94 const GrGLSLCaps& caps = *fProgramBuilder->glslCaps();
138 vars[i].appendDecl(fProgramBuilder->glslCaps(), out);
155 SkASSERT(k110_GrGLSLGeneration != fProgramBuilder->glslCaps()->generation() ||
GrGLSLProgramBuilder.h 36 virtual const GrGLSLCaps* glslCaps() const = 0;
  /external/skia/src/gpu/gl/
GrGLProgramDesc.cpp 64 const GrGLSLCaps& glslCaps,
76 add_texture_key(b, proc, glslCaps);
86 const GrGLSLCaps& glslCaps,
89 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) {
94 fp.getGLSLProcessorKey(glslCaps, b);
96 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(),
103 const GrGLSLCaps& glslCaps) {
118 primProc.getGLSLProcessorKey(glslCaps, &b);
119 if (!gen_meta_key(primProc, glslCaps, 0, &b)) {
126 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b))
    [all...]
GrGLCaps.cpp 272 GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get());
274 glslCaps->fPathRenderingSupport = this->hasPathRenderingSupport(ctxInfo, gli);
278 glslCaps->fDstReadInShaderSupport = glslCaps->fFBFetchSupport;
282 glslCaps->fDualSourceBlendingSupport = (ctxInfo.version() >= GR_GL_VER(3, 3) ||
285 glslCaps->fShaderDerivativeSupport = true;
287 glslCaps->fGeometryShaderSupport = ctxInfo.version() >= GR_GL_VER(3, 2) &&
289 glslCaps->fIntegerSupport = ctxInfo.version() >= GR_GL_VER(3, 0) &&
293 glslCaps->fDualSourceBlendingSupport = ctxInfo.hasExtension("GL_EXT_blend_func_extended");
295 glslCaps->fShaderDerivativeSupport = ctxInfo.version() >= GR_GL_VER(3, 0) |
    [all...]
GrGLGpu.cpp 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())
    [all...]
GrGLCaps.h 351 const GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); }
375 void initConfigTable(const GrGLContextInfo&, const GrGLInterface* gli, GrGLSLCaps* glslCaps);
379 GrGLSLCaps* glslCaps);
GrGLUniformHandler.cpp 58 fUniforms[i].fVariable.appendDecl(fProgramBuilder->glslCaps(), out);
  /external/skia/src/gpu/vk/
GrVkProgramDesc.cpp 51 const GrGLSLCaps& glslCaps,
63 add_texture_key(b, proc, glslCaps);
73 const GrGLSLCaps& glslCaps,
76 if (!gen_frag_proc_and_meta_keys(primProc, fp.childProcessor(i), glslCaps, b)) {
81 fp.getGLSLProcessorKey(glslCaps, b);
83 return gen_meta_key(fp, glslCaps, primProc.getTransformKey(fp.coordTransforms(),
90 const GrGLSLCaps& glslCaps) {
105 primProc.getGLSLProcessorKey(glslCaps, &b);
106 if (!gen_meta_key(primProc, glslCaps, 0, &b)) {
113 if (!gen_frag_proc_and_meta_keys(primProc, fp, glslCaps, &b))
    [all...]
GrVkCaps.cpp 73 // GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get());
74 // glslCaps->applyOptionsOverrides(contextOptions);
109 GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get());
111 glslCaps->fVersionDeclString = "#version 140\n";
117 glslCaps->fConfigTextureSwizzle[i] = GrSwizzle::RRRR();
118 glslCaps->fConfigOutputSwizzle[i] = GrSwizzle::AAAA();
120 glslCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA();
GrVkProgramBuilder.h 39 const GrGLSLCaps* glslCaps() const override;
GrVkCaps.h 79 GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); }
GrVkUniformHandler.cpp 133 localUniform.fVariable.appendDecl(fProgramBuilder->glslCaps(), &uniformsString);
138 localUniform.fVariable.appendDecl(fProgramBuilder->glslCaps(), out);
GrVkProgramBuilder.cpp 45 const GrGLSLCaps* GrVkProgramBuilder::glslCaps() const {
46 return fGpu->vkCaps().glslCaps();
  /external/skia/bench/
GLVertexAttributesBench.cpp 68 const GrGLSLCaps* glslCaps = ctx->caps()->glslCaps();
69 const char* version = glslCaps->versionDeclString();
77 aPosition.appendDecl(glslCaps, &vshaderTxt);
86 aVars.back().appendDecl(glslCaps, &vshaderTxt);
97 oVars.back().appendDecl(glslCaps, &vshaderTxt);
122 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, *glslCaps, &fshaderTxt);
125 if (glslCaps->mustDeclareFragmentShaderOutput()) {
126 oFragColor.appendDecl(glslCaps, &fshaderTxt);
135 oVars[i].appendDecl(glslCaps, &fshaderTxt)
    [all...]
GLVec4ScalarBench.cpp 96 const GrGLSLCaps* glslCaps = ctx->caps()->glslCaps();
97 const char* version = glslCaps->versionDeclString();
110 aPosition.appendDecl(glslCaps, &vshaderTxt);
112 aColor.appendDecl(glslCaps, &vshaderTxt);
114 oPosition.appendDecl(glslCaps, &vshaderTxt);
116 oColor.appendDecl(glslCaps, &vshaderTxt);
136 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, *glslCaps, &fshaderTxt);
138 oPosition.appendDecl(glslCaps, &fshaderTxt);
141 oColor.appendDecl(glslCaps, &fshaderTxt)
    [all...]
GLInstancedArraysBench.cpp 110 const GrGLSLCaps* glslCaps = ctx->caps()->glslCaps();
111 const char* version = glslCaps->versionDeclString();
119 aPosition.appendDecl(glslCaps, &vshaderTxt);
121 aColor.appendDecl(glslCaps, &vshaderTxt);
123 oColor.appendDecl(glslCaps, &vshaderTxt);
138 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, *glslCaps, &fshaderTxt);
140 oColor.appendDecl(glslCaps, &fshaderTxt);
144 if (glslCaps->mustDeclareFragmentShaderOutput()) {
145 oFragColor.appendDecl(glslCaps, &fshaderTxt)
    [all...]
  /external/skia/src/gpu/gl/builders/
GrGLProgramBuilder.cpp 67 const GrGLSLCaps* GrGLProgramBuilder::glslCaps() const {
68 return fGpu->ctxInfo().caps()->glslCaps();
95 const char* externalFeatureString = this->glslCaps()->externalTextureExtensionString();
187 if (fFS.hasSecondaryOutput() && caps.glslCaps()->mustDeclareFragmentShaderOutput()) {
GrGLProgramBuilder.h 35 const GrGLSLCaps* glslCaps() const override;
  /external/skia/src/gpu/effects/
GrTextureDomain.cpp 48 const GrGLSLCaps* glslCaps,
93 if (!glslCaps->canUseAnyFunctionInShader()) {
106 builder->codeAppend(GrGLSLShaderVar::PrecisionString(glslCaps,
109 builder->codeAppend(GrGLSLShaderVar::PrecisionString(glslCaps,
GrTextureDomain.h 119 const GrGLSLCaps* glslCaps,

Completed in 178 milliseconds

1 2