/third_party/skia/src/gpu/ |
D | GrSurface.h | 66 virtual GrRenderTarget* asRenderTarget() { return nullptr; } in asRenderTarget() function 67 virtual const GrRenderTarget* asRenderTarget() const { return nullptr; } in asRenderTarget() function 88 SkASSERT(this->asRenderTarget()); in setFramebufferOnly() 96 SkASSERT(this->asRenderTarget()); in setGLRTFBOIDIs0() 105 SkASSERT(this->asRenderTarget()); in setRequiresManualMSAAResolve() 113 SkASSERT(!this->asRenderTarget()); in setReadOnly() 118 SkASSERT(this->asRenderTarget()); in setVkRTSupportsInputAttachment()
|
D | GrRenderTargetProxy.cpp | 61 , fSampleCnt(fTarget->asRenderTarget()->numSamples()) in GrRenderTargetProxy() 125 SkASSERT(surface->asRenderTarget()); in createSurface() 174 SkASSERT(surface->asRenderTarget()); in onValidateSurface() 175 SkASSERT(surface->asRenderTarget()->numSamples() == this->numSamples()); in onValidateSurface()
|
D | GrTextureRenderTargetProxy.cpp | 83 SkASSERT(surf->asRenderTarget()); in GrTextureRenderTargetProxy() 146 SkASSERT(surface->asRenderTarget()); in createSurface() 183 SkASSERT(surface->asRenderTarget()); in onValidateSurface() 184 SkASSERT(surface->asRenderTarget()->numSamples() == this->numSamples()); in onValidateSurface()
|
D | GrRenderTarget.h | 34 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function 35 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
|
D | GrTextureProxy.cpp | 132 SkASSERT(!surface->asRenderTarget()); in createSurface() 220 SkASSERT(!surface->asRenderTarget()); in onValidateSurface()
|
D | GrGpu.cpp | 139 SkASSERT(GrRenderable::kNo == renderable || tex->asRenderTarget()); in createTextureCommon() 146 tex->asRenderTarget()->setRequiresManualMSAAResolve(); in createTextureCommon() 349 SkASSERT(!tex || tex->asRenderTarget()); in wrapRenderableBackendTexture() 351 tex->asRenderTarget()->setRequiresManualMSAAResolve(); in wrapRenderableBackendTexture()
|
D | GrProxyProvider.cpp | 219 if (tex->asRenderTarget()) { in createWrapped() 565 SkASSERT(!tex->asRenderTarget()); // Strictly a GrTexture in wrapBackendTexture() 600 SkASSERT(!tex->asRenderTarget()); // Strictly a GrTexture in wrapCompressedBackendTexture() 641 SkASSERT(tex->asRenderTarget()); // A GrTextureRenderTarget in wrapRenderableBackendTexture()
|
D | GrTexture.cpp | 93 if (const auto* rt = this->asRenderTarget()) { in computeScratchKey()
|
/third_party/flutter/skia/src/gpu/ |
D | GrRenderTargetProxy.cpp | 53 , fSampleCnt(fTarget->asRenderTarget()->numSamples()) in GrRenderTargetProxy() 82 return fTarget->asRenderTarget()->canAttemptStencilAttachment(); in canChangeStencilAttachment() 91 SkASSERT(surface->asRenderTarget()); in createSurface() 123 SkASSERT(surface->asRenderTarget()); in onValidateSurface() 124 SkASSERT(surface->asRenderTarget()->numSamples() == this->numSamples()); in onValidateSurface()
|
D | GrTextureRenderTargetProxy.cpp | 78 SkASSERT(surf->asRenderTarget()); in GrTextureRenderTargetProxy() 124 SkASSERT(surface->asRenderTarget()); in createSurface() 138 SkASSERT(surface->asRenderTarget()); in onValidateSurface() 139 SkASSERT(surface->asRenderTarget()->numSamples() == this->numSamples()); in onValidateSurface()
|
D | GrSurface.cpp | 94 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingRead() 106 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingWrite() 118 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingIO()
|
D | GrRenderTarget.h | 32 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function 33 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
|
D | GrTextureProxy.cpp | 100 SkASSERT(!surface->asRenderTarget()); in createSurface() 168 SkASSERT(!surface->asRenderTarget()); in onValidateSurface()
|
D | GrGpu.cpp | 292 SkASSERT(!tex || tex->asRenderTarget()); in wrapRenderableBackendTexture() 526 SkASSERT(!texture->asRenderTarget() || !texture->asRenderTarget()->needsResolve()); in regenerateMipMapLevels() 554 if (GrRenderTarget* target = surface->asRenderTarget()) { in didWriteToSurface()
|
D | GrSurfaceProxy.cpp | 118 GrRenderTarget* rt = surface->asRenderTarget(); in AttachStencilIfNeeded() 225 SkASSERT(fTarget->asRenderTarget()); in assign() 227 auto* stencil = fTarget->asRenderTarget()->renderTargetPriv().getStencilAttachment(); in assign()
|
/third_party/flutter/skia/include/gpu/ |
D | GrSurface.h | 71 virtual GrRenderTarget* asRenderTarget() { return nullptr; } in asRenderTarget() function 72 virtual const GrRenderTarget* asRenderTarget() const { return nullptr; } in asRenderTarget() function 94 SkASSERT(this->asRenderTarget()); in setGLRTFBOIDIs0() 102 SkASSERT(!this->asRenderTarget()); in setReadOnly()
|
/third_party/skia/tests/ |
D | GrSurfaceTest.cpp | 42 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 44 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 46 REPORTER_ASSERT(reporter, texRT1->asRenderTarget() == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 48 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 54 REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 65 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 67 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 69 REPORTER_ASSERT(reporter, texRT2->asRenderTarget() == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 71 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT()
|
/third_party/flutter/skia/tests/ |
D | GrSurfaceTest.cpp | 41 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 43 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 45 REPORTER_ASSERT(reporter, texRT1->asRenderTarget() == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 47 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 53 REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 64 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 66 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 68 REPORTER_ASSERT(reporter, texRT2->asRenderTarget() == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 70 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == in DEF_GPUTEST_FOR_MOCK_CONTEXT() 563 auto renderable = GrRenderable(SkToBool(texture->asRenderTarget())); in DEF_GPUTEST()
|
/third_party/flutter/skia/tools/fiddle/ |
D | fiddle_main.cpp | 199 if (!tmp || !tmp->asRenderTarget()) { in setup_backend_objects() 203 backingRenderTarget = sk_ref_sp(tmp->asRenderTarget()); in setup_backend_objects() 228 if (!backingTextureRenderTarget || !backingTextureRenderTarget->asRenderTarget()) { in setup_backend_objects()
|
/third_party/skia/src/gpu/mock/ |
D | GrMockTexture.h | 185 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function 187 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockTexture.h | 161 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function 163 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
|
/third_party/skia/tools/fiddle/ |
D | fiddle_main.cpp | 182 if (!tmp || !tmp->asRenderTarget()) { in setup_backend_objects() 187 backingRenderTarget = sk_ref_sp(tmp->asRenderTarget()); in setup_backend_objects()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCClipPath.cpp | 38 SkASSERT(texture->asRenderTarget()->numSamples() == sampleCount); in init()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 414 if (const GrRenderTarget* rt = surf->asRenderTarget()) { in get_surface_sample_cnt() 433 GrRenderTarget* dstRT = dst->asRenderTarget(); in onCopySurface() 441 GrRenderTarget* srcRT = src->asRenderTarget(); in onCopySurface() 519 GrD3DRenderTarget* srcRT = static_cast<GrD3DRenderTarget*>(src->asRenderTarget()); in copySurfaceAsResolve() 537 GrRenderTarget* dstRT = dst->asRenderTarget(); in resolveTexture() 573 GrD3DRenderTarget* rt = static_cast<GrD3DRenderTarget*>(surface->asRenderTarget()); in onReadPixels() 871 GrD3DRenderTarget* rt = static_cast<GrD3DRenderTarget*>(surface->asRenderTarget()); in onTransferPixelsFrom()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 632 if (GrVkRenderTarget* rt = static_cast<GrVkRenderTarget*>(surface->asRenderTarget())) { in onTransferPixelsFrom() 701 GrRenderTarget* dstRT = dst->asRenderTarget(); in resolveImage() 706 SkASSERT(dst->asRenderTarget()); in resolveImage() 2284 GrVkRenderTarget* srcRT = static_cast<GrVkRenderTarget*>(src->asRenderTarget()); in copySurfaceAsResolve() 2295 if (GrVkRenderTarget* srcRT = static_cast<GrVkRenderTarget*>(src->asRenderTarget())) { in onCopySurface() 2298 if (GrVkRenderTarget* dstRT = static_cast<GrVkRenderTarget*>(dst->asRenderTarget())) { in onCopySurface() 2309 GrRenderTarget* dstRT = dst->asRenderTarget(); in onCopySurface() 2329 GrRenderTarget* srcRT = src->asRenderTarget(); in onCopySurface() 2399 GrVkRenderTarget* rt = static_cast<GrVkRenderTarget*>(surface->asRenderTarget()); in onReadPixels()
|