Home
last modified time | relevance | path

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

/external/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 …]
/external/skqp/tests/
DProxyConversionTest.cpp76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
77 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
78 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); 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() local
91 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); 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() local
[all …]
DProxyTest.cpp43 GrRenderTargetProxy* rtProxy, in check_rendertarget() argument
47 REPORTER_ASSERT(reporter, rtProxy->maxWindowRectangles(caps) == expectedMaxWindowRects); in check_rendertarget()
48 REPORTER_ASSERT(reporter, rtProxy->numStencilSamples() == numSamples); in check_rendertarget()
50 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget()
51 bool preinstantiated = rtProxy->isInstantiated(); in check_rendertarget()
52 REPORTER_ASSERT(reporter, rtProxy->instantiate(provider)); in check_rendertarget()
53 GrRenderTarget* rt = rtProxy->peekRenderTarget(); in check_rendertarget()
55 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget()
58 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() == rt->uniqueID().asUInt()); in check_rendertarget()
60 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() != rt->uniqueID().asUInt()); in check_rendertarget()
[all …]
/external/skia/src/gpu/
DGrCaps.cpp437 bool GrCaps::supportsDynamicMSAA(const GrRenderTargetProxy* rtProxy) const { in supportsDynamicMSAA()
438 return rtProxy->numSamples() == 1 && in supportsDynamicMSAA()
439 this->internalMultisampleCount(rtProxy->backendFormat()) > 1 && in supportsDynamicMSAA()
440 this->onSupportsDynamicMSAA(rtProxy); in supportsDynamicMSAA()
DGrDrawingManager.cpp470 auto* rtProxy = proxy->asRenderTargetProxy(); in resolve_and_mipmap() local
471 SkASSERT(rtProxy); in resolve_and_mipmap()
472 if (rtProxy->isMSAADirty()) { in resolve_and_mipmap()
473 SkASSERT(rtProxy->peekRenderTarget()); in resolve_and_mipmap()
474 gpu->resolveRenderTarget(rtProxy->peekRenderTarget(), rtProxy->msaaDirtyRect()); in resolve_and_mipmap()
476 rtProxy->markMSAAResolved(); in resolve_and_mipmap()
DGrOpFlushState.h78 GrRenderTargetProxy* rtProxy() const { return fRenderTargetProxy; } in rtProxy() function
158 GrRenderTargetProxy* rtProxy() const final { return this->drawOpArgs().rtProxy(); } in rtProxy() function
DGrSurfaceContext.cpp1167 auto rtProxy = this->asRenderTargetProxy(); in rescaleInto() local
1168 if (rtProxy && rtProxy->wrapsVkSecondaryCB()) { in rescaleInto()
1318 auto rtProxy = this->asRenderTargetProxy(); in transferPixels() local
1319 if (rtProxy && rtProxy->wrapsVkSecondaryCB()) { in transferPixels()
DGrOpsTask.cpp426 GrRenderTargetProxy* rtProxy = this->target(0)->asRenderTargetProxy(); in addDrawOp() local
427 if (rtProxy->numSamples() == 1 && in addDrawOp()
429 SkASSERT(caps.supportsDynamicMSAA(rtProxy)); in addDrawOp()
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp219 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
223 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
226 dstSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
228 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
232 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
235 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1992 bool GrRenderTargetContext::setupDstProxy(GrRenderTargetProxy* rtProxy, const GrClip& clip, in setupDstProxy() argument
1998 if (rtProxy->wrapsVkSecondaryCB()) { in setupDstProxy()
2003 if (GrTextureProxy* texProxy = rtProxy->asTextureProxy()) { in setupDstProxy()
2012 SkIRect copyRect = SkIRect::MakeWH(rtProxy->width(), rtProxy->height()); in setupDstProxy()
2015 clip.getConservativeBounds(rtProxy->width(), rtProxy->height(), &clippedRect); in setupDstProxy()
2025 clippedRect.intersect(SkIRect::MakeWH(rtProxy->width(), rtProxy->height())); in setupDstProxy()
2042 if (!this->caps()->initDescForDstCopy(rtProxy, &desc, &origin, &rectsMustMatch, in setupDstProxy()
2045 desc.fConfig = rtProxy->config(); in setupDstProxy()
2046 origin = rtProxy->origin(); in setupDstProxy()
2056 desc.fWidth = rtProxy->width(); in setupDstProxy()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm176 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) {
177 dstSampleCnt = rtProxy->numColorSamples();
179 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
180 srcSampleCnt = rtProxy->numColorSamples();
/external/skia/src/gpu/vk/
DGrVkCaps.cpp212 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
216 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
220 rtProxy->supportsVkInputAttachment()) { in onCanCopySurface()
223 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
226 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
230 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
234 rtProxy->supportsVkInputAttachment()) { in onCanCopySurface()
237 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
/external/skia/src/gpu/mock/
DGrMockOpTarget.h105 UNIMPL(GrRenderTargetProxy* rtProxy() const)
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp104 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
105 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
107 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
108 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm244 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) {
245 dstSampleCnt = rtProxy->numSamples();
247 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
248 srcSampleCnt = rtProxy->numSamples();
944 if (auto rtProxy = src->asRenderTargetProxy()) {
945 if (rtProxy->numSamples() > 1) {
/external/skia/src/gpu/ops/
DGrMeshDrawOp.h226 virtual GrRenderTargetProxy* rtProxy() const = 0;
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp2254 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
2255 dstSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
2257 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
2258 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp3347 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
3348 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface()
3350 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
3351 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface()