Home
last modified time | relevance | path

Searched refs:fProxy (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/fonts/
DSkRandomScalerContext.cpp35 std::unique_ptr<SkScalerContext> fProxy; member in SkRandomScalerContext
45 fProxy = this->getRandomTypeface()->proxy()->createScalerContext(effects, desc); in SkRandomScalerContext()
49 return fProxy->getGlyphCount(); in generateGlyphCount()
53 return fProxy->charToGlyphID(uni); in generateCharToGlyph()
57 fProxy->getAdvance(glyph); in generateAdvance()
79 fProxy->getMetrics(glyph); in generateMetrics()
87 fProxy->getPath(glyph->getPackedID(), &path); in generateMetrics()
157 fProxy->getPath(glyph.getPackedID(), &path); in generateImage()
169 fProxy->forceGenerateImageFromPath(); in generateImage()
170 fProxy->getImage(glyph); in generateImage()
[all …]
DSkGScalerContext.cpp43 fProxy = this->getGTypeface()->proxy()->createScalerContext(effects, newDesc); in SkGScalerContext()
61 std::unique_ptr<SkScalerContext> fProxy; member in SkGScalerContext
66 return fProxy->getGlyphCount(); in generateGlyphCount()
70 return fProxy->charToGlyphID(uni); in generateCharToGlyph()
74 fProxy->getAdvance(glyph); in generateAdvance()
84 fProxy->getMetrics(glyph); in generateMetrics()
93 fProxy->getPath(glyph->getPackedID(), &path); in generateMetrics()
113 fProxy->getPath(glyph.getPackedID(), &path); in generateImage()
126 fProxy->getImage(glyph); in generateImage()
131 fProxy->getPath(SkPackedGlyphID(glyph), path); in generatePath()
[all …]
DSkFontMgr_indirect.cpp50 SkFontIdentity id = fOwner->fProxy->matchIndexStyle(fFamilyIndex, pattern); in matchStyle()
76 return new SkStyleSet_Indirect(this, -1, fProxy->matchName(familyName)); in onMatchFamily()
119 std::unique_ptr<SkStreamAsset> stream(fProxy->getData(id.fDataId)); in createTypefaceFromFontId()
140 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle()
149 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter()
182 SkFontIdentity fontId = this->fProxy->matchIndexStyle(0, style); in onLegacyCreateTypeface()
DSkRandomScalerContext.h23 SkTypeface* proxy() const { return fProxy.get(); } in proxy()
52 sk_sp<SkTypeface> fProxy;
DSkGScalerContext.h18 SkTypeface* proxy() const { return fProxy.get(); } in proxy()
47 sk_sp<SkTypeface> fProxy;
/external/skia/src/gpu/
DGrSurfaceProxyPriv.h21 return fProxy->fTarget ? fProxy->fTarget->asTexture() : nullptr; in peekTexture()
27 bool hasPendingIO() const { return fProxy->hasPendingIO(); } in hasPendingIO()
30 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact()
36 explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {} in GrSurfaceProxyPriv()
44 GrSurfaceProxy* fProxy; variable
DGrDrawOpAtlas.cpp165 , fProxy(std::move(proxy)) in GrDrawOpAtlas()
167 fPlotWidth = fProxy->width() / numPlotsX; in GrDrawOpAtlas()
168 fPlotHeight = fProxy->height() / numPlotsY; in GrDrawOpAtlas()
170 SkASSERT(fPlotWidth * numPlotsX == fProxy->width()); in GrDrawOpAtlas()
171 SkASSERT(fPlotHeight * numPlotsY == fProxy->height()); in GrDrawOpAtlas()
176 SkASSERT(!GrPixelConfigIsCompressed(fProxy->desc().fConfig)); in GrDrawOpAtlas()
186 new Plot(index, 1, x, y, fPlotWidth, fPlotHeight, fProxy->desc().fConfig)); in GrDrawOpAtlas()
213 GrTexture* texture = fProxy->instantiate(fContext->resourceProvider()); in updatePlot()
232 SkASSERT(fProxy); in addToAtlas()
242 SkASSERT(GrBytesPerPixel(fProxy->desc().fConfig) == plot->bpp()); in addToAtlas()
[all …]
DGrSurfaceProxy.cpp298 SkASSERT(SkBackingFit::kApprox == fProxy->fFit); in exactify()
300 if (fProxy->fTarget) { in exactify()
306 fProxy->fDesc.fWidth = fProxy->fTarget->width(); in exactify()
307 fProxy->fDesc.fHeight = fProxy->fTarget->height(); in exactify()
313 fProxy->fFit = SkBackingFit::kExact; in exactify()
DGrDrawOpAtlas.h94 sk_sp<GrTextureProxy> getProxy() const { return fProxy; } in getProxy()
290 sk_sp<GrTextureProxy> fProxy; variable
/external/skia/src/image/
DSkImage_Gpu.h36 return fProxy.get(); in peekProxy()
39 return fProxy->instantiate(fContext->resourceProvider()); in peekTexture()
42 return fProxy; in asTextureProxyRef()
50 return fProxy; in refPinnedTextureProxy()
69 sk_sp<GrTextureProxy> fProxy; variable
DSkImage_Gpu.cpp44 , fProxy(std::move(proxy)) in SkImage_Gpu()
59 if (!GrPixelConfigToColorType(fProxy->config(), &ct)) { in onImageInfo()
62 return SkImageInfo::Make(fProxy->width(), fProxy->height(), ct, fAlphaType, fColorSpace); in onImageInfo()
85 fProxy, in getROPixels()
117 GrTextureAdjuster adjuster(fContext, fProxy, this->alphaType(), this->bounds(), in asTextureProxyRef()
172 if (GrTextureToYUVPlanes(fContext, fProxy, sizes, planes, rowBytes, colorSpace)) { in onReadYUV8Planes()
199 fProxy, in onReadPixels()
224 GrSurfaceDesc desc = fProxy->desc(); in onMakeSubset()
236 if (!sContext->copy(fProxy.get(), subset, SkIPoint::Make(0, 0))) { in onMakeSubset()
862 paint.addColorTextureProcessor(fContext->resourceProvider(), fProxy, nullptr, SkMatrix::I()); in onMakeColorSpace()
/external/skia/gm/
Dimage_pict.cpp230 fProxy = as_IB(image)->asTextureProxyRef(); in TextureGenerator()
239 if (!fProxy) { in onGenerateTexture()
244 info.width() == fProxy->width() && info.height() == fProxy->height()) { in onGenerateTexture()
245 return fProxy; in onGenerateTexture()
249 GrSurfaceDesc desc = fProxy->desc(); in onGenerateTexture()
262 fProxy.get(), in onGenerateTexture()
273 sk_sp<GrTextureProxy> fProxy; member in TextureGenerator
/external/skia/src/core/
DSkBlitter.cpp587 Sk3DShader(sk_sp<SkShader> proxy) : fProxy(std::move(proxy)) {} in Sk3DShader()
591 if (fProxy) { in onMakeContext()
592 proxyContext = fProxy->makeContext(rec, alloc); in onMakeContext()
700 if (fProxy) { in toString()
702 fProxy->toString(str); in toString()
715 buffer.writeFlattenable(fProxy.get()); in flatten()
719 sk_sp<SkShader> fProxy; member in Sk3DShader
731 : fProxy(proxy) in Sk3DBlitter()
736 fProxy->blitH(x, y, width); in blitH()
740 fProxy->blitAntiH(x, y, antialias, runs); in blitAntiH()
[all …]
/external/skia/include/ports/
DSkFontMgr_indirect.h31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect()
63 sk_sp<SkRemotableFontMgr> fProxy; variable