/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()
|
D | SurfaceDrawContextTest.cpp | 29 REPORTER_ASSERT(reporter, sdc->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
|
/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
|
D | GrOpFlushState.h | 66 , fRenderTargetProxy(surfaceView.asRenderTargetProxy()) in OpArgs() 72 SkASSERT(surfaceView.asRenderTargetProxy()); in OpArgs()
|
D | GrTextureResolveRenderTask.cpp | 31 GrRenderTargetProxy* renderTargetProxy = proxy->asRenderTargetProxy(); in addProxy()
|
D | GrSurfaceProxy.cpp | 164 if (this->asRenderTargetProxy()) { in assign() 215 if (const auto* rtp = this->asRenderTargetProxy()) { in computeScratchKey()
|
D | SurfaceContext.cpp | 180 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/ |
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/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 | 589 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()
|
D | SurfaceDrawContext.cpp | 303 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()
|
D | PathRenderer.cpp | 52 canArgs.fProxy = args.fSurfaceDrawContext->asRenderTargetProxy(); in drawPath()
|
/third_party/skia/src/image/ |
D | SkSurface_Gpu.cpp | 108 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/ |
D | OpsTask.cpp | 395 , 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()
|
D | PathStencilCoverOp.cpp | 207 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare() 289 flushState->writeView().asRenderTargetProxy()->backingStoreBoundsRect(); in onPrepare()
|
D | GrMeshDrawOp.cpp | 50 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepareDraws()
|
D | PathTessellateOp.cpp | 95 bool usesMSAASurface = writeView.asRenderTargetProxy()->numSamples() > 1; in onPrePrepare()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCaps.cpp | 107 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()
|