Home
last modified time | relevance | path

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

12

/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 …]
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()
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.h332 const GrCaps* caps() const { return fCaps.get(); } in caps()
412 sk_sp<const GrCaps> fCaps; variable
DGrGpu.h76 const GrCaps* caps() const { return fCaps.get(); } in caps()
77 sk_sp<const GrCaps> refCaps() const { return fCaps; } in refCaps()
834 sk_sp<const GrCaps> fCaps; variable
DGrPipeline.h62 const GrCaps* fCaps = nullptr; member
/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/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()
DPathInnerTriangulateOp.cpp254 args.fCaps->shaderCaps()->infinitySupport()); in prePreparePrograms()
261 *args.fCaps); in prePreparePrograms()
370 *args.fCaps->shaderCaps()); in prePreparePrograms()
/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/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/skia/src/gpu/v1/
DPathRenderer.h84 const GrCaps* fCaps;
98 SkASSERT(fCaps); in validate()
DPathRenderer.cpp51 canArgs.fCaps = args.fContext->priv().caps(); in drawPath()
/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/skia/src/gpu/text/
DGrAtlasManager.cpp21 , fCaps{fProxyProvider->refCaps()}
22 , fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes} { }
316 fCaps->getDefaultBackendFormat(grColorType, GrRenderable::kNo); in initAtlas()
DGrAtlasManager.h181 sk_sp<const GrCaps> 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/sksl/
DSkSLContext.cpp14 : fCaps(caps) in Context()
DSkSLContext.h37 const ShaderCapsClass& fCaps; variable
/third_party/skia/src/core/
DSkRuntimeEffect.cpp79 fCaps = ShaderCapsFactory::Standalone(); in Impl()
80 fCaps->fBuiltinFMASupport = true; in Impl()
81 fCaps->fBuiltinDeterminantSupport = true; in Impl()
83 fCaps->fCanUseDoLoops = false; in Impl()
91 fCaps->fUseNodePools = false; in Impl()
93 fCompiler = new SkSL::Compiler(fCaps.get()); in Impl()
96 SkSL::ShaderCapsPointer fCaps; member

12