/third_party/skia/src/gpu/ |
D | GrTextureProxy.cpp | 74 , fMipmapped(fTarget->asTexture()->mipmapped()) in GrTextureProxy() 75 , fMipmapStatus(fTarget->asTexture()->mipmapStatus()) in GrTextureProxy() 81 fProxyProvider = fTarget->asTexture()->getContext()->priv().proxyProvider(); in GrTextureProxy() 133 SkASSERT(surface->asTexture()); in createSurface() 223 SkASSERT(surface->asTexture()); in onValidateSurface() 226 GrMipmapped::kYes == surface->asTexture()->mipmapped()); in onValidateSurface() 228 SkASSERT(surface->asTexture()->textureType() == this->textureType()); in onValidateSurface()
|
D | GrTextureRenderTargetProxy.cpp | 82 SkASSERT(surf->asTexture()); in GrTextureRenderTargetProxy() 147 SkASSERT(surface->asTexture()); in createSurface() 178 SkASSERT(surface->asTexture()); in onValidateSurface() 180 GrMipmapped::kYes == surface->asTexture()->mipmapped()); in onValidateSurface() 186 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 | 187 SkASSERT(surf->asTexture()); in onGenerateTexture() 188 tex = sk_ref_sp(surf->asTexture()); in onGenerateTexture()
|
D | GrSurfaceProxy.cpp | 454 if (!surface->asTexture()->getUniqueKey().isValid()) { in doLazyInstantiation() 459 SkASSERT(surface->asTexture()->getUniqueKey() == key); in doLazyInstantiation()
|
D | GrRenderTargetProxy.cpp | 126 SkASSERT(!surface->asTexture()); in createSurface()
|
D | GrProxyProvider.cpp | 254 sk_sp<GrTexture> texture(static_cast<GrSurface*>(resource)->asTexture()); in findOrCreateProxyByUniqueKey() 675 SkASSERT(!rt->asTexture()); // A GrRenderTarget that's not textureable in wrapBackendRenderTarget() 703 SkASSERT(!rt->asTexture()); // A GrRenderTarget that's not textureable in wrapVulkanSecondaryCBAsRenderTarget()
|
D | GrSurfaceProxy.h | 253 GrTexture* peekTexture() const { return fTarget ? fTarget->asTexture() : nullptr; } in peekTexture()
|
D | GrGpu.cpp | 618 GrTexture* texture = surface->asTexture(); in didWriteToSurface()
|
/third_party/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()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLRenderTarget.cpp | 157 if (resourceProvider->caps()->msaaResolvesAutomatically() && this->asTexture()) { in ensureDynamicMSAAAttachment() 191 auto* glTex = static_cast<GrGLTexture*>(this->asTexture()); in bindInternal() 337 if (this->asTexture()) { in dumpMemoryStatistics()
|
D | GrGLGpu.cpp | 831 auto glTex = static_cast<GrGLTexture*>(surface->asTexture()); in onWritePixels() 2876 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() 2877 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_blit_framebuffer_for_copy_surface() 2910 const GrGLTexture* dstTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_copy_texsubimage() 2911 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_copy_texsubimage() 2940 SkASSERT(surface->asTexture()); in bindSurfaceFBOForPixelOps() 2941 GrGLTexture* texture = static_cast<GrGLTexture*>(surface->asTexture()); in bindSurfaceFBOForPixelOps() 2966 SkASSERT(surface->asTexture()); in unbindSurfaceFBOForPixelOps() 2967 GrGLenum textureTarget = static_cast<GrGLTexture*>(surface->asTexture())->target(); in unbindSurfaceFBOForPixelOps() 3028 if (preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface() [all …]
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnCaps.cpp | 90 return surface->asTexture() ? SurfaceReadPixelsSupport::kSupported in surfaceSupportsReadPixels() 96 return surface->asTexture() != nullptr; in onSurfaceSupportsWritePixels()
|
D | GrDawnOpsRenderPass.cpp | 57 if (GrTexture* tex = fRenderTarget->asTexture()) { in beginRenderPass()
|
D | GrDawnGpu.cpp | 188 GrDawnTexture* texture = static_cast<GrDawnTexture*>(surface->asTexture()); in onWritePixels() 578 if (auto t = static_cast<GrDawnTexture*>(src->asTexture())) { in get_dawn_texture_from_surface()
|
/third_party/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()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 438 SkASSERT(dst->asTexture()); in onCopySurface() 439 dstTexResource = static_cast<GrD3DTexture*>(dst->asTexture()); in onCopySurface() 446 SkASSERT(src->asTexture()); in onCopySurface() 447 srcTexResource = static_cast<GrD3DTexture*>(src->asTexture()); in onCopySurface() 541 SkASSERT(dst->asTexture()); in resolveTexture() 542 dstTextureResource = static_cast<GrD3DTexture*>(dst->asTexture()); in resolveTexture() 577 texResource = static_cast<GrD3DTexture*>(surface->asTexture()); in onReadPixels() 660 GrD3DTexture* d3dTex = static_cast<GrD3DTexture*>(surface->asTexture()); in onWritePixels() 875 texResource = static_cast<GrD3DTexture*>(surface->asTexture()); in onTransferPixelsFrom()
|
D | GrD3DCaps.cpp | 916 if (auto tex = static_cast<const GrD3DTexture*>(surface->asTexture())) { in surfaceSupportsReadPixels() 933 return rt->numSamples() <= 1 && SkToBool(surface->asTexture()); in onSurfaceSupportsWritePixels()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 485 GrVkTexture* texture = static_cast<GrVkTexture*>(surface->asTexture()); in onWritePixels() 644 SkASSERT(surface->asTexture()); in onTransferPixelsFrom() 645 srcImage = static_cast<GrVkTexture*>(surface->asTexture())->textureImage(); in onTransferPixelsFrom() 702 GrTexture* dstTex = dst->asTexture(); in resolveImage() 2323 } else if (dst->asTexture()) { in onCopySurface() 2324 dstImage = static_cast<GrVkTexture*>(dst->asTexture())->textureImage(); in onCopySurface() 2340 } else if (src->asTexture()) { in onCopySurface() 2341 SkASSERT(src->asTexture()); in onCopySurface() 2342 srcImage = static_cast<GrVkTexture*>(src->asTexture())->textureImage(); in onCopySurface() 2409 image = static_cast<GrVkTexture*>(surface->asTexture())->textureImage(); in onReadPixels()
|
D | GrVkCaps.cpp | 1593 if (auto tex = static_cast<const GrVkTexture*>(surface->asTexture())) { in surfaceSupportsReadPixels() 1628 return rt->numSamples() <= 1 && SkToBool(surface->asTexture()); in onSurfaceSupportsWritePixels() 1631 if (auto tex = static_cast<const GrVkTexture*>(surface->asTexture())) { in onSurfaceSupportsWritePixels()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 1203 SkASSERT(dst->asTexture()); 1204 dstAttachment = static_cast<GrMtlTexture*>(dst->asTexture())->attachment(); 1262 } else if (dst->asTexture()) { 1263 dstAttachment = static_cast<GrMtlTexture*>(dst->asTexture())->attachment(); 1279 } else if (src->asTexture()) { 1280 SkASSERT(src->asTexture()); 1281 srcAttachment = static_cast<GrMtlTexture*>(src->asTexture())->attachment(); 1322 GrMtlTexture* mtlTexture = static_cast<GrMtlTexture*>(surface->asTexture()); 1499 } else if (GrMtlTexture* texture = static_cast<GrMtlTexture*>(surface->asTexture())) {
|
D | GrMtlUtil.mm | 257 texture = static_cast<GrMtlTexture*>(surface->asTexture());
|
/third_party/skia/src/image/ |
D | SkSurface_Gpu.cpp | 88 GrTexture* texture = rt->asTexture(); in onGetBackendTexture()
|