Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTextureContext.cpp24 , fTextureProxy(std::move(textureProxy)) in GrTextureContext()
25 , fOpList(sk_ref_sp(fTextureProxy->getLastTextureOpList())) { in GrTextureContext()
31 SkASSERT(fTextureProxy); in validate()
32 fTextureProxy->validate(fContext); in validate()
35 SkASSERT(fTextureProxy->getLastOpList() == fOpList.get()); in validate()
46 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
52 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
61 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()
51 sk_sp<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()
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
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/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
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()
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
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/ccpr/
DGrCCAtlas.cpp86 fTextureProxy = GrProxyProvider::MakeFullyLazyProxy( in GrCCAtlas()
109 SkASSERT(!fTextureProxy->isInstantiated()); in addRect()
150 SkASSERT(!fTextureProxy->isInstantiated()); in setFillBatchID()
156 SkASSERT(!fTextureProxy->isInstantiated()); in setStrokeBatchID()
174 onFlushRP->assignUniqueKeyToProxy(atlasUniqueKey, fTextureProxy.get()); in refOrMakeCachedAtlas()
176 fCachedAtlas = sk_make_sp<GrCCCachedAtlas>(fCoverageType, atlasUniqueKey, fTextureProxy); in refOrMakeCachedAtlas()
180 SkASSERT(fCachedAtlas->getOnFlushProxy() == fTextureProxy.get()); in refOrMakeCachedAtlas()
186 SkASSERT(!fTextureProxy->isInstantiated()); // This method should only be called once. in makeRenderTargetContext()
200 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/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 …]
/external/skia/src/core/
DSkSpecialImage.cpp379 , fTextureProxy(std::move(proxy)) in SkSpecialImage_Gpu()
393 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()
407 fAlphaType, fTextureProxy, fColorSpace)); in onDraw()
416 return fTextureProxy; in onAsTextureProxyRef()
436 fTextureProxy, fColorSpace); in onGetROPixels()
475 fTextureProxy, in onMakeSubset()
486 if (GrProxyProvider::IsFunctionallyExact(fTextureProxy.get()) && in onAsImage()
488 fTextureProxy->width() == subset->width() && in onAsImage()
489 fTextureProxy->height() == subset->height()) { in onAsImage()
490 fTextureProxy->priv().exactify(); in onAsImage()
[all …]