Searched refs:rtProxy (Results 1 – 3 of 3) sorted by relevance
/external/skia/tests/ |
D | ProxyConversionTest.cpp | 71 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 72 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 73 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 74 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 84 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 85 REPORTER_ASSERT(reporter, rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 86 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 88 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 89 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 99 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all …]
|
D | ProxyTest.cpp | 45 GrRenderTargetProxy* rtProxy, in check_rendertarget() argument 50 REPORTER_ASSERT(reporter, rtProxy->maxWindowRectangles(caps) == expectedMaxWindowRects); in check_rendertarget() 51 REPORTER_ASSERT(reporter, rtProxy->numStencilSamples() == numSamples); in check_rendertarget() 53 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget() 54 REPORTER_ASSERT(reporter, rtProxy->instantiate(provider)); in check_rendertarget() 55 GrRenderTarget* rt = rtProxy->priv().peekRenderTarget(); in check_rendertarget() 57 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget() 60 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() 66 REPORTER_ASSERT(reporter, rt->origin() == rtProxy->origin()); in check_rendertarget() [all …]
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 1801 bool GrRenderTargetContext::setupDstProxy(GrRenderTargetProxy* rtProxy, const GrClip& clip, in setupDstProxy() argument 1805 if (GrTextureProxy* texProxy = rtProxy->asTextureProxy()) { in setupDstProxy() 1814 SkIRect copyRect = SkIRect::MakeWH(rtProxy->width(), rtProxy->height()); in setupDstProxy() 1817 clip.getConservativeBounds(rtProxy->width(), rtProxy->height(), &clippedRect); in setupDstProxy() 1834 if (!this->caps()->initDescForDstCopy(rtProxy, &desc, &rectsMustMatch, &disallowSubrect)) { in setupDstProxy() 1837 desc.fConfig = rtProxy->config(); in setupDstProxy() 1847 SkASSERT(desc.fOrigin == rtProxy->origin()); in setupDstProxy() 1848 desc.fWidth = rtProxy->width(); in setupDstProxy() 1849 desc.fHeight = rtProxy->height(); in setupDstProxy() 1870 if (!sContext->copy(rtProxy, copyRect, dstPoint)) { in setupDstProxy()
|