Home
last modified time | relevance | path

Searched refs:asRenderTarget (Results 1 – 25 of 53) sorted by relevance

123

/third_party/skia/src/gpu/
DGrSurface.h66 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()
DGrRenderTargetProxy.cpp61 , 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()
DGrTextureRenderTargetProxy.cpp83 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()
DGrRenderTarget.h34 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function
35 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
DGrTextureProxy.cpp132 SkASSERT(!surface->asRenderTarget()); in createSurface()
220 SkASSERT(!surface->asRenderTarget()); in onValidateSurface()
DGrGpu.cpp139 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()
DGrProxyProvider.cpp219 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()
DGrTexture.cpp93 if (const auto* rt = this->asRenderTarget()) { in computeScratchKey()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetProxy.cpp53 , 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()
DGrTextureRenderTargetProxy.cpp78 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()
DGrSurface.cpp94 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingRead()
106 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingWrite()
118 const GrRenderTarget* thisRT = this->asRenderTarget(); in hasPendingIO()
DGrRenderTarget.h32 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function
33 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
DGrTextureProxy.cpp100 SkASSERT(!surface->asRenderTarget()); in createSurface()
168 SkASSERT(!surface->asRenderTarget()); in onValidateSurface()
DGrGpu.cpp292 SkASSERT(!tex || tex->asRenderTarget()); in wrapRenderableBackendTexture()
526 SkASSERT(!texture->asRenderTarget() || !texture->asRenderTarget()->needsResolve()); in regenerateMipMapLevels()
554 if (GrRenderTarget* target = surface->asRenderTarget()) { in didWriteToSurface()
DGrSurfaceProxy.cpp118 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/
DGrSurface.h71 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/
DGrSurfaceTest.cpp42 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/
DGrSurfaceTest.cpp41 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/
Dfiddle_main.cpp199 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/
DGrMockTexture.h185 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/
DGrMockTexture.h161 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget() function
163 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget() function
/third_party/skia/tools/fiddle/
Dfiddle_main.cpp182 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/
DGrCCClipPath.cpp38 SkASSERT(texture->asRenderTarget()->numSamples() == sampleCount); in init()
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp414 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/
DGrVkGpu.cpp632 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()

123