/external/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 | RenderTargetContextTest.cpp | 28 REPORTER_ASSERT(reporter, rtCtx->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
|
/external/skqp/tests/ |
D | ProxyConversionTest.cpp | 76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 79 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 94 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 95 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 107 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 124 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 148 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 152 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 153 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyTest.cpp | 154 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 167 proxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 235 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 266 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 287 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 313 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ |
D | GrProgramInfo.h | 27 : fNumSamples(targetView.asRenderTargetProxy()->numSamples()) in GrProgramInfo() 28 , fNeedsStencil(targetView.asRenderTargetProxy()->needsStencil()) in GrProgramInfo() 32 targetView.asRenderTargetProxy()->numSamples() > 1 && in GrProgramInfo() 34 targetView.asRenderTargetProxy()->supportsVkInputAttachment()) in GrProgramInfo()
|
D | GrSurfaceContext.h | 159 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function 160 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function 161 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
|
D | GrSurfaceProxyView.h | 61 GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function 65 return fProxy->asRenderTargetProxy(); in asRenderTargetProxy() 69 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() 161 auto* renderTargetProxy = dependedOn->asRenderTargetProxy(); in addDependency() 203 if (GrRenderTargetProxy* renderTargetProxy = dependedOn->asRenderTargetProxy()) { in addDependency()
|
D | GrRenderTargetProxy.h | 51 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function 52 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
|
D | GrSurfaceFillContext.h | 194 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples() 195 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB() 216 sk_sp<GrArenas> arenas() { return fWriteView.proxy()->asRenderTargetProxy()->arenas(); } in arenas()
|
D | GrClipStackClip.cpp | 123 canDrawArgs.fProxy = surfaceDrawContext->asRenderTargetProxy(); in PathNeedsSWRenderer() 157 if (!surfaceDrawContext->asRenderTargetProxy()->canUseStencil(*context->priv().caps())) { in UseSWOnlyPath() 214 SkASSERT(surfaceDrawContext->asRenderTargetProxy()->canUseStencil(*context->priv().caps())); in apply() 273 !surfaceDrawContext->asRenderTargetProxy()->canUseStencil(*context->priv().caps())) { in applyClipMask() 293 if (!surfaceDrawContext->asRenderTargetProxy()->canUseStencil(*context->priv().caps())) { in applyClipMask()
|
D | GrSurfaceProxy.h | 227 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function 228 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
|
D | GrSurfaceDrawContext.h | 628 bool refsWrappedObjects() const { return this->asRenderTargetProxy()->refsWrappedObjects(); } in refsWrappedObjects() 637 int numSamples() const { return this->asRenderTargetProxy()->numSamples(); } in numSamples() 640 bool wrapsVkSecondaryCB() const { return this->asRenderTargetProxy()->wrapsVkSecondaryCB(); } in wrapsVkSecondaryCB()
|
/external/skqp/src/gpu/ |
D | GrTextureContext.cpp | 48 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext 50 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy() 56 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
|
D | GrSurfaceProxy.cpp | 214 if (this->asRenderTargetProxy()) { in assign() 216 if (this->asRenderTargetProxy()->needsStencil()) { in assign() 263 const GrRenderTargetProxy* rtp = this->asRenderTargetProxy(); in computeScratchKey() 459 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation() 460 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
|
D | GrOpList.cpp | 180 bool needsStencil = proxy->asRenderTargetProxy() in isFullyInstantiated() 181 ? proxy->asRenderTargetProxy()->needsStencil() in isFullyInstantiated()
|
D | GrRenderTargetOpList.cpp | 419 fTarget.get()->asRenderTargetProxy(), in onPrepare() 504 fTarget.get()->asRenderTargetProxy(), in onExecute() 559 if (this->isEmpty() || !fTarget.get()->asRenderTargetProxy()->needsStencil()) { in resetForFullscreenClear() 566 return !fTarget.get()->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear() 582 SkASSERT(dst->asRenderTargetProxy() == fTarget.get()); in copySurface()
|
D | GrTextureContext.h | 38 GrRenderTargetProxy* asRenderTargetProxy() override;
|
D | GrSurfaceContext.h | 100 virtual GrRenderTargetProxy* asRenderTargetProxy() = 0;
|
/external/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 105 GrBackendFormat format = sdc->asRenderTargetProxy()->backendFormat(); in characterize() 118 sdc->asRenderTargetProxy()->isProtected(), in characterize() 160 GrBackendFormat rtcFormat = sdc->asRenderTargetProxy()->backendFormat(); in isCompatible() 161 GrProtected isProtected = sdc->asRenderTargetProxy()->isProtected(); in isCompatible()
|
/external/skqp/include/private/ |
D | GrRenderTargetProxy.h | 23 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function 24 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCaps.mm | 176 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { 179 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { 182 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); 183 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); 188 this->canCopyAsDraw(dst->config(), SkToBool(dst->asRenderTargetProxy()),
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 219 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() 228 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() 237 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface() 238 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 251 bool usesGLFBO0 = sdc->asRenderTargetProxy()->glRTFBOIDIs0(); in onCharacterize() 256 bool vkRTSupportsInputAttachment = sdc->asRenderTargetProxy()->supportsVkInputAttachment(); in onCharacterize() 275 sdc->asRenderTargetProxy()->isProtected(), in onCharacterize() 355 if (characterization.usesGLFBO0() != sdc->asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
|