/external/skqp/src/gpu/ |
D | GrContextThreadSafeProxy.cpp | 22 : fCaps(std::move(caps)) in GrContextThreadSafeProxy() 49 if (!fCaps->mipMapSupport()) { in createCharacterization() 53 GrPixelConfig config = fCaps->getConfigFromBackendFormat(backendFormat, ii.colorType()); in createCharacterization() 58 if (!SkSurface_Gpu::Valid(fCaps.get(), config, ii.colorSpace())) { in createCharacterization() 62 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, config); in createCharacterization() 69 FSAAType = fCaps->usesMixedSamples() ? GrFSAAType::kMixedSamples : GrFSAAType::kUnifiedMSAA; in createCharacterization() 76 if (isTextureable && !fCaps->isConfigTexturable(config)) { in createCharacterization()
|
D | GrDirectContext.cpp | 62 SkASSERT(fCaps); // should've been set in ctor in init() 66 fThreadSafeProxy.reset(new GrContextThreadSafeProxy(fCaps, this->contextID(), in init() 77 !(fCaps->shaderCaps()->floatIs32Bits() || fCaps->shaderCaps()->integerSupport())) { in init() 125 context->fCaps = context->fGpu->refCaps(); in MakeGL() 146 context->fCaps = context->fGpu->refCaps(); in MakeMock() 173 context->fCaps = context->fGpu->refCaps(); in MakeVulkan() 197 context->fCaps = context->fGpu->refCaps(); in MakeMetal()
|
D | GrProxyProvider.cpp | 40 , fCaps(caps) in GrProxyProvider() 48 SkASSERT(fCaps); in GrProxyProvider() 58 , fCaps(caps) in GrProxyProvider() 65 SkASSERT(fCaps); in GrProxyProvider() 200 GrBackendFormat format = fCaps->getBackendFormatFromColorType(info.colorType()); in createTextureProxy() 224 if (fCaps->usesMixedSamples() && sampleCnt > 1) { in createTextureProxy() 310 const GrBackendFormat format = fCaps->getBackendFormatFromColorType(bitmap.info().colorType()); in createMipMapProxyFromBitmap() 421 const GrBackendFormat format = fCaps->getBackendFormatFromGrColorType(ct, GrSRGBEncoded::kNo); in createProxy() 632 if (desc.fWidth > fCaps->maxTextureSize() || desc.fHeight > fCaps->maxTextureSize()) { in createLazyProxy() 640 SkASSERT(fCaps->usesMixedSamples() && desc.fSampleCnt > 1); in createLazyProxy() [all …]
|
D | GrContextThreadSafeProxyPriv.h | 22 const GrCaps* caps() const { return fProxy->fCaps.get(); } in caps() 23 sk_sp<const GrCaps> refCaps() const { return fProxy->fCaps; } in refCaps()
|
D | GrDDLContext.cpp | 22 fCaps = proxy->priv().refCaps(); in GrDDLContext() 49 SkASSERT(fCaps); // should've been set in ctor in init()
|
D | GrResourceProvider.cpp | 58 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider() 75 if (!fCaps->validateSurfaceDesc(desc, mipMapped)) { in createTexture() 107 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createTexture() 149 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createTexture() 178 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createApproxTexture() 207 SkASSERT(fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)); in refScratchTexture()
|
D | GrContext.cpp | 72 SkASSERT(fCaps); // needs to have been initialized by derived classes in initCommon() 76 fCaps = fGpu->refCaps(); in initCommon() 77 fResourceCache = new GrResourceCache(fCaps.get(), &fSingleOwner, this->contextID()); in initCommon() 81 new GrProxyProvider(fResourceProvider, fResourceCache, fCaps, &fSingleOwner); in initCommon() 83 fProxyProvider = new GrProxyProvider(this->contextID(), fCaps, &fSingleOwner); in initCommon() 132 fGlyphCache = new GrStrikeCache(fCaps.get(), options.fGlyphCacheTextureMaximumBytes); in initCommon() 273 int GrContext::maxTextureSize() const { return fCaps->maxTextureSize(); } in maxTextureSize() 275 int GrContext::maxRenderTargetSize() const { return fCaps->maxRenderTargetSize(); } in maxRenderTargetSize() 279 return fCaps->isConfigTexturable(config); in colorTypeSupportedAsImage() 284 return fCaps->maxRenderTargetSampleCount(config); in maxSurfaceSampleCountForColorType() [all …]
|
D | GrProxyProvider.h | 217 const GrCaps* caps() const { return fCaps.get(); } in caps() 218 sk_sp<const GrCaps> refCaps() const { return fCaps; } in refCaps() 276 sk_sp<const GrCaps> fCaps; variable
|
D | GrPathRenderer.h | 78 const GrCaps* fCaps; 90 SkASSERT(fCaps); in validate()
|
D | GrResourceProvider.h | 252 const GrCaps* caps() const { return fCaps.get(); } in caps() 299 sk_sp<const GrCaps> fCaps; variable
|
D | GrGpu.h | 55 const GrCaps* caps() const { return fCaps.get(); } in caps() 56 sk_sp<const GrCaps> refCaps() const { return fCaps; } in refCaps() 442 sk_sp<const GrCaps> fCaps; variable
|
/external/skqp/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers() 254 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack() 490 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall() 510 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall() 526 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 527 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall() 528 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall() 533 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall() 540 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall() 553 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall() [all …]
|
/external/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 79 return fProgram.fSettings.fCaps->usesPrecisionModifiers(); in usesPrecisionModifiers() 255 SkASSERT(!fProgram.fSettings.fCaps->canUseMinAndAbsTogether()); in writeMinAbsHack() 491 if (!fProgram.fSettings.fCaps->emulateAbsIntFunction()) in writeFunctionCall() 511 if (fProgram.fSettings.fCaps->mustForceNegatedAtanParamToFloat() && in writeFunctionCall() 535 fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 536 SkASSERT(fProgram.fSettings.fCaps->shaderDerivativeSupport()); in writeFunctionCall() 537 … this->writeExtension(fProgram.fSettings.fCaps->shaderDerivativeExtensionString()); in writeFunctionCall() 542 if (fProgram.fSettings.fCaps->generation() < k150_GrGLSLGeneration) { in writeFunctionCall() 549 if (!fProgram.fSettings.fCaps->builtinFMASupport()) { in writeFunctionCall() 562 if (!fProgram.fSettings.fCaps->canUseFractForNegativeValues()) { in writeFunctionCall() [all …]
|
/external/skia/src/gpu/ |
D | GrContext_Base.cpp | 36 fCaps = caps; in init() 40 const GrCaps* GrContext_Base::caps() const { return fCaps.get(); } in caps() 41 sk_sp<const GrCaps> GrContext_Base::refCaps() const { return fCaps; } in refCaps()
|
D | GrPathRenderer.h | 79 const GrCaps* fCaps; 92 SkASSERT(fCaps); in validate()
|
D | GrResourceProvider.cpp | 43 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider() 64 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createTexture() 128 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createTexture() 171 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createTexture() 236 if (!fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in createApproxTexture() 261 SkASSERT(fCaps->validateSurfaceParams(dimensions, format, renderable, renderTargetSampleCnt, in refScratchTexture()
|
/external/skia/tests/ |
D | SkSLGLSLTest.cpp | 47 settings.fCaps = ∩︀ in test() 602 settings.fCaps = caps.get(); in DEF_TEST() 1114 settings.fCaps = caps.get(); in DEF_TEST() 1141 settings.fCaps = caps.get(); in DEF_TEST() 1196 settings.fCaps = caps.get(); in DEF_TEST() 1211 settings.fCaps = caps.get(); in DEF_TEST() 1225 settings.fCaps = caps.get(); in DEF_TEST() 1295 settings.fCaps = caps.get(); in DEF_TEST() 2013 settings.fCaps = caps.get(); in DEF_TEST()
|
/external/skqp/tests/ |
D | SkSLGLSLTest.cpp | 45 settings.fCaps = ∩︀ in test() 1034 settings.fCaps = caps.get(); in DEF_TEST() 1061 settings.fCaps = caps.get(); in DEF_TEST() 1106 settings.fCaps = caps.get(); in DEF_TEST() 1121 settings.fCaps = caps.get(); in DEF_TEST() 1135 settings.fCaps = caps.get(); in DEF_TEST() 1205 settings.fCaps = caps.get(); in DEF_TEST() 1878 settings.fCaps = caps.get(); in DEF_TEST()
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 19 , fCaps{fProxyProvider->refCaps()} 21 , fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes} { } 155 const GrBackendFormat format = fCaps->getDefaultBackendFormat(grColorType, in initAtlas()
|
/external/skqp/src/gpu/text/ |
D | GrAtlasManager.cpp | 18 , fCaps{fProxyProvider->refCaps()} 20 , fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes} { } 184 const GrBackendFormat format = fCaps->getBackendFormatFromColorType(colorType); in initAtlas()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRendering.h | 50 return fCaps.bindFragmentInputSupport; in shouldBindFragmentInputs() 118 Caps fCaps; variable
|
/external/skqp/src/gpu/gl/ |
D | GrGLPathRendering.h | 50 return fCaps.bindFragmentInputSupport; in shouldBindFragmentInputs() 122 Caps fCaps; variable
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.h | 113 : fCoverageType(coverageType), fSpecs(specs), fCaps(caps) {} in GrCCAtlasStack() 141 const GrCaps* const fCaps; variable
|
/external/skia/src/gpu/ccpr/ |
D | GrCCAtlas.h | 111 : fCoverageType(coverageType), fSpecs(specs), fCaps(caps) {} in GrCCAtlasStack() 140 const GrCaps* const fCaps; variable
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzSKSL2Metal.cpp | 18 settings.fCaps = caps.get(); in FuzzSKSL2Metal()
|