Home
last modified time | relevance | path

Searched refs:asRenderTargetProxy (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/tests/
DProxyConversionTest.cpp72 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
75 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
118 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
145 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp152 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 proxy->asRenderTargetProxy(), supportedSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
234 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
261 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
289 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/tests/
DProxyConversionTest.cpp74 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
77 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
147 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
151 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
152 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp156 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 proxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
247 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
277 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
331 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDrawOpAtlasTest.cpp216 rtc->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
218 rtc->asRenderTargetProxy()->outputSwizzle(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/
DGrProgramInfo.h29 : fNeedsStencil(targetView.asRenderTargetProxy()->needsStencil()) in GrProgramInfo()
33 targetView.asRenderTargetProxy()->supportsVkInputAttachment() && in GrProgramInfo()
34 ((targetView.asRenderTargetProxy()->numSamples() > 1 && in GrProgramInfo()
36 targetView.asRenderTargetProxy()->numSamples() == 1)) in GrProgramInfo()
37 , fTargetsNumSamples(targetView.asRenderTargetProxy()->numSamples()) in GrProgramInfo()
DSurfaceContext.h142 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function
143 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function
144 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
DGrSurfaceProxyView.h68 GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function
72 return fProxy->asRenderTargetProxy(); in asRenderTargetProxy()
76 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef()
DGrRenderTask.cpp78 SkASSERT(this->target(0)->asRenderTargetProxy()); in makeClosed()
79 this->target(0)->asRenderTargetProxy()->markMSAADirty(targetUpdateBounds); in makeClosed()
163 auto* renderTargetProxy = dependedOn->asRenderTargetProxy(); in addDependency()
205 if (GrRenderTargetProxy* renderTargetProxy = dependedOn->asRenderTargetProxy()) { in addDependency()
DBaseDevice.cpp62 return this->readSurfaceView().asRenderTargetProxy(); in targetProxy()
93 return this->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), in replaceBackingProxy()
DGrRenderTargetProxy.h51 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
52 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DGrSurfaceProxy.h230 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function
231 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp113 GrBackendFormat format = readSurfaceView.asRenderTargetProxy()->backendFormat(); in characterize()
114 int numSamples = readSurfaceView.asRenderTargetProxy()->numSamples(); in characterize()
115 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in characterize()
170 GrBackendFormat format = readSurfaceView.asRenderTargetProxy()->backendFormat(); in isCompatible()
171 int numSamples = readSurfaceView.asRenderTargetProxy()->numSamples(); in isCompatible()
172 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in isCompatible()
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp100 GrBackendFormat format = rtc->asRenderTargetProxy()->backendFormat(); in characterize()
108 GrProtected(rtc->asRenderTargetProxy()->isProtected()), in characterize()
148 GrBackendFormat rtcFormat = rtc->asRenderTargetProxy()->backendFormat(); in isCompatible()
149 GrProtected isProtected = GrProtected(rtc->asRenderTargetProxy()->isProtected()); in isCompatible()
173 ctx->priv().copyRenderTasksFromDDL(ddl, rtc->asRenderTargetProxy()); in draw()
/third_party/flutter/skia/src/gpu/
DGrTextureContext.cpp45 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext
47 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
53 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
DGrRenderTargetProxy.h25 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
26 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DGrSurfaceProxy.cpp224 if (this->asRenderTargetProxy()) { in assign()
226 if (int minStencilSampleCount = this->asRenderTargetProxy()->numStencilSamples()) { in assign()
277 if (const auto* rtp = this->asRenderTargetProxy()) { in computeScratchKey()
495 int minStencilSampleCount = (fProxy->asRenderTargetProxy()) in doLazyInstantiation()
496 ? fProxy->asRenderTargetProxy()->numSamples() in doLazyInstantiation()
DGrResourceAllocator.cpp82 int minStencilSampleCount = (proxy->asRenderTargetProxy())
83 ? proxy->asRenderTargetProxy()->numStencilSamples()
427 int minStencilSampleCount = (cur->proxy()->asRenderTargetProxy()) in assign()
428 ? cur->proxy()->asRenderTargetProxy()->numStencilSamples() in assign()
DGrRenderTask.cpp177 int minStencilSampleCount = (fTarget->asRenderTargetProxy()) in isInstantiated()
178 ? fTarget->asRenderTargetProxy()->numStencilSamples() in isInstantiated()
DGrRenderTargetOpList.cpp432 fTarget->asRenderTargetProxy(), in onPrepare()
434 fTarget.get()->asRenderTargetProxy()->outputSwizzle(), in onPrepare()
534 fTarget->asRenderTargetProxy(), in onExecute()
536 fTarget.get()->asRenderTargetProxy()->outputSwizzle(), in onExecute()
597 return !fTarget->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear()
DGrTextureContext.h38 GrRenderTargetProxy* asRenderTargetProxy() override;
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.h50 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples()
51 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
73 sk_sp<GrArenas> arenas() { return fWriteView.proxy()->asRenderTargetProxy()->arenas(); } in arenas()
DSurfaceDrawContext_v1.h588 bool refsWrappedObjects() const { return this->asRenderTargetProxy()->refsWrappedObjects(); } in refsWrappedObjects()
597 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples()
600 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
DSurfaceDrawContext.cpp302 rContext->priv().caps()->supportsDynamicMSAA(this->asRenderTargetProxy()))
851 return this->asRenderTargetProxy()->maxWindowRectangles(*this->caps()); in maxWindowRectangles()
875 this->asRenderTargetProxy()->setNeedsStencil(); in setNeedsStencil()
922 canDrawArgs.fProxy = this->asRenderTargetProxy(); in stencilPath()
1627 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawAndStencilPath()
1803 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawShapeUsingPathRenderer()
2027 if (this->asRenderTargetProxy()->wrapsVkSecondaryCB()) { in setupDstProxyView()
2033 this->asRenderTargetProxy(), this->getOpsTask()->usesMSAASurface() || opRequiresMSAA); in setupDstProxyView()
2042 this->caps()->getDstSampleFlagsForProxy(this->asRenderTargetProxy(), in setupDstProxyView()
2087 this->asRenderTargetProxy(), colorType); in setupDstProxyView()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp101 int sampleCount = targetView.asRenderTargetProxy()->numSamples(); in onNewSurface()
246 bool usesGLFBO0 = readSurfaceView.asRenderTargetProxy()->glRTFBOIDIs0(); in onCharacterize()
252 readSurfaceView.asRenderTargetProxy()->supportsVkInputAttachment(); in onCharacterize()
255 int numSamples = readSurfaceView.asRenderTargetProxy()->numSamples(); in onCharacterize()
256 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in onCharacterize()
348 if (characterization.usesGLFBO0() != targetView.asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
358 GrBackendFormat format = targetView.asRenderTargetProxy()->backendFormat(); in onIsCompatible()
359 int numSamples = targetView.asRenderTargetProxy()->numSamples(); in onIsCompatible()
575 return fDevice->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), grColorType, in onReplaceBackendTexture()

123