Home
last modified time | relevance | path

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

12345

/external/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 …]
DRenderTargetContextTest.cpp30 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in check_instantiation_status()
46 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp176 GrTextureProxy* proxy = surfaceContext->asTextureProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
200 SkDebugf("type: %d\n", surfaceContext->asTextureProxy()->textureType()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DProxyConversionTest.cpp78 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
109 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
150 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.cpp32 GrTextureProxy* tProxy = rtCtx->asTextureProxy();
48 GrTextureProxy* tProxy = rtCtx->asTextureProxy();
/external/skia/src/image/
DSkSurface_Gpu.cpp121 if (subset || !srcView.asTextureProxy() || sdc->refsWrappedObjects()) { in onNewImageSnapshot()
127 if (!subset && srcView.asTextureProxy()) { in onNewImageSnapshot()
138 if (!srcView.asTextureProxy()) { in onNewImageSnapshot()
243 bool mipmapped = sdc->asTextureProxy() ? GrMipmapped::kYes == sdc->asTextureProxy()->mipmapped() in onCharacterize()
254 SkASSERT(!usesGLFBO0 || !SkToBool(sdc->asTextureProxy())); in onCharacterize()
270 SkSurfaceCharacterization::Textureable(SkToBool(sdc->asTextureProxy())), in onCharacterize()
340 if (!sdc->asTextureProxy()) { in onIsCompatible()
348 GrMipmapped::kNo == sdc->asTextureProxy()->mipmapped()) { in onIsCompatible()
565 auto oldProxy = sk_ref_sp(oldSDC->asTextureProxy()); in onReplaceBackendTexture()
DSkImage_Lazy.cpp434 SkASSERT(view && view.asTextureProxy()); in lockTextureProxyView()
438 proxyProvider->assignUniqueKeyToProxy(key, view.asTextureProxy()); in lockTextureProxyView()
451 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes) { in lockTextureProxyView()
464 proxyProvider->removeUniqueKeyFromProxy(view.asTextureProxy()); in lockTextureProxyView()
DSkImage_Gpu.cpp124 GrMipmapped mipmapped = fStableProxy->asTextureProxy()->mipmapped(); in mipmapped()
126 SkASSERT(fVolatileProxy->asTextureProxy()->mipmapped() == mipmapped); in mipmapped()
192 SkASSERT(volatileSrc.proxy()->asTextureProxy()); in MakeWithVolatileSrc()
193 GrMipmapped mm = volatileSrc.proxy()->asTextureProxy()->mipmapped(); in MakeWithVolatileSrc()
563 SkASSERT(view.asTextureProxy()); in makeTextureImage()
565 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes); in makeTextureImage()
800 GrTexture* texture = view.asTextureProxy()->peekTexture(); in MakeBackendTextureFromSkImage()
/external/skia/src/gpu/
DGrSurfaceContext.h155 GrTextureProxy* asTextureProxy() { return fReadView.asTextureProxy(); } in asTextureProxy() function
156 const GrTextureProxy* asTextureProxy() const { return fReadView.asTextureProxy(); } in asTextureProxy() function
DGrSurfaceProxyView.h51 GrTextureProxy* asTextureProxy() const { in asTextureProxy() function
55 return fProxy->asTextureProxy(); in asTextureProxy()
58 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef()
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()
168 GrTextureProxy* textureProxy = dependedOn->asTextureProxy(); in addDependency()
DGrTextureProxy.h23 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function
24 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
DGrSurfaceContext.cpp47 SkASSERT(proxy && proxy->asTextureProxy()); in Make()
228 SkToBool(srcProxy->asTextureProxy()) && in readPixels()
241 if (this->asTextureProxy()) { in readPixels()
392 if (!this->asTextureProxy() || this->asTextureProxy()->proxyMipmapped() == GrMipmapped::kNo) { in writePixels()
427 (this->asTextureProxy() && this->asTextureProxy()->mipmapped() == GrMipmapped::kYes)); in internalWritePixels()
622 dstProxy->asTextureProxy()->markMipmapsClean(); in internalWritePixels()
929 } else if (!srcView.asTextureProxy()) { in asyncRescaleAndReadPixelsYUV420()
941 SkASSERT(srcView.asTextureProxy()); in asyncRescaleAndReadPixelsYUV420()
1177 if (!texView.asTextureProxy()) { in rescaleInto()
1185 SkASSERT(texView.asTextureProxy()); in rescaleInto()
[all …]
DGrDrawingManager.cpp173 SkASSERT(!p->asTextureProxy() || !p->asTextureProxy()->texPriv().isDeferred()); in flush()
181 SkASSERT(p->asTextureProxy() && !p->asTextureProxy()->mipmapsAreDirty()); in flush()
483 if (auto* textureProxy = proxy->asTextureProxy()) { in resolve_and_mipmap()
620 GrTextureProxy* newTextureProxy = newDest->asTextureProxy(); in createDDLTask()
DGrSurfaceProxy.cpp209 const GrTextureProxy* tp = this->asTextureProxy(); in computeScratchKey()
299 if (src->asTextureProxy()) { in Copy()
440 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()
/external/skqp/src/gpu/
DGrTextureContext.h34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy() function
35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy() function
DGrSurfaceContext.h96 virtual GrTextureProxy* asTextureProxy() = 0;
97 virtual const GrTextureProxy* asTextureProxy() const = 0;
DGrSurfaceProxy.cpp269 const GrTextureProxy* tp = this->asTextureProxy(); in computeScratchKey()
431 if (fProxy->asTextureProxy() && fProxy->asTextureProxy()->getUniqueKey().isValid()) { in doLazyInstantiation()
434 fProxy->asTextureProxy()->getUniqueKey()); in doLazyInstantiation()
467 if (GrTextureProxy* texProxy = fProxy->asTextureProxy()) { in doLazyInstantiation()
DGrResourceAllocator.cpp244 if (proxy->asTextureProxy() && proxy->asTextureProxy()->getUniqueKey().isValid()) { in findSurfaceFor()
247 proxy->asTextureProxy()->getUniqueKey()); in findSurfaceFor()
386 GrTextureProxy* texProxy = cur->proxy()->asTextureProxy(); in assign()
/external/skqp/include/private/
DGrTextureProxy.h24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function
25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
/external/skia/tools/gpu/
DProxyUtils.cpp48 SkASSERT(proxy->asTextureProxy()); in GetTextureImageProxy()
49 return proxy->asTextureProxy(); in GetTextureImageProxy()
/external/skqp/src/image/
DSkSurface_Gpu.cpp173 bool mipmapped = rtc->asTextureProxy() ? GrMipMapped::kYes == rtc->asTextureProxy()->mipMapped() in onCharacterize()
185 SkASSERT(!usesGLFBO0 || !SkToBool(rtc->asTextureProxy())); in onCharacterize()
192 SkSurfaceCharacterization::Textureable(SkToBool(rtc->asTextureProxy())), in onCharacterize()
217 if (!rtc->asTextureProxy()) { in isCompatible()
225 GrMipMapped::kNo == rtc->asTextureProxy()->mipMapped()) { in isCompatible()
/external/skqp/gm/
Dclockwise.cpp164 rtc->drawTexture(GrNoClip(), sk_ref_sp(topLeftRTC->asTextureProxy()), in onDraw()
180 rtc->drawTexture(GrNoClip(), sk_ref_sp(topLeftRTC->asTextureProxy()), in onDraw()
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp91 SkASSERT(srcView.asTextureProxy()); in fillin_view_on_gpu()
278 SkASSERT(view.asTextureProxy()); in find_or_create_rrect_blur_mask_fp()
297 SkASSERT(view.asTextureProxy()); in find_or_create_rrect_blur_mask_fp()
310 SkASSERT(view.asTextureProxy()); in find_or_create_rrect_blur_mask_fp()

12345