OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:shaderCaps
(Results
1 - 13
of
13
) sorted by null
/external/skia/bench/
GLVec4ScalarBench.cpp
96
const GrShaderCaps*
shaderCaps
= ctx->caps()->
shaderCaps
();
97
const char* version =
shaderCaps
->versionDeclString();
110
aPosition.appendDecl(
shaderCaps
, &vshaderTxt);
112
aColor.appendDecl(
shaderCaps
, &vshaderTxt);
114
oPosition.appendDecl(
shaderCaps
, &vshaderTxt);
116
oColor.appendDecl(
shaderCaps
, &vshaderTxt);
134
GrGLSLAppendDefaultFloatPrecisionDeclaration(kMedium_GrSLPrecision, *
shaderCaps
, &fshaderTxt);
136
oPosition.appendDecl(
shaderCaps
, &fshaderTxt);
139
oColor.appendDecl(
shaderCaps
, &fshaderTxt)
[
all
...]
GLInstancedArraysBench.cpp
110
const GrShaderCaps*
shaderCaps
= ctx->caps()->
shaderCaps
();
111
const char* version =
shaderCaps
->versionDeclString();
119
aPosition.appendDecl(
shaderCaps
, &vshaderTxt);
121
aColor.appendDecl(
shaderCaps
, &vshaderTxt);
123
oColor.appendDecl(
shaderCaps
, &vshaderTxt);
136
GrGLSLAppendDefaultFloatPrecisionDeclaration(kMedium_GrSLPrecision, *
shaderCaps
, &fshaderTxt);
138
oColor.appendDecl(
shaderCaps
, &fshaderTxt);
142
if (
shaderCaps
->mustDeclareFragmentShaderOutput()) {
143
oFragColor.appendDecl(
shaderCaps
, &fshaderTxt)
[
all
...]
GLVertexAttributesBench.cpp
68
const GrShaderCaps*
shaderCaps
= ctx->caps()->
shaderCaps
();
69
const char* version =
shaderCaps
->versionDeclString();
77
aPosition.appendDecl(
shaderCaps
, &vshaderTxt);
86
aVars.back().appendDecl(
shaderCaps
, &vshaderTxt);
97
oVars.back().appendDecl(
shaderCaps
, &vshaderTxt);
120
GrGLSLAppendDefaultFloatPrecisionDeclaration(kMedium_GrSLPrecision, *
shaderCaps
, &fshaderTxt);
123
if (
shaderCaps
->mustDeclareFragmentShaderOutput()) {
124
oFragColor.appendDecl(
shaderCaps
, &fshaderTxt);
133
oVars[i].appendDecl(
shaderCaps
, &fshaderTxt)
[
all
...]
/external/skia/src/gpu/glsl/
GrGLSLFragmentShaderBuilder.cpp
98
const GrShaderCaps&
shaderCaps
= *fProgramBuilder->
shaderCaps
();
101
if (!
shaderCaps
.multisampleInterpolationSupport()) {
104
if (const char* extension =
shaderCaps
.multisampleInterpolationExtensionString()) {
139
const GrShaderCaps&
shaderCaps
= *fProgramBuilder->
shaderCaps
();
140
if (!
shaderCaps
.sampleVariablesSupport()) {
144
if (const char* extension =
shaderCaps
.sampleVariablesExtensionString()) {
159
const GrShaderCaps&
shaderCaps
= *fProgramBuilder->
shaderCaps
();
[
all
...]
GrGLSLProgramBuilder.cpp
98
fGeometryProcessor = proc.createGLSLInstance(*this->
shaderCaps
());
112
this->
shaderCaps
(),
183
this->
shaderCaps
(),
217
if (this->
shaderCaps
()->mustDeclareFragmentShaderOutput()) {
240
this->
shaderCaps
(),
269
this->
shaderCaps
()->externalTextureExtensionString();
280
SkASSERT(this->
shaderCaps
()->texelBufferSupport());
291
if (const char* extension = this->
shaderCaps
()->texelBufferExtensionString()) {
325
GrSLPrecision precision = this->
shaderCaps
()->samplerPrecision(config, visibility);
326
GrSwizzle swizzle = this->
shaderCaps
()->configTextureSwizzle(config)
[
all
...]
GrGLSLProgramBuilder.h
40
const GrShaderCaps*
shaderCaps
() const { return this->caps()->
shaderCaps
(); }
/external/skia/src/gpu/vk/
GrVkCaps.cpp
203
GrShaderCaps*
shaderCaps
= fShaderCaps.get();
204
shaderCaps
->fVersionDeclString = "#version 330\n";
211
shaderCaps
->fConfigTextureSwizzle[i] = GrSwizzle::RRRR();
212
shaderCaps
->fConfigOutputSwizzle[i] = GrSwizzle::AAAA();
215
shaderCaps
->fConfigTextureSwizzle[i] = GrSwizzle::RRRA();
221
shaderCaps
->fConfigTextureSwizzle[i] = GrSwizzle::BGRA();
222
shaderCaps
->fConfigOutputSwizzle[i] = GrSwizzle::BGRA();
224
shaderCaps
->fConfigTextureSwizzle[i] = GrSwizzle::RGBA();
230
shaderCaps
->fAtan2ImplementedAsAtanYOverX = true;
234
shaderCaps
->fUsesPrecisionModifiers = true
[
all
...]
GrVkCopyManager.cpp
39
const GrShaderCaps*
shaderCaps
= gpu->caps()->
shaderCaps
();
40
const char* version =
shaderCaps
->versionDeclString();
152
if (gpu->caps()->
shaderCaps
()->configOutputSwizzle(src->config()) !=
153
gpu->caps()->
shaderCaps
()->configOutputSwizzle(dst->config())) {
/external/skia/include/gpu/
GrCaps.h
28
const GrShaderCaps*
shaderCaps
() const { return fShaderCaps.get(); }
/external/skia/src/gpu/ccpr/
GrCoverageCountingPathRenderer.cpp
25
const GrShaderCaps&
shaderCaps
= *caps.
shaderCaps
();
26
return
shaderCaps
.geometryShaderSupport() &&
27
shaderCaps
.texelBufferSupport() &&
28
shaderCaps
.integerSupport() &&
29
shaderCaps
.flatInterpolationSupport() &&
30
shaderCaps
.maxVertexSamplers() >= 1 &&
316
this->getFillType(), *flushState->gpu()->caps()->
shaderCaps
());
/external/skia/src/gpu/gl/
GrGLCaps.cpp
292
GrShaderCaps*
shaderCaps
= fShaderCaps.get();
295
shaderCaps
->fPathRenderingSupport = this->hasPathRenderingSupport(ctxInfo, gli);
300
shaderCaps
->fDstReadInShaderSupport =
shaderCaps
->fFBFetchSupport;
304
shaderCaps
->fDualSourceBlendingSupport = (ctxInfo.version() >= GR_GL_VER(3, 3) ||
307
shaderCaps
->fShaderDerivativeSupport = true;
309
shaderCaps
->fGeometryShaderSupport = ctxInfo.version() >= GR_GL_VER(3, 2) &&
311
shaderCaps
->fIntegerSupport = ctxInfo.version() >= GR_GL_VER(3, 0) &&
315
shaderCaps
->fDualSourceBlendingSupport = ctxInfo.hasExtension("GL_EXT_blend_func_extended");
317
shaderCaps
->fShaderDerivativeSupport = ctxInfo.version() >= GR_GL_VER(3, 0) |
[
all
...]
GrGLGpu.cpp
230
fHWBoundTextureUniqueIDs.reset(this->caps()->
shaderCaps
()->maxCombinedSamplers());
231
fHWBoundImageStorages.reset(this->caps()->
shaderCaps
()->maxCombinedImageStorages());
248
if (this->caps()->
shaderCaps
()->texelBufferSupport()) {
249
fHWBufferTextures.reset(this->caps()->
shaderCaps
()->maxCombinedSamplers());
252
if (this->glCaps().
shaderCaps
()->pathRenderingSupport()) {
373
if (this->glCaps().
shaderCaps
()->pathRenderingSupport()) {
463
SkASSERT(this->caps()->
shaderCaps
()->texelBufferSupport());
467
SkASSERT(this->caps()->
shaderCaps
()->imageLoadStoreSupport());
500
if (this->caps()->
shaderCaps
()->pathRenderingSupport()) {
547
if (!this->caps()->
shaderCaps
()->externalTextureSupport())
[
all
...]
/external/skia/src/gpu/
GrRenderTargetContext.cpp
633
SkASSERT(fRenderTargetContext->caps()->
shaderCaps
()->pathRenderingSupport());
[
all
...]
Completed in 363 milliseconds