/third_party/skia/tests/ |
D | ProxyConversionTest.cpp | 72 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 …]
|
D | ProxyTest.cpp | 152 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/ |
D | ProxyConversionTest.cpp | 74 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 …]
|
D | ProxyTest.cpp | 156 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()
|
D | DrawOpAtlasTest.cpp | 216 rtc->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 218 rtc->asRenderTargetProxy()->outputSwizzle(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/ |
D | GrProgramInfo.h | 29 : 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()
|
D | SurfaceContext.h | 142 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function 143 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function 144 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
|
D | GrSurfaceProxyView.h | 68 GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function 72 return fProxy->asRenderTargetProxy(); in asRenderTargetProxy() 76 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef()
|
D | GrRenderTask.cpp | 78 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()
|
D | BaseDevice.cpp | 62 return this->readSurfaceView().asRenderTargetProxy(); in targetProxy() 93 return this->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), in replaceBackingProxy()
|
D | GrRenderTargetProxy.h | 51 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function 52 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
|
D | GrSurfaceProxy.h | 230 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/ |
D | GrVkSecondaryCBDrawContext.cpp | 113 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/ |
D | GrVkSecondaryCBDrawContext.cpp | 100 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/ |
D | GrTextureContext.cpp | 45 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext 47 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy() 53 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
|
D | GrRenderTargetProxy.h | 25 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function 26 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
|
D | GrSurfaceProxy.cpp | 224 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()
|
D | GrResourceAllocator.cpp | 82 int minStencilSampleCount = (proxy->asRenderTargetProxy()) 83 ? proxy->asRenderTargetProxy()->numStencilSamples() 427 int minStencilSampleCount = (cur->proxy()->asRenderTargetProxy()) in assign() 428 ? cur->proxy()->asRenderTargetProxy()->numStencilSamples() in assign()
|
D | GrRenderTask.cpp | 177 int minStencilSampleCount = (fTarget->asRenderTargetProxy()) in isInstantiated() 178 ? fTarget->asRenderTargetProxy()->numStencilSamples() in isInstantiated()
|
D | GrRenderTargetOpList.cpp | 432 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()
|
D | GrTextureContext.h | 38 GrRenderTargetProxy* asRenderTargetProxy() override;
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceFillContext_v1.h | 50 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()
|
D | SurfaceDrawContext_v1.h | 588 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()
|
D | SurfaceDrawContext.cpp | 302 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/ |
D | SkSurface_Gpu.cpp | 101 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()
|