Lines Matching defs:reporter
133 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(BasicDrawOpAtlas, reporter, ctxInfo) {
161 check(reporter, atlas.get(), 0, 4, 0);
168 REPORTER_ASSERT(reporter, result);
169 check(reporter, atlas.get(), 1, 4, 1);
173 check(reporter, atlas.get(), 1, 4, 1);
178 REPORTER_ASSERT(reporter, result);
179 check(reporter, atlas.get(), 2, 4, 2);
189 check(reporter, atlas.get(), 1, 4, 1);
197 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrAtlasTextOpPreparation, reporter, ctxInfo) {
253 void test_atlas_config(skiatest::Reporter* reporter, int maxTextureSize, size_t maxBytes,
257 REPORTER_ASSERT(reporter, config.atlasDimensions(maskFormat) == expectedDimensions);
258 REPORTER_ASSERT(reporter, config.plotDimensions(maskFormat) == expectedPlotDimensions);
261 DEF_GPUTEST(GrDrawOpAtlasConfig_Basic, reporter, options) {
263 test_atlas_config(reporter, 65536, 256 * 1024, kARGB_GrMaskFormat,
265 test_atlas_config(reporter, 65536, 256 * 1024, kA8_GrMaskFormat,
268 test_atlas_config(reporter, 65536, 512 * 1024, kARGB_GrMaskFormat,
271 test_atlas_config(reporter, 65536, 512 * 1024, kA8_GrMaskFormat,
274 test_atlas_config(reporter, 65536, 512 * 1024, kA8_GrMaskFormat,
278 test_atlas_config(reporter, 65536, 1024 * 1024, kARGB_GrMaskFormat,
281 test_atlas_config(reporter, 65536, 1024 * 1024, kA8_GrMaskFormat,
284 test_atlas_config(reporter, 65536, 1024 * 1024, kA8_GrMaskFormat,
288 test_atlas_config(reporter, 65536, 2 * 1024 * 1024, kARGB_GrMaskFormat,
291 test_atlas_config(reporter, 65536, 2 * 1024 * 1024, kA8_GrMaskFormat,
294 test_atlas_config(reporter, 65536, 2 * 1024 * 1024, kA8_GrMaskFormat,
298 test_atlas_config(reporter, 65536, 4 * 1024 * 1024, kARGB_GrMaskFormat,
300 test_atlas_config(reporter, 65536, 4 * 1024 * 1024, kA8_GrMaskFormat,
303 test_atlas_config(reporter, 65536, 8 * 1024 * 1024, kARGB_GrMaskFormat,
305 test_atlas_config(reporter, 65536, 8 * 1024 * 1024, kA8_GrMaskFormat,
308 test_atlas_config(reporter, 65536, 16 * 1024 * 1024, kARGB_GrMaskFormat,
310 test_atlas_config(reporter, 65536, 16 * 1024 * 1024, kA8_GrMaskFormat,
314 test_atlas_config(reporter, 1024, 8 * 1024 * 1024, kARGB_GrMaskFormat,
317 test_atlas_config(reporter, 1024, 8 * 1024 * 1024, kA8_GrMaskFormat,
320 test_atlas_config(reporter, 1024, 8 * 1024 * 1024, kA8_GrMaskFormat,
325 test_atlas_config(reporter, 65536, 3 * 1024 * 1024, kARGB_GrMaskFormat,
328 test_atlas_config(reporter, 65536, 3 * 1024 * 1024, kA8_GrMaskFormat,
331 test_atlas_config(reporter, 65536, 3 * 1024 * 1024, kA8_GrMaskFormat,
336 test_atlas_config(reporter, 65536, 0, kARGB_GrMaskFormat,
338 test_atlas_config(reporter, 65536, 0, kA8_GrMaskFormat,