/third_party/skia/tools/fonts/ |
H A D | RandomScalerContext.cpp | 36 std::unique_ptr<SkScalerContext> fProxy; member in RandomScalerContext 45 , fProxy(getRandomTypeface()->proxy()->createScalerContext(SkScalerContextEffects(), desc)) in RandomScalerContext() 47 fProxy->forceGenerateImageFromPath(); in RandomScalerContext() 50 bool RandomScalerContext::generateAdvance(SkGlyph* glyph) { return fProxy->generateAdvance(glyph); } in generateAdvance() 63 *glyph = fProxy->internalMakeGlyph(glyph->getPackedID(), format); in generateMetrics() 70 if (!fProxy->getPath(glyph->getPackedID(), &path)) { in generateMetrics() 106 fProxy->getImage(glyph); in generateImage() 112 if (!fProxy->getPath(glyph.getPackedID(), &path)) { in generateImage() 113 fProxy->getImage(glyph); in generateImage() 129 return fProxy in generatePath() [all...] |
H A D | RandomScalerContext.h | 23 SkTypeface* proxy() const { return fProxy.get(); } in proxy() 55 sk_sp<SkTypeface> fProxy; member in SkRandomTypeface
|
/third_party/skia/src/gpu/ |
H A D | GrContextThreadSafeProxyPriv.h | 27 return fProxy == candidate->threadSafeProxy().get(); in matches() 30 GrBackend backend() const { return fProxy->fBackend; } in backend() 31 const GrContextOptions& options() const { return fProxy->fOptions; } in options() 32 uint32_t contextID() const { return fProxy->fContextID; } in contextID() 34 const GrCaps* caps() const { return fProxy->fCaps.get(); } in caps() 35 sk_sp<const GrCaps> refCaps() const { return fProxy->fCaps; } in refCaps() 37 GrTextBlobCache* getTextBlobCache() { return fProxy->fTextBlobCache.get(); } in getTextBlobCache() 38 const GrTextBlobCache* getTextBlobCache() const { return fProxy->fTextBlobCache.get(); } in getTextBlobCache() 40 GrThreadSafeCache* threadSafeCache() { return fProxy->fThreadSafeCache.get(); } in threadSafeCache() 41 const GrThreadSafeCache* threadSafeCache() const { return fProxy in threadSafeCache() 59 GrContextThreadSafeProxy* fProxy; global() member in GrContextThreadSafeProxyPriv [all...] |
H A D | GrSurfaceProxyView.h | 23 : fProxy(std::move(proxy)), fOrigin(origin), fSwizzle(swizzle) {} in GrSurfaceProxyView() 27 : fProxy(std::move(proxy)), fOrigin(kTopLeft_GrSurfaceOrigin) {} in GrSurfaceProxyView() 32 operator bool() const { return SkToBool(fProxy.get()); } in operator bool() 38 return fProxy->uniqueID() == view.fProxy->uniqueID() && in operator ==() 55 GrSurfaceProxy* proxy() const { return fProxy.get(); } in proxy() 56 sk_sp<GrSurfaceProxy> refProxy() const { return fProxy; } in refProxy() 59 if (!fProxy) { in asTextureProxy() 62 return fProxy->asTextureProxy(); in asTextureProxy() 69 if (!fProxy) { in asRenderTargetProxy() 135 sk_sp<GrSurfaceProxy> fProxy; global() member in GrSurfaceProxyView [all...] |
H A D | GrSurfaceProxyPriv.h | 21 return fProxy->computeScratchKey(caps, key); in computeScratchKey() 27 return fProxy->createSurface(resourceProvider); in createSurface() 31 void assign(sk_sp<GrSurface> surface) { fProxy->assign(std::move(surface)); } in assign() 34 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() 39 void setLazyDimensions(SkISize dimensions) { fProxy->setLazyDimensions(dimensions); } in setLazyDimensions() 43 void setIsDDLTarget() { fProxy->fIsDDLTarget = true; } in setIsDDLTarget() 45 void setIsPromiseProxy() { fProxy->fIsPromiseProxy = true; } in setIsPromiseProxy() 48 explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {} in GrSurfaceProxyPriv() 57 GrSurfaceProxy* fProxy; member in GrSurfaceProxyPriv
|
H A D | GrSurfaceProxy.cpp | 380 SkASSERT(!fProxy->isFullyLazy()); in exactify() 385 SkASSERT(SkBackingFit::kApprox == fProxy->fFit); in exactify() 387 if (fProxy->fTarget) { in exactify() 393 fProxy->fDimensions = fProxy->fTarget->dimensions(); in exactify() 410 fProxy->fFit = SkBackingFit::kExact; in exactify() 418 SkASSERT(fProxy->isLazy()); in doLazyInstantiation() 421 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() 429 auto result = fProxy->fLazyInstantiateCallback(resourceProvider, fProxy in doLazyInstantiation() [all...] |
H A D | GrResourceAllocator.h | 196 : fProxy(proxy) in Interval() 207 const GrSurfaceProxy* proxy() const { return fProxy; } in proxy() 208 GrSurfaceProxy* proxy() { return fProxy; } in proxy() 235 GrSurfaceProxy* fProxy; member in GrResourceAllocator::ActualUse::Interval
|
H A D | GrThreadSafeCache.cpp | 343 if (!resourceProvider || !trampoline->fProxy || in CreateLazyView() 344 !trampoline->fProxy->isInstantiated()) { in CreateLazyView() 348 SkASSERT(!trampoline->fProxy->peekTexture()->getUniqueKey().isValid()); in CreateLazyView() 350 sk_ref_sp(trampoline->fProxy->peekTexture())); in CreateLazyView()
|
H A D | GrContextThreadSafeProxy.cpp | 184 fProxy->init(std::move(caps), std::move(builder)); in init()
|
H A D | GrThreadSafeCache.h | 181 sk_sp<GrTextureProxy> fProxy; member in GrThreadSafeCache::Trampoline
|
H A D | GrBlurUtils.cpp | 486 trampoline->fProxy = filteredMaskView.asTextureProxyRef(); in hw_create_filtered_mask()
|
/third_party/skia/modules/skresources/src/ |
H A D | SkResources.cpp | 212 : fProxy(std::move(rp)) {} in ResourceProviderProxyBase() 216 return fProxy ? fProxy->load(resource_path, resource_name) in load() 223 return fProxy ? fProxy->loadImageAsset(rpath, rname, rid) in loadImageAsset() 229 return fProxy ? fProxy->loadTypeface(name, url) in loadTypeface() 234 return fProxy ? fProxy->loadFont(name, url) in loadFont() 241 return fProxy in loadAudioAsset() [all...] |
/third_party/skia/src/fonts/ |
H A D | SkFontMgr_indirect.cpp | 50 SkFontIdentity id = fOwner->fProxy->matchIndexStyle(fFamilyIndex, pattern); 75 return new SkStyleSet_Indirect(this, -1, fProxy->matchName(familyName)); in onMatchFamily() 118 std::unique_ptr<SkStreamAsset> stream(fProxy->getData(id.fDataId)); in createTypefaceFromFontId() 139 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle() 148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter() 180 SkFontIdentity fontId = this->fProxy->matchIndexStyle(0, style); in onLegacyMakeTypeface()
|
/third_party/skia/src/gpu/v1/ |
H A D | PathRenderer.h | 85 const GrRenderTargetProxy* fProxy; member 99 SkASSERT(fProxy); in validate()
|
H A D | PathRenderer.cpp | 52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
|
H A D | StencilMaskHelper.cpp | 429 canDrawArgs.fProxy = fSDC->asRenderTargetProxy(); in drawPath()
|
H A D | SurfaceDrawContext.cpp | 924 canDrawArgs.fProxy = this->asRenderTargetProxy(); in stencilPath() 1629 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawAndStencilPath() 1805 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawShapeUsingPathRenderer()
|
/third_party/skia/include/ports/ |
H A D | SkFontMgr_indirect.h | 31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect() 61 sk_sp<SkRemotableFontMgr> fProxy; member in SkFontMgr_Indirect
|
/third_party/skia/src/gpu/ops/ |
H A D | TextureOp.cpp | 274 func(fViewCountPairs[p].fProxy.get(), GrMipmapped(mipped)); 342 sk_sp<GrSurfaceProxy> fProxy; member 526 fViewCountPairs[0].fProxy = set[0].fProxyView.detachProxy(); in TextureOpImpl() 528 curProxy = fViewCountPairs[0].fProxy.get(); in TextureOpImpl() 534 curProxy = fViewCountPairs[p].fProxy.get(); in TextureOpImpl() 536 curProxy, fViewCountPairs[0].fProxy.get())); in TextureOpImpl() 674 fViewCountPairs[0].fProxy->backendFormat(); 767 auto* proxy = op->fViewCountPairs[p].fProxy->asTextureProxy(); in validate_op() 779 auto textureType = fViewCountPairs[0].fProxy->asTextureProxy()->textureType(); 945 *op.fViewCountPairs[p].fProxy, [all...] |
H A D | TessellationPathRenderer.cpp | 94 !args.fProxy->canUseStencil(*args.fCaps)) { in onCanDrawPath()
|
H A D | AtlasPathRenderer.cpp | 276 (args.fProxy->numSamples() == 1 || !args.fShape->knownToBeConvex()) && in onCanDrawPath()
|
H A D | DefaultPathRenderer.cpp | 778 !args.fProxy->canUseStencil(*args.fCaps)) { in onCanDrawPath()
|
/third_party/skia/tests/ |
H A D | LazyProxyTest.cpp | 67 func(fProxy.get(), GrMipmapped::kNo); 84 fProxy = GrProxyProvider::MakeFullyLazyProxy( in Op() 130 sk_sp<GrTextureProxy> fProxy; member in final::final
|
H A D | ResourceAllocatorTest.cpp | 349 sk_sp<GrSurfaceProxy> fProxy = nullptr; member 404 alloc.addInterval(interval.fProxy.get(), interval.fStart, interval.fEnd, in memory_budget_test() 495 interval.fProxy = make_proxy(dContext, interval.fParams); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/modules/skresources/include/ |
H A D | SkResources.h | 215 const sk_sp<ResourceProvider> fProxy; member in skresources::ResourceProviderProxyBase
|