/external/skia/src/gpu/ |
D | GrGpuResourceRef.cpp | 133 fProxy = nullptr; in GrSurfaceProxyRef() 139 fProxy = nullptr; in GrSurfaceProxyRef() 151 SkASSERT(fProxy); in reset() 154 fProxy->completedRead(); in reset() 157 fProxy->completedWrite(); in reset() 160 fProxy->completedRead(); in reset() 161 fProxy->completedWrite(); in reset() 167 SkASSERT(fProxy); in reset() 168 fProxy->unref(); in reset() 172 fProxy = nullptr; in reset() [all …]
|
D | GrSurfaceProxyPriv.h | 20 SkASSERT(fProxy->fTarget); in peekSurface() 21 return fProxy->fTarget; in peekSurface() 27 return fProxy->fTarget ? fProxy->fTarget->asTexture() : nullptr; in peekTexture() 32 SkASSERT(fProxy->fTarget && fProxy->fTarget->asRenderTarget()); in peekRenderTarget() 33 return fProxy->fTarget ? fProxy->fTarget->asRenderTarget() : nullptr; in peekRenderTarget() 39 bool hasPendingIO() const { return fProxy->hasPendingIO(); } in hasPendingIO() 44 bool hasPendingWrite() const { return fProxy->hasPendingWrite(); } in hasPendingWrite() 49 return fProxy->createSurface(resourceProvider); in createSurface() 53 void assign(sk_sp<GrSurface> surface) { fProxy->assign(std::move(surface)); } in assign() 56 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() [all …]
|
D | GrCoordTransform.h | 24 : fProxy(nullptr) in GrCoordTransform() 63 fProxy = proxy; in reset() 71 fProxy = nullptr; in reset() 79 fProxy = that.fProxy; 102 if (fProxy->underlyingUniqueID() != that.fProxy->underlyingUniqueID()) { in hasSameEffectAs() 111 const GrTextureProxy* proxy() const { return fProxy; } in proxy() 118 SkASSERT(fProxy->priv().peekTexture()); in peekTexture() 119 return fProxy->priv().peekTexture(); in peekTexture() 129 const GrTextureProxy* fProxy; variable
|
D | GrXferProcessor.h | 66 : fProxy(std::move(proxy)) { in DstProxy() 67 if (fProxy) { in DstProxy() 75 fProxy = other.fProxy; 81 return fProxy == that.fProxy && fOffset == that.fOffset; 90 GrTextureProxy* proxy() const { return fProxy.get(); } in proxy() 93 fProxy = std::move(proxy); in setProxy() 94 if (!fProxy) { in setProxy() 100 return SkToBool(fProxy->instantiate(resourceProvider)); in instantiate() 104 sk_sp<GrTextureProxy> fProxy;
|
D | GrDrawOpAtlas.cpp | 166 , fProxy(std::move(proxy)) in GrDrawOpAtlas() 168 fPlotWidth = fProxy->width() / numPlotsX; in GrDrawOpAtlas() 169 fPlotHeight = fProxy->height() / numPlotsY; in GrDrawOpAtlas() 171 SkASSERT(fPlotWidth * numPlotsX == fProxy->width()); in GrDrawOpAtlas() 172 SkASSERT(fPlotHeight * numPlotsY == fProxy->height()); in GrDrawOpAtlas() 184 new Plot(index, 1, x, y, fPlotWidth, fPlotHeight, fProxy->config())); in GrDrawOpAtlas() 211 if (!fProxy->instantiate(fContext->resourceProvider())) { in updatePlot() 214 GrTexture* texture = fProxy->priv().peekTexture(); in updatePlot() 230 SkASSERT(fProxy); in addToAtlas() 240 SkASSERT(GrBytesPerPixel(fProxy->config()) == plot->bpp()); in addToAtlas() [all …]
|
D | GrSurfaceProxy.cpp | 323 SkASSERT(SkBackingFit::kApprox == fProxy->fFit); in exactify() 325 if (fProxy->fTarget) { in exactify() 331 fProxy->fWidth = fProxy->fTarget->width(); in exactify() 332 fProxy->fHeight = fProxy->fTarget->height(); in exactify() 338 fProxy->fFit = SkBackingFit::kExact; in exactify()
|
D | GrResourceAllocator.cpp | 96 this->freeUpSurface(temp->fProxy->priv().peekSurface()); in expire() 108 sk_sp<GrSurface> surface = this->findSurfaceFor(cur->fProxy); in assign() 110 cur->fProxy->priv().assign(std::move(surface)); in assign()
|
D | GrResourceAllocator.h | 74 : fProxy(proxy) in Interval() 88 GrSurfaceProxy* fProxy; variable
|
D | GrGpuResourceRef.h | 96 GrSurfaceProxy* get() const { return fProxy; } in get() 140 GrSurfaceProxy* fProxy; variable
|
D | GrDrawOpAtlas.h | 94 sk_sp<GrTextureProxy> getProxy() const { return fProxy; } in getProxy() 290 sk_sp<GrTextureProxy> fProxy; variable
|
/external/skia/src/fonts/ |
D | SkRandomScalerContext.cpp | 37 std::unique_ptr<SkScalerContext> fProxy; member in SkRandomScalerContext 47 fProxy = this->getRandomTypeface()->proxy()->createScalerContext(effects, desc); in SkRandomScalerContext() 51 return fProxy->getGlyphCount(); in generateGlyphCount() 55 return fProxy->charToGlyphID(uni); in generateCharToGlyph() 59 fProxy->getAdvance(glyph); in generateAdvance() 81 fProxy->getMetrics(glyph); in generateMetrics() 89 fProxy->getPath(glyph->getPackedID(), &path); in generateMetrics() 159 fProxy->getPath(glyph.getPackedID(), &path); in generateImage() 171 fProxy->forceGenerateImageFromPath(); in generateImage() 172 fProxy->getImage(glyph); in generateImage() [all …]
|
D | SkFontMgr_indirect.cpp | 50 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()
|
D | SkRandomScalerContext.h | 23 SkTypeface* proxy() const { return fProxy.get(); } in proxy() 49 sk_sp<SkTypeface> fProxy;
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 38 return fProxy.get(); in peekProxy() 41 return fProxy; in asTextureProxyRef() 49 return fProxy; in refPinnedTextureProxy() 67 sk_sp<GrTextureProxy> fProxy; variable
|
D | SkImage_Gpu.cpp | 45 , fProxy(std::move(proxy)) in SkImage_Gpu() 60 if (!GrPixelConfigToColorType(fProxy->config(), &ct)) { in onImageInfo() 63 return SkImageInfo::Make(fProxy->width(), fProxy->height(), ct, fAlphaType, fColorSpace); in onImageInfo() 95 fProxy, in getROPixels() 126 GrTextureAdjuster adjuster(fContext, fProxy, this->alphaType(), this->bounds(), in asTextureProxyRef() 154 SkASSERT(fProxy); in onGetTextureHandle() 156 if (!fProxy->instantiate(fContext->resourceProvider())) { in onGetTextureHandle() 160 GrTexture* texture = fProxy->priv().peekTexture(); in onGetTextureHandle() 164 fContext->contextPriv().prepareSurfaceForExternalIO(fProxy.get()); in onGetTextureHandle() 167 *origin = fProxy->origin(); in onGetTextureHandle() [all …]
|
/external/skia/gm/ |
D | image_pict.cpp | 161 fProxy = as_IB(image)->asTextureProxyRef(); in TextureGenerator() 171 if (!fProxy) { in onGenerateTexture() 176 info.width() == fProxy->width() && info.height() == fProxy->height()) { in onGenerateTexture() 177 return fProxy; in onGenerateTexture() 182 desc.fConfig = fProxy->config(); in onGenerateTexture() 185 desc.fOrigin = fProxy->origin(); in onGenerateTexture() 196 fProxy.get(), in onGenerateTexture() 207 sk_sp<GrTextureProxy> fProxy; member in TextureGenerator
|
/external/skia/src/core/ |
D | SkBlitter.cpp | 586 Sk3DShader(sk_sp<SkShader> proxy) : fProxy(std::move(proxy)) {} in Sk3DShader() 590 if (fProxy) { in onMakeContext() 591 proxyContext = as_SB(fProxy)->makeContext(rec, alloc); in onMakeContext() 699 if (fProxy) { in toString() 701 as_SB(fProxy)->toString(str); in toString() 714 buffer.writeFlattenable(fProxy.get()); in flatten() 718 sk_sp<SkShader> fProxy; member in Sk3DShader 730 : fProxy(proxy) in Sk3DBlitter() 735 fProxy->blitH(x, y, width); in blitH() 739 fProxy->blitAntiH(x, y, antialias, runs); in blitAntiH() [all …]
|
/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect() 63 sk_sp<SkRemotableFontMgr> fProxy; variable
|
/external/skia/tests/ |
D | ProcessorTest.cpp | 65 Image(sk_sp<GrTextureProxy> proxy, GrIOType ioType) : fProxy(proxy), fIOType(ioType) {} in Image() 66 sk_sp<GrTextureProxy> fProxy; member 98 fImages.emplace_back(image.fProxy, image.fIOType, in TestFP()
|