Home
last modified time | relevance | path

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

/external/skia/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/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/skqp/src/gpu/vk/
DGrVkCaps.cpp180 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
184 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
187 dstSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
189 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
193 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
196 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp200 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
204 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
207 dstSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
209 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
213 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface()
216 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/skia/src/gpu/
DGrRenderTargetContext.cpp2102 bool GrRenderTargetContext::setupDstProxy(GrRenderTargetProxy* rtProxy, const GrClip& clip, in setupDstProxy() argument
2108 if (rtProxy->wrapsVkSecondaryCB()) { in setupDstProxy()
2113 if (GrTextureProxy* texProxy = rtProxy->asTextureProxy()) { in setupDstProxy()
2122 SkIRect copyRect = SkIRect::MakeWH(rtProxy->width(), rtProxy->height()); in setupDstProxy()
2125 clip.getConservativeBounds(rtProxy->width(), rtProxy->height(), &clippedRect); in setupDstProxy()
2135 clippedRect.intersect(SkIRect::MakeWH(rtProxy->width(), rtProxy->height())); in setupDstProxy()
2152 if (!this->caps()->initDescForDstCopy(rtProxy, &desc, &origin, &rectsMustMatch, in setupDstProxy()
2155 desc.fConfig = rtProxy->config(); in setupDstProxy()
2156 origin = rtProxy->origin(); in setupDstProxy()
2166 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/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/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.cpp2272 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() local
2273 dstSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()
2275 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() local
2276 srcSampleCnt = rtProxy->numColorSamples(); in onCanCopySurface()