Home
last modified time | relevance | path

Searched refs:asTextureProxy (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/flutter/skia/tests/
DProxyConversionTest.cpp76 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
103 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DRenderTargetContextTest.cpp28 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in check_instantiation_status()
44 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/
DProxyConversionTest.cpp74 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
104 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
154 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DSurfaceDrawContextTest.cpp31 GrTextureProxy* tProxy = sdc->asTextureProxy(); in check_instantiation_status()
47 GrTextureProxy* tProxy = sdc->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp176 GrTextureProxy* proxy = surfaceContext->asTextureProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
199 SkDebugf("type: %d\n", (int)surfaceContext->asTextureProxy()->textureType()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/
DGrSurfaceProxyView.h49 if (const GrTextureProxy* proxy = this->asTextureProxy()) { in mipmapped()
58 GrTextureProxy* asTextureProxy() const { in asTextureProxy() function
62 return fProxy->asTextureProxy(); in asTextureProxy()
65 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef()
DSurfaceContext.h138 GrTextureProxy* asTextureProxy() { return fReadView.asTextureProxy(); } in asTextureProxy() function
139 const GrTextureProxy* asTextureProxy() const { return fReadView.asTextureProxy(); } in asTextureProxy() function
DGrYUVATextureProxies.cpp60 SkASSERT(proxies[i]->asTextureProxy()); in GrYUVATextureProxies()
61 if (proxies[i]->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies()
90 if (views[i].proxy()->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies()
DGrRenderTask.cpp81 GrTextureProxy* textureProxy = this->target(0)->asTextureProxy(); in makeClosed()
142 SkASSERT(!dependedOn->asTextureProxy() || in addDependency()
143 !dependedOn->asTextureProxy()->texPriv().isDeferred()); in addDependency()
170 GrTextureProxy* textureProxy = dependedOn->asTextureProxy(); in addDependency()
DGrTextureProxy.h24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function
25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
DSurfaceContext.cpp125 SkToBool(srcProxy->asTextureProxy()) && in readPixels()
143 if (this->asTextureProxy()) { in readPixels()
297 if (!this->asTextureProxy() || this->asTextureProxy()->proxyMipmapped() == GrMipmapped::kNo) { in writePixels()
332 (this->asTextureProxy() && this->asTextureProxy()->mipmapped() == GrMipmapped::kYes)); in internalWritePixels()
533 dstProxy->asTextureProxy()->markMipmapsClean(); in internalWritePixels()
844 } else if (!srcView.asTextureProxy()) { in asyncRescaleAndReadPixelsYUV420()
856 SkASSERT(srcView.asTextureProxy()); in asyncRescaleAndReadPixelsYUV420()
1104 if (!texView.asTextureProxy()) { in rescaleInto()
1112 SkASSERT(texView.asTextureProxy()); in rescaleInto()
1156 SkASSERT(texView.asTextureProxy()); in rescaleInto()
DGrDrawingManager.cpp186 SkASSERT(!p->asTextureProxy() || !p->asTextureProxy()->texPriv().isDeferred()); in flush()
194 SkASSERT(p->asTextureProxy() && !p->asTextureProxy()->mipmapsAreDirty()); in flush()
499 if (auto* textureProxy = proxy->asTextureProxy()) { in resolve_and_mipmap()
632 GrTextureProxy* newTextureProxy = newDest->asTextureProxy(); in createDDLTask()
DGrSurfaceProxy.cpp217 const GrTextureProxy* tp = this->asTextureProxy(); in computeScratchKey()
306 if (src->asTextureProxy()) { in Copy()
446 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()
/third_party/flutter/skia/src/gpu/
DGrSurfaceProxy.cpp168 const GrTextureProxy* thisTexProxy = this->asTextureProxy(); in createSurfaceImpl()
281 const GrTextureProxy* tp = this->asTextureProxy(); in computeScratchKey()
383 if (src->asTextureProxy()) { in Copy()
388 if (dstContext && dstContext->blitTexture(src->asTextureProxy(), srcRect, dstPoint)) { in Copy()
461 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation()
464 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation()
503 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()
DGrTextureContext.h34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy() function
35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy() function
DGrTextureProxy.h24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function
25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
DGrSurfaceContext.h79 virtual GrTextureProxy* asTextureProxy() = 0;
80 virtual const GrTextureProxy* asTextureProxy() const = 0;
DGrResourceAllocator.cpp290 if (proxy->asTextureProxy() && proxy->asTextureProxy()->getUniqueKey().isValid()) { in findSurfaceFor()
293 proxy->asTextureProxy()->getUniqueKey()); in findSurfaceFor()
462 GrTextureProxy* texProxy = cur->proxy()->asTextureProxy(); in assign()
DGrDrawingManager.cpp296 SkASSERT(!p->asTextureProxy() || !p->asTextureProxy()->texPriv().isDeferred()); in flush()
519 if (auto* textureProxy = proxies[i]->asTextureProxy()) { in flushSurfaces()
798 if (this->wasAbandoned() || !sProxy->asTextureProxy()) { in makeTextureContext()
812 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp121 if (subset || !srcView.asTextureProxy() || rtp->refsWrappedObjects()) { in onNewImageSnapshot()
127 if (!subset && srcView.asTextureProxy()) { in onNewImageSnapshot()
139 if (!srcView.asTextureProxy()) { in onNewImageSnapshot()
242 bool mipmapped = readSurfaceView.asTextureProxy() in onCharacterize()
243 ? GrMipmapped::kYes == readSurfaceView.asTextureProxy()->mipmapped() in onCharacterize()
249 SkASSERT(!usesGLFBO0 || !SkToBool(readSurfaceView.asTextureProxy())); in onCharacterize()
265 SkSurfaceCharacterization::Textureable(SkToBool(readSurfaceView.asTextureProxy())), in onCharacterize()
333 if (!targetView.asTextureProxy()) { in onIsCompatible()
341 GrMipmapped::kNo == targetView.asTextureProxy()->mipmapped()) { in onIsCompatible()
540 auto oldProxy = sk_ref_sp(oldRTP->asTextureProxy()); in onReplaceBackendTexture()
DSkImage_Lazy.cpp438 SkASSERT(view && view.asTextureProxy()); in lockTextureProxyView()
442 proxyProvider->assignUniqueKeyToProxy(key, view.asTextureProxy()); in lockTextureProxyView()
455 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes) { in lockTextureProxyView()
468 proxyProvider->removeUniqueKeyFromProxy(view.asTextureProxy()); in lockTextureProxyView()
DSkImage_Gpu.cpp125 GrMipmapped mipmapped = fStableProxy->asTextureProxy()->mipmapped(); in mipmapped()
127 SkASSERT(fVolatileProxy->asTextureProxy()->mipmapped() == mipmapped); in mipmapped()
193 SkASSERT(volatileSrc.proxy()->asTextureProxy()); in MakeWithVolatileSrc()
194 GrMipmapped mm = volatileSrc.proxy()->asTextureProxy()->mipmapped(); in MakeWithVolatileSrc()
559 SkASSERT(view.asTextureProxy()); in makeTextureImage()
561 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes); in makeTextureImage()
794 GrTexture* texture = view.asTextureProxy()->peekTexture(); in MakeBackendTextureFromSkImage()
/third_party/skia/tools/gpu/
DProxyUtils.cpp51 SkASSERT(proxy->asTextureProxy()); in GetTextureImageProxy()
52 return proxy->asTextureProxy(); in GetTextureImageProxy()
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp195 bool mipmapped = rtc->asTextureProxy() ? GrMipMapped::kYes == rtc->asTextureProxy()->mipMapped() in onCharacterize()
206 SkASSERT(!usesGLFBO0 || !SkToBool(rtc->asTextureProxy())); in onCharacterize()
215 SkSurfaceCharacterization::Textureable(SkToBool(rtc->asTextureProxy())), in onCharacterize()
280 if (!rtc->asTextureProxy()) { in onIsCompatible()
288 GrMipMapped::kNo == rtc->asTextureProxy()->mipMapped()) { in onIsCompatible()
576 auto oldProxy = sk_ref_sp(oldRTC->asTextureProxy()); in onReplaceBackendTexture()
/third_party/flutter/skia/gm/
Dclockwise.cpp195 rtc->drawTexture(GrNoClip(), sk_ref_sp(topLeftRTC->asTextureProxy()), in onDraw()
211 rtc->drawTexture(GrNoClip(), sk_ref_sp(topLeftRTC->asTextureProxy()), in onDraw()

12345