/external/skia/tests/ |
D | ProxyConversionTest.cpp | 74 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 …]
|
D | RenderTargetContextTest.cpp | 30 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in check_instantiation_status() 46 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | EGLImageTest.cpp | 176 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/ |
D | ProxyConversionTest.cpp | 78 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 …]
|
D | RenderTargetContextTest.cpp | 32 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); 48 GrTextureProxy* tProxy = rtCtx->asTextureProxy();
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 121 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()
|
D | SkImage_Lazy.cpp | 434 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()
|
D | SkImage_Gpu.cpp | 124 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/ |
D | GrSurfaceContext.h | 155 GrTextureProxy* asTextureProxy() { return fReadView.asTextureProxy(); } in asTextureProxy() function 156 const GrTextureProxy* asTextureProxy() const { return fReadView.asTextureProxy(); } in asTextureProxy() function
|
D | GrSurfaceProxyView.h | 51 GrTextureProxy* asTextureProxy() const { in asTextureProxy() function 55 return fProxy->asTextureProxy(); in asTextureProxy() 58 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef()
|
D | GrYUVATextureProxies.cpp | 60 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()
|
D | GrRenderTask.cpp | 81 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()
|
D | GrTextureProxy.h | 23 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function 24 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
|
D | GrSurfaceContext.cpp | 47 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 …]
|
D | GrDrawingManager.cpp | 173 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()
|
D | GrSurfaceProxy.cpp | 209 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/ |
D | GrTextureContext.h | 34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy() function 35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy() function
|
D | GrSurfaceContext.h | 96 virtual GrTextureProxy* asTextureProxy() = 0; 97 virtual const GrTextureProxy* asTextureProxy() const = 0;
|
D | GrSurfaceProxy.cpp | 269 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()
|
D | GrResourceAllocator.cpp | 244 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/ |
D | GrTextureProxy.h | 24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function 25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
|
/external/skia/tools/gpu/ |
D | ProxyUtils.cpp | 48 SkASSERT(proxy->asTextureProxy()); in GetTextureImageProxy() 49 return proxy->asTextureProxy(); in GetTextureImageProxy()
|
/external/skqp/src/image/ |
D | SkSurface_Gpu.cpp | 173 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/ |
D | clockwise.cpp | 164 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/ |
D | GrRRectBlurEffect.cpp | 91 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()
|