Lines Matching refs:Reporter
51 static void check_refs(skiatest::Reporter* reporter,
57 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs);
58 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs);
59 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads);
60 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites);
94 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) {
107 check_refs(reporter, sProxy.get(), 1, 1, 0, 1);
118 check_refs(reporter, sProxy.get(), 1, 1, 0, expectedWrites);
127 check_refs(reporter, sProxy.get(), 1, 1, 1, 0);
138 check_refs(reporter, sProxy.get(), 1, 1, 1, expectedWrites);
147 check_refs(reporter, sProxy.get(), 1, 1, 1, 1);
158 check_refs(reporter, sProxy.get(), 1, 1, 1, expectedWrites);
167 check_refs(reporter, sProxy.get(), 3, 3, 0, 0);
176 check_refs(reporter, sProxy.get(), 3, 3, 0, expectedWrites);
189 check_refs(reporter, sProxy.get(), 2, 2, 0, 1);
198 check_refs(reporter, sProxy.get(), 2, 2, 0, expectedWrites);
201 check_refs(reporter, sProxy.get(), 1, 1, 0, expectedWrites);
204 check_refs(reporter, sProxy.get(), 1, 1, 1, expectedWrites);