Home
last modified time | relevance | path

Searched refs:rtProxy (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/tests/
DProxyConversionTest.cpp72 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
73 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
74 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); 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() local
86 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); 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() local
[all …]
DProxyTest.cpp46 GrRenderTargetProxy* rtProxy, in check_rendertarget() argument
50 REPORTER_ASSERT(reporter, rtProxy->maxWindowRectangles(caps) == expectedMaxWindowRects); in check_rendertarget()
51 REPORTER_ASSERT(reporter, rtProxy->numSamples() == numSamples); in check_rendertarget()
53 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget()
54 bool preinstantiated = rtProxy->isInstantiated(); in check_rendertarget()
55 REPORTER_ASSERT(reporter, rtProxy->instantiate(provider)); in check_rendertarget()
56 GrRenderTarget* rt = rtProxy->peekRenderTarget(); in check_rendertarget()
58 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget()
61 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() == rt->uniqueID().asUInt()); in check_rendertarget()
63 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() != rt->uniqueID().asUInt()); in check_rendertarget()
[all …]
/third_party/skia/src/gpu/
DGrDrawingManager.cpp486 auto* rtProxy = proxy->asRenderTargetProxy(); in resolve_and_mipmap() local
487 SkASSERT(rtProxy); in resolve_and_mipmap()
488 if (rtProxy->isMSAADirty()) { in resolve_and_mipmap()
489 SkASSERT(rtProxy->peekRenderTarget()); in resolve_and_mipmap()
490 gpu->resolveRenderTarget(rtProxy->peekRenderTarget(), rtProxy->msaaDirtyRect()); in resolve_and_mipmap()
492 rtProxy->markMSAAResolved(); in resolve_and_mipmap()
DGrCaps.cpp451 bool GrCaps::supportsDynamicMSAA(const GrRenderTargetProxy* rtProxy) const { in supportsDynamicMSAA()
452 return rtProxy->numSamples() == 1 && in supportsDynamicMSAA()
453 this->internalMultisampleCount(rtProxy->backendFormat()) > 1 && in supportsDynamicMSAA()
454 this->onSupportsDynamicMSAA(rtProxy); in supportsDynamicMSAA()
DGrOpFlushState.h77 GrRenderTargetProxy* rtProxy() const { return fRenderTargetProxy; } in rtProxy() function
157 GrRenderTargetProxy* rtProxy() const final { return this->drawOpArgs().rtProxy(); } in rtProxy() function
DSurfaceContext.cpp1094 auto rtProxy = this->asRenderTargetProxy(); in rescaleInto() local
1095 if (rtProxy && rtProxy->wrapsVkSecondaryCB()) { in rescaleInto()
1242 auto rtProxy = this->asRenderTargetProxy(); in transferPixels() local
1243 if (rtProxy && rtProxy->wrapsVkSecondaryCB()) { in transferPixels()
DGrMeshDrawTarget.h109 virtual GrRenderTargetProxy* rtProxy() const = 0;
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp219 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
223 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
227 rtProxy->supportsVkInputAttachment()) { in onCanCopySurface()
230 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
233 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
237 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
241 rtProxy->supportsVkInputAttachment()) { in onCanCopySurface()
244 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
1680 bool GrVkCaps::onSupportsDynamicMSAA(const GrRenderTargetProxy* rtProxy) const { in onSupportsDynamicMSAA()
1685 rtProxy->supportsVkInputAttachment() && in onSupportsDynamicMSAA()
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp107 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
108 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
110 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
111 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
/third_party/skia/src/gpu/mock/
DGrMockOpTarget.h107 UNIMPL(GrRenderTargetProxy* rtProxy() const)
/third_party/skia/src/gpu/mtl/
DGrMtlCaps.mm292 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) {
293 dstSampleCnt = rtProxy->numSamples();
295 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
296 srcSampleCnt = rtProxy->numSamples();
993 if (auto rtProxy = src->asRenderTargetProxy()) {
994 if (rtProxy->numSamples() > 1) {
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp3486 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
3487 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
3489 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
3490 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
4793 bool GrGLCaps::onSupportsDynamicMSAA(const GrRenderTargetProxy* rtProxy) const { in onSupportsDynamicMSAA()