/external/skqp/src/gpu/ |
D | GrTextureRenderTargetProxy.cpp | 61 SkASSERT(surf->asTexture()); in GrTextureRenderTargetProxy() 95 SkASSERT(fTarget->asTexture()); in instantiate() 111 SkASSERT(surface->asTexture()); in createSurface() 119 SkASSERT(surface->asTexture()); in onValidateSurface() 121 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface() 127 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
|
D | GrTextureProxy.cpp | 54 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy() 58 fProxyProvider = fTarget->asTexture()->getContext()->contextPriv().proxyProvider(); in GrTextureProxy() 90 SkASSERT(fTarget->asTexture()); in instantiate() 104 SkASSERT(surface->asTexture()); in createSurface() 174 SkASSERT(surface->asTexture()); in onValidateSurface() 176 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface() 178 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
|
D | GrSurface.cpp | 144 const GrTexture* thisTex = this->asTexture(); in hasPendingRead() 156 const GrTexture* thisTex = this->asTexture(); in hasPendingWrite() 168 const GrTexture* thisTex = this->asTexture(); in hasPendingIO()
|
D | GrRenderTargetProxy.cpp | 75 SkASSERT(!fTarget->asTexture()); in instantiate() 88 SkASSERT(!surface->asTexture()); in createSurface()
|
D | GrSurfaceProxy.cpp | 173 SkASSERT(surface->asTexture()); in createSurfaceImpl() 174 SkASSERT(GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in createSurfaceImpl() 470 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 475 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation()
|
D | GrPathRendering.cpp | 61 if (GrXferBarrierType barrierType = pipeline.xferBarrierType(renderTarget->asTexture(), in drawPath()
|
D | GrProxyProvider.cpp | 170 sk_sp<GrTexture> texture(static_cast<GrSurface*>(resource)->asTexture()); in findOrCreateProxyByUniqueKey() 533 SkASSERT(!rt->asTexture()); // A GrRenderTarget that's not textureable in wrapBackendRenderTarget() 557 SkASSERT(!rt->asTexture()); // A GrRenderTarget that's not textureable in wrapBackendTextureAsRenderTarget() 582 SkASSERT(!rt->asTexture()); // A GrRenderTarget that's not textureable in wrapVulkanSecondaryCBAsRenderTarget()
|
/external/skia/src/gpu/ |
D | GrTextureProxy.cpp | 73 , fMipmapped(fTarget->asTexture()->mipmapped()) in GrTextureProxy() 74 , fMipmapStatus(fTarget->asTexture()->mipmapStatus()) in GrTextureProxy() 80 fProxyProvider = fTarget->asTexture()->getContext()->priv().proxyProvider(); in GrTextureProxy() 126 SkASSERT(surface->asTexture()); in createSurface() 215 SkASSERT(surface->asTexture()); in onValidateSurface() 218 GrMipmapped::kYes == surface->asTexture()->mipmapped()); in onValidateSurface() 220 SkASSERT(surface->asTexture()->textureType() == this->textureType()); in onValidateSurface()
|
D | GrTextureRenderTargetProxy.cpp | 82 SkASSERT(surf->asTexture()); in GrTextureRenderTargetProxy() 147 SkASSERT(surface->asTexture()); in createSurface() 177 SkASSERT(surface->asTexture()); in onValidateSurface() 179 GrMipmapped::kYes == surface->asTexture()->mipmapped()); in onValidateSurface() 185 SkASSERT(surface->asTexture()->textureType() == this->textureType()); in onValidateSurface()
|
D | GrSurface.h | 60 virtual GrTexture* asTexture() { return nullptr; } in asTexture() function 61 virtual const GrTexture* asTexture() const { return nullptr; } in asTexture() function 95 SkASSERT(!this->asTexture()); in setGLRTFBOIDIs0()
|
D | GrTexture.h | 21 GrTexture* asTexture() override { return this; } in asTexture() function 22 const GrTexture* asTexture() const override { return this; } in asTexture() function
|
D | GrBackendTextureImageGenerator.cpp | 188 SkASSERT(surf->asTexture()); in onGenerateTexture() 189 tex = sk_ref_sp(surf->asTexture()); in onGenerateTexture()
|
D | GrRenderTargetProxy.cpp | 126 SkASSERT(!surface->asTexture()); in createSurface()
|
/external/skia/tests/ |
D | GrSurfaceTest.cpp | 43 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 45 texRT1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 47 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 49 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 55 REPORTER_ASSERT(reporter, tex1.get() == tex1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 56 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1.get()) == tex1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 66 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 68 texRT2->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 70 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 72 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
|
/external/skqp/include/gpu/ |
D | GrTexture.h | 24 GrTexture* asTexture() override { return this; } in asTexture() function 25 const GrTexture* asTexture() const override { return this; } in asTexture() function
|
D | GrSurface.h | 51 virtual GrTexture* asTexture() { return nullptr; } in asTexture() function 52 virtual const GrTexture* asTexture() const { return nullptr; } in asTexture() function
|
/external/skqp/tests/ |
D | GrSurfaceTest.cpp | 39 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 41 texRT1->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 43 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 45 static_cast<GrSurface*>(texRT1->asTexture())); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 50 REPORTER_ASSERT(reporter, tex1.get() == tex1->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 51 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1.get()) == tex1->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 60 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 62 texRT2->asTexture()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 64 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 66 static_cast<GrSurface*>(texRT2->asTexture())); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnCaps.cpp | 90 return surface->asTexture() ? SurfaceReadPixelsSupport::kSupported in surfaceSupportsReadPixels() 96 return surface->asTexture() != nullptr; in onSurfaceSupportsWritePixels()
|
/external/skia/src/gpu/mock/ |
D | GrMockTexture.h | 184 GrTexture* asTexture() override { return this; } in asTexture() function 186 const GrTexture* asTexture() const override { return this; } in asTexture() function
|
D | GrMockOpsRenderPass.h | 60 if (auto* tex = fRenderTarget->asTexture()) { in markRenderTargetDirty()
|
/external/skqp/src/gpu/mock/ |
D | GrMockTexture.h | 178 GrTexture* asTexture() override { return this; } in asTexture() function 180 const GrTexture* asTexture() const override { return this; } in asTexture() function
|
/external/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 201 if (GrGLTexture* glTex = static_cast<GrGLTexture*>(this->asTexture())) { in ensureDynamicMSAAAttachment() 276 if (this->asTexture()) { in dumpMemoryStatistics()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 437 SkASSERT(dst->asTexture()); in onCopySurface() 438 dstTexResource = static_cast<GrD3DTexture*>(dst->asTexture()); in onCopySurface() 445 SkASSERT(src->asTexture()); in onCopySurface() 446 srcTexResource = static_cast<GrD3DTexture*>(src->asTexture()); in onCopySurface() 540 SkASSERT(dst->asTexture()); in resolveTexture() 541 dstTextureResource = static_cast<GrD3DTexture*>(dst->asTexture()); in resolveTexture() 574 texResource = static_cast<GrD3DTexture*>(surface->asTexture()); in onReadPixels() 639 GrD3DTexture* d3dTex = static_cast<GrD3DTexture*>(surface->asTexture()); in onWritePixels()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 655 src->config(), SkToBool(src->asTexture()))); 657 SkToBool(src->asTexture()))); 684 SkToBool(src->asTexture()))); 728 src->config(), SkToBool(src->asTexture()))) { 736 SkToBool(src->asTexture()))) { 751 GrMtlTexture* mtlTexture = static_cast<GrMtlTexture*>(surface->asTexture());
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 386 GrVkTexture* vkTex = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() 500 SkASSERT(dst->asTexture()); in resolveImage() 501 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); in resolveImage() 1993 srcConfig, SkToBool(src->asTexture()))) { in onCopySurface() 2011 SkASSERT(dst->asTexture()); in onCopySurface() 2012 dstImage = static_cast<GrVkTexture*>(dst->asTexture()); in onCopySurface() 2019 SkASSERT(src->asTexture()); in onCopySurface() 2020 srcImage = static_cast<GrVkTexture*>(src->asTexture()); in onCopySurface() 2069 image = static_cast<GrVkTexture*>(surface->asTexture()); in onReadPixels() 2122 surface->config(), SkToBool(surface->asTexture()))) { in onReadPixels()
|