Home
last modified time | relevance | path

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

123

/external/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()
DRenderTargetContextTest.cpp28 REPORTER_ASSERT(reporter, rtCtx->asRenderTargetProxy()->isInstantiated() == wrappedExpectation); in check_instantiation_status()
/external/skqp/tests/
DProxyConversionTest.cpp76 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 …]
DProxyTest.cpp154 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/
DGrProgramInfo.h27 : 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()
DGrSurfaceContext.h159 GrRenderTargetProxy* asRenderTargetProxy() { return fReadView.asRenderTargetProxy(); } in asRenderTargetProxy() function
160 const GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function
161 return fReadView.asRenderTargetProxy(); in asRenderTargetProxy()
DGrSurfaceProxyView.h61 GrRenderTargetProxy* asRenderTargetProxy() const { in asRenderTargetProxy() function
65 return fProxy->asRenderTargetProxy(); in asRenderTargetProxy()
69 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()
161 auto* renderTargetProxy = dependedOn->asRenderTargetProxy(); in addDependency()
203 if (GrRenderTargetProxy* renderTargetProxy = dependedOn->asRenderTargetProxy()) { in addDependency()
DGrRenderTargetProxy.h51 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
52 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DGrSurfaceFillContext.h194 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()
DGrClipStackClip.cpp123 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()
DGrSurfaceProxy.h227 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function
228 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
DGrSurfaceDrawContext.h628 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/
DGrTextureContext.cpp48 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext
50 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
56 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
DGrSurfaceProxy.cpp214 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()
DGrOpList.cpp180 bool needsStencil = proxy->asRenderTargetProxy() in isFullyInstantiated()
181 ? proxy->asRenderTargetProxy()->needsStencil() in isFullyInstantiated()
DGrRenderTargetOpList.cpp419 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()
DGrTextureContext.h38 GrRenderTargetProxy* asRenderTargetProxy() override;
DGrSurfaceContext.h100 virtual GrRenderTargetProxy* asRenderTargetProxy() = 0;
/external/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp105 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/
DGrRenderTargetProxy.h23 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
24 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm176 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/
DGrVkCaps.cpp219 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/
DSkSurface_Gpu.cpp251 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()

123