Lines Matching refs:rtProxy
46 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()
67 REPORTER_ASSERT(reporter, rt->dimensions() == rtProxy->dimensions()); in check_rendertarget()
69 REPORTER_ASSERT(reporter, rt->width() >= rtProxy->width()); in check_rendertarget()
70 REPORTER_ASSERT(reporter, rt->height() >= rtProxy->height()); in check_rendertarget()
72 REPORTER_ASSERT(reporter, rt->backendFormat() == rtProxy->backendFormat()); in check_rendertarget()
74 REPORTER_ASSERT(reporter, rt->numSamples() == rtProxy->numSamples()); in check_rendertarget()
75 REPORTER_ASSERT(reporter, rt->flags() == rtProxy->testingOnly_getFlags()); in check_rendertarget()