Home
last modified time | relevance | path

Searched refs:fTextureProxy (Results 1 – 13 of 13) sorted by relevance

/external/skqp/src/gpu/
DGrTextureContext.cpp28 , fTextureProxy(std::move(textureProxy)) in GrTextureContext()
29 , fOpList(sk_ref_sp(fTextureProxy->getLastTextureOpList())) { in GrTextureContext()
35 SkASSERT(fTextureProxy); in validate()
36 fTextureProxy->validate(fContext); in validate()
39 SkASSERT(fTextureProxy->getLastOpList() == fOpList.get()); in validate()
50 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
56 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
65 fOpList = this->drawingManager()->newTextureOpList(fTextureProxy.get()); in getOpList()
DGrTextureContext.h30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy()
31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy()
32 sk_sp<GrSurfaceProxy> asSurfaceProxyRef() override { return fTextureProxy; } in asSurfaceProxyRef()
34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy()
35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy()
36 sk_sp<GrTextureProxy> asTextureProxyRef() override { return fTextureProxy; } in asTextureProxyRef()
52 sk_sp<GrTextureProxy> fTextureProxy; variable
DGrTextureProxyCacheAccess.h19 fTextureProxy->setUniqueKey(proxyProvider, key); in setUniqueKey()
23 fTextureProxy->clearUniqueKey(); in clearUniqueKey()
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
34 GrTextureProxy* fTextureProxy; variable
DGrTextureProxy.cpp109 SkASSERT(!fTextureProxy->fDeferredUploader); in setDeferredUploader()
110 fTextureProxy->fDeferredUploader = std::move(uploader); in setDeferredUploader()
115 if (fTextureProxy->fDeferredUploader && fTextureProxy->fTarget) { in scheduleUpload()
116 fTextureProxy->fDeferredUploader->scheduleUpload(flushState, fTextureProxy); in scheduleUpload()
121 SkASSERT(fTextureProxy->fDeferredUploader); in resetDeferredUploader()
122 fTextureProxy->fDeferredUploader.reset(); in resetDeferredUploader()
DGrTextureProxyPriv.h23 bool isDeferred() const { return SkToBool(fTextureProxy->fDeferredUploader.get()); } in isDeferred()
32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv()
40 GrTextureProxy* fTextureProxy; variable
/external/skia/src/gpu/
DGrTextureProxyCacheAccess.h19 fTextureProxy->setUniqueKey(proxyProvider, key); in setUniqueKey()
23 fTextureProxy->clearUniqueKey(); in clearUniqueKey()
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
34 GrTextureProxy* fTextureProxy; variable
DGrTextureProxy.cpp131 SkASSERT(!fTextureProxy->fDeferredUploader); in setDeferredUploader()
132 fTextureProxy->fDeferredUploader = std::move(uploader); in setDeferredUploader()
137 if (fTextureProxy->fDeferredUploader && fTextureProxy->isInstantiated()) { in scheduleUpload()
138 fTextureProxy->fDeferredUploader->scheduleUpload(flushState, fTextureProxy); in scheduleUpload()
143 SkASSERT(fTextureProxy->fDeferredUploader); in resetDeferredUploader()
144 fTextureProxy->fDeferredUploader.reset(); in resetDeferredUploader()
DGrTextureProxyPriv.h23 bool isDeferred() const { return SkToBool(fTextureProxy->fDeferredUploader.get()); } in isDeferred()
32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv()
40 GrTextureProxy* fTextureProxy; variable
DGrDynamicAtlas.h58 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy()
59 bool isInstantiated() const { return fTextureProxy->isInstantiated(); } in isInstantiated()
95 sk_sp<GrTextureProxy> fTextureProxy; variable
DGrDynamicAtlas.cpp90 fTextureProxy = MakeLazyAtlasProxy( in reset()
179 fTextureProxy->priv().setLazyDimensions(fDrawBounds); in instantiate()
185 SkASSERT(backingRT->backendFormat() == fTextureProxy->backendFormat()); in instantiate()
186 SkASSERT(backingRT->numSamples() == fTextureProxy->asRenderTargetProxy()->numSamples()); in instantiate()
192 auto rtc = onFlushRP->makeRenderTargetContext(fTextureProxy, kTextureOrigin, fColorType, in instantiate()
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.cpp85 fTextureProxy = GrProxyProvider::MakeFullyLazyProxy( in GrCCAtlas()
108 SkASSERT(!fTextureProxy->isInstantiated()); in addRect()
149 SkASSERT(!fTextureProxy->isInstantiated()); in setFillBatchID()
155 SkASSERT(!fTextureProxy->isInstantiated()); in setStrokeBatchID()
173 onFlushRP->assignUniqueKeyToProxy(atlasUniqueKey, fTextureProxy.get()); in refOrMakeCachedAtlas()
175 fCachedAtlas = sk_make_sp<GrCCCachedAtlas>(fCoverageType, atlasUniqueKey, fTextureProxy); in refOrMakeCachedAtlas()
179 SkASSERT(fCachedAtlas->getOnFlushProxy() == fTextureProxy.get()); in refOrMakeCachedAtlas()
185 SkASSERT(!fTextureProxy->isInstantiated()); // This method should only be called once. in makeRenderTargetContext()
199 onFlushRP->makeRenderTargetContext(fTextureProxy, nullptr, nullptr); in makeRenderTargetContext()
DGrCCAtlas.h57 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy()
100 sk_sp<GrTextureProxy> fTextureProxy; variable
/external/skqp/src/core/
DSkSpecialImage.cpp378 , fTextureProxy(std::move(proxy)) in SkSpecialImage_Gpu()
392 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()
406 fAlphaType, fTextureProxy, fColorSpace)); in onDraw()
415 return fTextureProxy; in onAsTextureProxyRef()
435 fTextureProxy, fColorSpace); in onGetROPixels()
474 fTextureProxy, in onMakeSubset()
485 if (GrProxyProvider::IsFunctionallyExact(fTextureProxy.get()) && in onAsImage()
487 fTextureProxy->width() == subset->width() && in onAsImage()
488 fTextureProxy->height() == subset->height()) { in onAsImage()
489 fTextureProxy->priv().exactify(); in onAsImage()
[all …]