Home
last modified time | relevance | path

Searched refs:fProxy (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/tools/fonts/
H A DRandomScalerContext.cpp36 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 DRandomScalerContext.h23 SkTypeface* proxy() const { return fProxy.get(); } in proxy()
55 sk_sp<SkTypeface> fProxy; member in SkRandomTypeface
/third_party/skia/src/gpu/
H A DGrContextThreadSafeProxyPriv.h27 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 DGrSurfaceProxyView.h23 : 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 DGrSurfaceProxyPriv.h21 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 DGrSurfaceProxy.cpp380 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 DGrResourceAllocator.h196 : 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 DGrThreadSafeCache.cpp343 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 DGrContextThreadSafeProxy.cpp184 fProxy->init(std::move(caps), std::move(builder)); in init()
H A DGrThreadSafeCache.h181 sk_sp<GrTextureProxy> fProxy; member in GrThreadSafeCache::Trampoline
H A DGrBlurUtils.cpp486 trampoline->fProxy = filteredMaskView.asTextureProxyRef(); in hw_create_filtered_mask()
/third_party/skia/modules/skresources/src/
H A DSkResources.cpp212 : 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 DSkFontMgr_indirect.cpp50 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 DPathRenderer.h85 const GrRenderTargetProxy* fProxy; member
99 SkASSERT(fProxy); in validate()
H A DPathRenderer.cpp52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
H A DStencilMaskHelper.cpp429 canDrawArgs.fProxy = fSDC->asRenderTargetProxy(); in drawPath()
H A DSurfaceDrawContext.cpp924 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 DSkFontMgr_indirect.h31 : 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 DTextureOp.cpp274 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 DTessellationPathRenderer.cpp94 !args.fProxy->canUseStencil(*args.fCaps)) { in onCanDrawPath()
H A DAtlasPathRenderer.cpp276 (args.fProxy->numSamples() == 1 || !args.fShape->knownToBeConvex()) && in onCanDrawPath()
H A DDefaultPathRenderer.cpp778 !args.fProxy->canUseStencil(*args.fCaps)) { in onCanDrawPath()
/third_party/skia/tests/
H A DLazyProxyTest.cpp67 func(fProxy.get(), GrMipmapped::kNo);
84 fProxy = GrProxyProvider::MakeFullyLazyProxy( in Op()
130 sk_sp<GrTextureProxy> fProxy; member in final::final
H A DResourceAllocatorTest.cpp349 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 DSkResources.h215 const sk_sp<ResourceProvider> fProxy; member in skresources::ResourceProviderProxyBase

Completed in 20 milliseconds

12