Lines Matching refs:rtProxy
43 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()
64 REPORTER_ASSERT(reporter, rt->width() == rtProxy->width()); in check_rendertarget()
65 REPORTER_ASSERT(reporter, rt->height() == rtProxy->height()); in check_rendertarget()
67 REPORTER_ASSERT(reporter, rt->width() >= rtProxy->width()); in check_rendertarget()
68 REPORTER_ASSERT(reporter, rt->height() >= rtProxy->height()); in check_rendertarget()
70 REPORTER_ASSERT(reporter, rt->config() == rtProxy->config()); in check_rendertarget()
72 REPORTER_ASSERT(reporter, rt->fsaaType() == rtProxy->fsaaType()); in check_rendertarget()
73 REPORTER_ASSERT(reporter, rt->numColorSamples() == rtProxy->numColorSamples()); in check_rendertarget()
74 REPORTER_ASSERT(reporter, rt->numStencilSamples() == rtProxy->numStencilSamples()); in check_rendertarget()
75 REPORTER_ASSERT(reporter, rt->surfacePriv().flags() == rtProxy->testingOnly_getFlags()); in check_rendertarget()