Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrTextureContext.cpp25 , fTextureProxy(std::move(textureProxy)) in GrTextureContext()
26 , fOpList(sk_ref_sp(fTextureProxy->getLastTextureOpList())) { in GrTextureContext()
32 SkASSERT(fTextureProxy); in validate()
33 fTextureProxy->validate(fContext); in validate()
36 SkASSERT(fTextureProxy->getLastRenderTask() == fOpList.get()); in validate()
47 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
53 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
62 fOpList = this->drawingManager()->newTextureOpList(fTextureProxy); 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()
55 sk_sp<GrTextureProxy> fTextureProxy; variable
DGrTextureProxy.cpp106 SkASSERT(!fTextureProxy->fDeferredUploader); in setDeferredUploader()
107 fTextureProxy->fDeferredUploader = std::move(uploader); in setDeferredUploader()
112 if (fTextureProxy->fDeferredUploader && fTextureProxy->isInstantiated()) { in scheduleUpload()
113 fTextureProxy->fDeferredUploader->scheduleUpload(flushState, fTextureProxy); in scheduleUpload()
118 SkASSERT(fTextureProxy->fDeferredUploader); in resetDeferredUploader()
119 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
/third_party/skia/src/gpu/
DGrDynamicAtlas.cpp93 fTextureProxy = MakeLazyAtlasProxy( in reset()
97 fTextureProxy->backingStoreDimensions(), in reset()
122 return {fTextureProxy, kTextureOrigin, in readView()
123 caps.getReadSwizzle(fTextureProxy->backendFormat(), fColorType)}; in readView()
127 return {fTextureProxy, kTextureOrigin, in writeView()
128 caps.getWriteSwizzle(fTextureProxy->backendFormat(), fColorType)}; in writeView()
196 if (fTextureProxy->isFullyLazy()) { in instantiate()
199 fTextureProxy->priv().setLazyDimensions(fDrawBounds); in instantiate()
201 SkASSERT(fTextureProxy->dimensions() == fDrawBounds); in instantiate()
207 SkASSERT(backingRT->backendFormat() == fTextureProxy->backendFormat()); in instantiate()
[all …]
DGrTextureProxyCacheAccess.h19 fTextureProxy->setUniqueKey(proxyProvider, key); in setUniqueKey()
23 fTextureProxy->clearUniqueKey(); in clearUniqueKey()
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
35 GrTextureProxy* fTextureProxy; variable
DGrTextureProxy.cpp132 SkASSERT(!fTextureProxy->fDeferredUploader); in setDeferredUploader()
133 fTextureProxy->fDeferredUploader = std::move(uploader); in setDeferredUploader()
138 if (fTextureProxy->fDeferredUploader && fTextureProxy->isInstantiated()) { in scheduleUpload()
139 fTextureProxy->fDeferredUploader->scheduleUpload(flushState, fTextureProxy); in scheduleUpload()
144 SkASSERT(fTextureProxy->fDeferredUploader); in resetDeferredUploader()
145 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()
41 GrTextureProxy* fTextureProxy; variable
DGrDynamicAtlas.h59 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy()
62 bool isInstantiated() const { return fTextureProxy->isInstantiated(); } in isInstantiated()
94 sk_sp<GrTextureProxy> fTextureProxy; variable
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCAtlas.cpp114 fTextureProxy = MakeLazyAtlasProxy( in GrCCAtlas()
130 fTextureProxy->priv().setIgnoredByResourceAllocator(); in GrCCAtlas()
138 SkASSERT(!fTextureProxy->isInstantiated()); in addRect()
179 SkASSERT(!fTextureProxy->isInstantiated()); in setFillBatchID()
185 SkASSERT(!fTextureProxy->isInstantiated()); in setStrokeBatchID()
191 SkASSERT(!fTextureProxy->isInstantiated()); in setEndStencilResolveInstance()
209 onFlushRP->assignUniqueKeyToProxy(atlasUniqueKey, fTextureProxy.get()); in refOrMakeCachedAtlas()
211 fCachedAtlas = sk_make_sp<GrCCCachedAtlas>(fCoverageType, atlasUniqueKey, fTextureProxy); in refOrMakeCachedAtlas()
215 SkASSERT(fCachedAtlas->getOnFlushProxy() == fTextureProxy.get()); in refOrMakeCachedAtlas()
221 SkASSERT(!fTextureProxy->isInstantiated()); // This method should only be called once. in makeRenderTargetContext()
[all …]
DGrCCAtlas.h76 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy()
122 sk_sp<GrTextureProxy> fTextureProxy; variable
/third_party/flutter/skia/src/core/
DSkSpecialImage.cpp381 , fTextureProxy(std::move(proxy)) in SkSpecialImage_Gpu()
395 size_t getSize() const override { return fTextureProxy->gpuMemorySize(); } in getSize()
409 fAlphaType, fTextureProxy, fColorSpace)); in onDraw()
418 return fTextureProxy; in onAsTextureProxyRef()
438 fTextureProxy, GrPixelConfigToColorType(fTextureProxy->config()), this->alphaType(), in onGetROPixels()
473 fTextureProxy, in onMakeSubset()
484 if (GrProxyProvider::IsFunctionallyExact(fTextureProxy.get()) && in onAsImage()
486 fTextureProxy->width() == subset->width() && in onAsImage()
487 fTextureProxy->height() == subset->height()) { in onAsImage()
488 fTextureProxy->priv().exactify(false); in onAsImage()
[all …]
/third_party/skia/experimental/graphite/src/
DRenderPassTask.cpp40 if (fRenderPassDesc.fColorAttachment.fTextureProxy) { in addCommands()
41 auto target = fRenderPassDesc.fColorAttachment.fTextureProxy; in addCommands()
DCommandBuffer.cpp31 if (colorInfo.fTextureProxy) { in beginRenderPass()
32 this->trackResource(colorInfo.fTextureProxy->refTexture()); in beginRenderPass()
DDrawContext.cpp117 desc.fColorAttachment.fTextureProxy = sk_ref_sp(fDrawPasses[0]->target()); in snapRenderPassTask()
DCommandBuffer.h27 sk_sp<TextureProxy> fTextureProxy; member
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm92 if (colorInfo.fTextureProxy) {
94 const Texture* colorTexture = (const Texture*)colorInfo.fTextureProxy->texture();
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp63 renderPassDesc.fColorAttachment.fTextureProxy = target; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()