Home
last modified time | relevance | path

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

12

/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()
DSurfaceDrawContextTest.cpp29 REPORTER_ASSERT(reporter, sdc->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
/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
DGrOpFlushState.h66 , fRenderTargetProxy(surfaceView.asRenderTargetProxy()) in OpArgs()
72 SkASSERT(surfaceView.asRenderTargetProxy()); in OpArgs()
DGrTextureResolveRenderTask.cpp31 GrRenderTargetProxy* renderTargetProxy = proxy->asRenderTargetProxy(); in addProxy()
DGrSurfaceProxy.cpp164 if (this->asRenderTargetProxy()) { in assign()
215 if (const auto* rtp = this->asRenderTargetProxy()) { in computeScratchKey()
DSurfaceContext.cpp180 auto restrictions = this->caps()->getDstCopyRestrictions(this->asRenderTargetProxy(), in readPixels()
554 auto rt = this->asRenderTargetProxy(); in asyncRescaleAndReadPixels()
807 auto rt = this->asRenderTargetProxy(); in asyncRescaleAndReadPixelsYUV420()
1094 auto rtProxy = this->asRenderTargetProxy(); in rescaleInto()
1242 auto rtProxy = this->asRenderTargetProxy(); in transferPixels()
/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/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.h589 bool refsWrappedObjects() const { return this->asRenderTargetProxy()->refsWrappedObjects(); } in refsWrappedObjects()
598 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples()
601 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
DSurfaceDrawContext.cpp303 rContext->priv().caps()->supportsDynamicMSAA(this->asRenderTargetProxy()))
852 return this->asRenderTargetProxy()->maxWindowRectangles(*this->caps()); in maxWindowRectangles()
876 this->asRenderTargetProxy()->setNeedsStencil(); in setNeedsStencil()
923 canDrawArgs.fProxy = this->asRenderTargetProxy(); in stencilPath()
1628 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawAndStencilPath()
1804 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawShapeUsingPathRenderer()
2028 if (this->asRenderTargetProxy()->wrapsVkSecondaryCB()) { in setupDstProxyView()
2034 this->asRenderTargetProxy(), this->getOpsTask()->usesMSAASurface() || opRequiresMSAA); in setupDstProxyView()
2043 this->caps()->getDstSampleFlagsForProxy(this->asRenderTargetProxy(), in setupDstProxyView()
2088 this->asRenderTargetProxy(), colorType); in setupDstProxyView()
DPathRenderer.cpp52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp108 int sampleCount = targetView.asRenderTargetProxy()->numSamples(); in onNewSurface()
253 bool usesGLFBO0 = readSurfaceView.asRenderTargetProxy()->glRTFBOIDIs0(); in onCharacterize()
259 readSurfaceView.asRenderTargetProxy()->supportsVkInputAttachment(); in onCharacterize()
262 int numSamples = readSurfaceView.asRenderTargetProxy()->numSamples(); in onCharacterize()
263 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in onCharacterize()
355 if (characterization.usesGLFBO0() != targetView.asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
365 GrBackendFormat format = targetView.asRenderTargetProxy()->backendFormat(); in onIsCompatible()
366 int numSamples = targetView.asRenderTargetProxy()->numSamples(); in onIsCompatible()
582 return fDevice->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), grColorType, in onReplaceBackendTexture()
/third_party/skia/src/gpu/ops/
DOpsTask.cpp395 , fUsesMSAASurface(view.asRenderTargetProxy()->numSamples() > 1) in OpsTask()
551 GrRenderTargetProxy* proxy = this->target(0)->asRenderTargetProxy(); in onExecute()
793 return !this->target(0)->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear()
983 if (proxy->asRenderTargetProxy()->numSamples() == 1 && usesMSAA) { in recordOp()
984 SkASSERT(caps.supportsDynamicMSAA(proxy->asRenderTargetProxy())); in recordOp()
DPathStencilCoverOp.cpp207 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
289 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect(); in onPrepare()
DGrMeshDrawOp.cpp50 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepareDraws()
DPathTessellateOp.cpp95 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp107 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface()
110 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface()
113 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface()
114 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()

12