/external/skia/tests/ |
D | ProxyConversionTest.cpp | 95 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 …]
|
D | ProxyTest.cpp | 177 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()
|
D | SurfaceDrawContextTest.cpp | 41 REPORTER_ASSERT(reporter, sdc->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
|
/external/skia/src/gpu/ganesh/ |
D | GrProgramInfo.cpp | 24 : 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()
|
D | GrSurfaceProxyView.cpp | 38 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()
|
D | SurfaceContext.h | 132 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function 133 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function 134 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
|
D | SurfaceFillContext.h | 108 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()
|
D | GrRenderTask.cpp | 79 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()
|
D | GrRenderTargetProxy.h | 66 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function 67 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
|
D | SurfaceDrawContext.h | 580 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()
|
D | GrSurfaceProxy.h | 249 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function 250 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
|
D | SurfaceDrawContext.cpp | 307 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()
|
D | GrOpFlushState.h | 66 , fRenderTargetProxy(surfaceView.asRenderTargetProxy()) in OpArgs() 72 SkASSERT(surfaceView.asRenderTargetProxy()); in OpArgs()
|
D | PathRenderer.cpp | 52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
|
D | GrSurfaceProxyView.h | 68 GrRenderTargetProxy* asRenderTargetProxy() const;
|
D | GrTextureResolveRenderTask.cpp | 44 GrRenderTargetProxy* renderTargetProxy = proxy->asRenderTargetProxy(); in addProxy()
|
D | GrSurfaceProxy.cpp | 184 if (this->asRenderTargetProxy()) { in assign() 235 if (const auto* rtp = this->asRenderTargetProxy()) { in computeScratchKey()
|
D | SurfaceContext.cpp | 185 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/ |
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()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 139 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/ |
D | OpsTask.cpp | 396 , 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()
|
D | PathStencilCoverOp.cpp | 206 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare() 291 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect(); in onPrepare()
|
D | PathTessellateOp.cpp | 94 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
|
D | GrMeshDrawOp.cpp | 50 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepareDraws()
|
/external/skia/src/gpu/ganesh/d3d/ |
D | GrD3DCaps.cpp | 115 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()
|