Home
last modified time | relevance | path

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

12

/external/skia/tests/
DProxyConversionTest.cpp95 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
98 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
108 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
112 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
113 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
125 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
141 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
172 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
176 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
177 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp177 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
190 proxy->asRenderTargetProxy(), supportedSamples, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
270 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
298 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
327 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DSurfaceDrawContextTest.cpp41 REPORTER_ASSERT(reporter, sdc->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
/external/skia/src/gpu/ganesh/
DGrProgramInfo.cpp24 : fNeedsStencil(targetView.asRenderTargetProxy()->needsStencil()) in GrProgramInfo()
28 targetView.asRenderTargetProxy()->supportsVkInputAttachment() && in GrProgramInfo()
29 ((targetView.asRenderTargetProxy()->numSamples() > 1 && in GrProgramInfo()
31 targetView.asRenderTargetProxy()->numSamples() == 1)) in GrProgramInfo()
32 , fTargetsNumSamples(targetView.asRenderTargetProxy()->numSamples()) in GrProgramInfo()
DGrSurfaceProxyView.cpp38 GrRenderTargetProxy* GrSurfaceProxyView::asRenderTargetProxy() const { in asRenderTargetProxy() function in GrSurfaceProxyView
42 return fProxy->asRenderTargetProxy(); in asRenderTargetProxy()
46 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef()
DSurfaceContext.h132 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function
133 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function
134 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
DSurfaceFillContext.h108 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples()
109 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
135 sk_sp<GrArenas> arenas() { return fWriteView.proxy()->asRenderTargetProxy()->arenas(); } in arenas()
DGrRenderTask.cpp79 SkASSERT(this->target(0)->asRenderTargetProxy()); in makeClosed()
80 this->target(0)->asRenderTargetProxy()->markMSAADirty(targetUpdateBounds); in makeClosed()
164 auto* renderTargetProxy = dependedOn->asRenderTargetProxy(); in addDependency()
207 if (GrRenderTargetProxy* renderTargetProxy = dependedOn->asRenderTargetProxy()) { in addDependency()
DGrRenderTargetProxy.h66 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
67 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DSurfaceDrawContext.h580 bool refsWrappedObjects() const { return this->asRenderTargetProxy()->refsWrappedObjects(); } in refsWrappedObjects()
589 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples()
592 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
DGrSurfaceProxy.h249 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function
250 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
DSurfaceDrawContext.cpp307 rContext->priv().caps()->supportsDynamicMSAA(this->asRenderTargetProxy())) {
775 return this->asRenderTargetProxy()->maxWindowRectangles(*this->caps()); in maxWindowRectangles()
799 this->asRenderTargetProxy()->setNeedsStencil(); in setNeedsStencil()
846 canDrawArgs.fProxy = this->asRenderTargetProxy(); in stencilPath()
1599 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawAndStencilPath()
1799 canDrawArgs.fProxy = this->asRenderTargetProxy(); in drawShapeUsingPathRenderer()
2020 if (this->asRenderTargetProxy()->wrapsVkSecondaryCB()) { in setupDstProxyView()
2026 this->asRenderTargetProxy(), this->getOpsTask()->usesMSAASurface() || opRequiresMSAA); in setupDstProxyView()
2035 this->caps()->getDstSampleFlagsForProxy(this->asRenderTargetProxy(), in setupDstProxyView()
2080 this->asRenderTargetProxy(), colorType); in setupDstProxyView()
DGrOpFlushState.h66 , fRenderTargetProxy(surfaceView.asRenderTargetProxy()) in OpArgs()
72 SkASSERT(surfaceView.asRenderTargetProxy()); in OpArgs()
DPathRenderer.cpp52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
DGrSurfaceProxyView.h68 GrRenderTargetProxy* asRenderTargetProxy() const;
DGrTextureResolveRenderTask.cpp44 GrRenderTargetProxy* renderTargetProxy = proxy->asRenderTargetProxy(); in addProxy()
DGrSurfaceProxy.cpp184 if (this->asRenderTargetProxy()) { in assign()
235 if (const auto* rtp = this->asRenderTargetProxy()) { in computeScratchKey()
DSurfaceContext.cpp185 auto restrictions = this->caps()->getDstCopyRestrictions(this->asRenderTargetProxy(), in readPixels()
563 auto rt = this->asRenderTargetProxy(); in asyncRescaleAndReadPixels()
727 auto rt = this->asRenderTargetProxy(); in asyncRescaleAndReadPixelsYUV420()
1052 auto rtProxy = this->asRenderTargetProxy(); in rescaleInto()
1234 auto rtProxy = this->asRenderTargetProxy(); in transferPixels()
/external/skia/src/gpu/ganesh/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()
/external/skia/src/image/
DSkSurface_Gpu.cpp139 int sampleCount = targetView.asRenderTargetProxy()->numSamples(); in onNewSurface()
291 bool usesGLFBO0 = readSurfaceView.asRenderTargetProxy()->glRTFBOIDIs0(); in onCharacterize()
297 readSurfaceView.asRenderTargetProxy()->supportsVkInputAttachment(); in onCharacterize()
300 int numSamples = readSurfaceView.asRenderTargetProxy()->numSamples(); in onCharacterize()
301 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in onCharacterize()
393 if (characterization.usesGLFBO0() != targetView.asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
403 GrBackendFormat format = targetView.asRenderTargetProxy()->backendFormat(); in onIsCompatible()
404 int numSamples = targetView.asRenderTargetProxy()->numSamples(); in onIsCompatible()
654 return fDevice->replaceBackingProxy(mode, sk_ref_sp(proxy->asRenderTargetProxy()), grColorType, in onReplaceBackendTexture()
/external/skia/src/gpu/ganesh/ops/
DOpsTask.cpp396 , fUsesMSAASurface(view.asRenderTargetProxy()->numSamples() > 1) in OpsTask()
540 GrRenderTargetProxy* proxy = this->target(0)->asRenderTargetProxy(); in onExecute()
764 return !this->target(0)->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear()
954 if (proxy->asRenderTargetProxy()->numSamples() == 1 && usesMSAA) { in recordOp()
955 SkASSERT(caps.supportsDynamicMSAA(proxy->asRenderTargetProxy())); in recordOp()
DPathStencilCoverOp.cpp206 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
291 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect(); in onPrepare()
DPathTessellateOp.cpp94 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
DGrMeshDrawOp.cpp50 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepareDraws()
/external/skia/src/gpu/ganesh/d3d/
DGrD3DCaps.cpp115 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface()
118 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface()
121 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface()
122 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()

12