Home
last modified time | relevance | path

Searched refs:fCaps (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/skia/src/gpu/
DGrContextThreadSafeProxy.cpp43 fCaps = std::move(caps); in init()
57 SkASSERT(fCaps); in createCharacterization()
76 if (!fCaps->mipmapSupport()) { in createCharacterization()
80 if (ii.width() < 1 || ii.width() > fCaps->maxRenderTargetSize() || in createCharacterization()
81 ii.height() < 1 || ii.height() > fCaps->maxRenderTargetSize()) { in createCharacterization()
87 if (!fCaps->areColorTypeAndFormatCompatible(grColorType, backendFormat)) { in createCharacterization()
91 if (!fCaps->isFormatAsColorTypeRenderable(grColorType, backendFormat, sampleCnt)) { in createCharacterization()
95 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, backendFormat); in createCharacterization()
102 if (isTextureable && !fCaps->isFormatTexturable(backendFormat, backendFormat.textureType())) { in createCharacterization()
118 const GrVkCaps* vkCaps = (const GrVkCaps*) fCaps.get(); in createCharacterization()
[all …]
DGrContextThreadSafeProxyPriv.h34 const GrCaps* caps() const { return fProxy->fCaps.get(); } in caps()
35 sk_sp<const GrCaps> refCaps() const { return fProxy->fCaps; } in refCaps()
DGrResourceProvider.cpp41 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider()
65 if (!fCaps->validateSurfaceParams(dimensions, in createTexture()
154 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createTexture()
206 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createTexture()
284 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createApproxTexture()
330 SkASSERT(fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in findAndRefScratchTexture()
654 if (!fCaps->validateSurfaceParams(dimensions, in getDiscardableMSAAAttachment()
698 if (!fCaps->validateSurfaceParams(dimensions, in makeMSAAAttachment()
727 SkASSERT(fCaps->validateSurfaceParams(dimensions, in refScratchMSAAAttachment()
/third_party/flutter/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers()
250 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack()
486 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall()
506 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall()
530 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall()
531 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall()
532 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall()
537 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall()
544 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall()
557 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall()
[all …]
/third_party/flutter/skia/src/gpu/
DGrContext_Base.cpp36 fCaps = caps; in init()
41 const GrCaps* GrContext_Base::caps() const { return fCaps.get(); } in caps()
42 sk_sp<const GrCaps> GrContext_Base::refCaps() const { return fCaps; } in refCaps()
DGrResourceProvider.cpp42 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider()
96 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture()
159 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture()
231 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createTexture()
245 if (fCaps->createTextureMustSpecifyAllLevels()) { in createTexture()
304 if (!fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, renderable, in createApproxTexture()
351 SkASSERT(fCaps->validateSurfaceParams({desc.fWidth, desc.fHeight}, format, desc.fConfig, in refScratchTexture()
DGrPathRenderer.h79 const GrCaps* fCaps;
92 SkASSERT(fCaps); in validate()
/third_party/flutter/skia/tests/
DSkSLGLSLTest.cpp47 settings.fCaps = &caps; in test()
602 settings.fCaps = caps.get(); in DEF_TEST()
1098 settings.fCaps = caps.get(); in DEF_TEST()
1125 settings.fCaps = caps.get(); in DEF_TEST()
1180 settings.fCaps = caps.get(); in DEF_TEST()
1195 settings.fCaps = caps.get(); in DEF_TEST()
1209 settings.fCaps = caps.get(); in DEF_TEST()
1279 settings.fCaps = caps.get(); in DEF_TEST()
1987 settings.fCaps = caps.get(); in DEF_TEST()
/third_party/skia/src/gpu/tessellate/shaders/
DGrTessellationShader.cpp16 pipelineArgs.fCaps = args.fCaps; in MakePipeline()
DGrTessellationShader.h64 const GrCaps* fCaps; member
74 return args.fArena->make<GrProgramInfo>(*args.fCaps, args.fWriteView, args.fUsesMSAASurface, in MakeProgram()
DGrPathTessellationShader.cpp92 pipelineArgs.fCaps = args.fCaps; in MakeStencilOnlyPipeline()
/third_party/skia/experimental/graphite/src/
DGpu.h30 const Caps* caps() const { return fCaps.get(); } in caps()
54 sk_sp<const Caps> fCaps; variable
DGpu.cpp25 , fCaps(std::move(caps)) { in Gpu()
40 return fCaps; in refCaps()
/third_party/skia/src/gpu/ops/
DPathStencilCoverOp.cpp161 args.fCaps->shaderCaps()->infinitySupport()); in prePreparePrograms()
164 args.fCaps->shaderCaps()->infinitySupport()); in prePreparePrograms()
172 *args.fCaps); in prePreparePrograms()
181 auto* bboxShader = args.fArena->make<BoundingBoxShader>(fColor, *args.fCaps->shaderCaps()); in prePreparePrograms()
188 args.fCaps, in prePreparePrograms()
DPathTessellateOp.cpp77 args.fCaps->shaderCaps()->infinitySupport(), in prepareTessellator()
85 *args.fCaps); in prepareTessellator()
/third_party/skia/bench/
DSkSLBench.cpp60 , fCaps(GrContextOptions(), GrMockOptions()) in SkSLCompileBench()
61 , fCompiler(fCaps.shaderCaps()) in SkSLCompileBench()
101 GrMockCaps fCaps; member in SkSLCompileBench
/third_party/skia/include/gpu/
DGrContextThreadSafeProxy.h117 bool isValid() const { return nullptr != fCaps; } in isValid()
148 sk_sp<const GrCaps> fCaps; variable
/third_party/flutter/skia/src/gpu/gl/
DGrGLPathRendering.h50 return fCaps.bindFragmentInputSupport; in shouldBindFragmentInputs()
122 Caps fCaps; variable
/third_party/flutter/skia/src/gpu/text/
DGrAtlasManager.cpp19 , fCaps{fProxyProvider->refCaps()}
21 , fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes}
208 const GrBackendFormat format = fCaps->getDefaultBackendFormat(grColorType, in initAtlas()
/third_party/skia/src/gpu/v1/
DPathRenderer.h84 const GrCaps* fCaps;
98 SkASSERT(fCaps); in validate()
/third_party/skia/tests/
DSkDSLRuntimeEffectTest.cpp32 , fCaps(SkSL::ShaderCapsFactory::Standalone()) in DSLTestEffect()
33 , fCompiler(std::make_unique<SkSL::Compiler>(fCaps.get())) in DSLTestEffect()
105 SkSL::ShaderCapsPointer fCaps; member in DSLTestEffect
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCAtlas.h135 : fCoverageType(coverageType), fSpecs(specs), fCaps(caps) {} in GrCCAtlasStack()
164 const GrCaps* const fCaps; variable
/third_party/skia/src/sksl/ir/
DSkSLSetting.cpp37 return Literal::MakeBool(context, /*line=*/-1, (context.fCaps.*fGetCap)()); in value()
54 return Literal::MakeInt(context, /*line=*/-1, (context.fCaps.*fGetCap)()); in value()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp21 , fCaps{fProxyProvider->refCaps()}
22 , fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes} { }
309 fCaps->getDefaultBackendFormat(grColorType, GrRenderable::kNo); in initAtlas()
/third_party/skia/src/sksl/
DSkSLContext.cpp14 : fCaps(caps) in Context()

1234