Lines Matching refs:reporter

31 DEF_GPUTEST_FOR_MOCK_CONTEXT(GrSurface, reporter, ctxInfo) {
42 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asRenderTarget());
43 REPORTER_ASSERT(reporter, texRT1.get() == texRT1->asTexture());
44 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) ==
46 REPORTER_ASSERT(reporter, texRT1->asRenderTarget() ==
48 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) ==
54 REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget());
55 REPORTER_ASSERT(reporter, tex1.get() == tex1->asTexture());
56 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1.get()) == tex1->asTexture());
65 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asRenderTarget());
66 REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asTexture());
67 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) ==
69 REPORTER_ASSERT(reporter, texRT2->asRenderTarget() ==
71 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) ==
79 DEF_GPUTEST_FOR_ALL_CONTEXTS(GrSurfaceRenderability, reporter, ctxInfo) {
133 REPORTER_ASSERT(reporter, SkToBool(tex) == isTexturable,
145 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) == expectedMipMapability,
158 REPORTER_ASSERT(reporter, SkToBool(tex) == isRenderable,
171 REPORTER_ASSERT(reporter, SkToBool(tex) == isRenderable,
184 DEF_GPUTEST(InitialTextureClear, reporter, baseOptions) {
226 auto checkColor = [reporter](const GrCaps::TestFormatColorTypeCombination& combo,
236 ERRORF(reporter,
244 ERRORF(reporter, "Failed on ct %s format %s 0x%08x != 0x00000000",
321 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadOnlyTexture, reporter, context_info) {
330 auto comparePixels = [](const SkPixmap& p1, const SkPixmap& p2, skiatest::Reporter* reporter) {
334 REPORTER_ASSERT(reporter, p1.getColor(x, y) == p2.getColor(x, y));
361 ERRORF(reporter, "Could not make texture.");
376 REPORTER_ASSERT(reporter, readResult);
378 comparePixels(srcPixmap, read, reporter);
387 REPORTER_ASSERT(reporter, writeResult == (ioType == kRW_GrIOType));
397 REPORTER_ASSERT(reporter, gpuWriteResult == (ioType == kRW_GrIOType));
405 REPORTER_ASSERT(reporter, copySrc);
407 REPORTER_ASSERT(reporter, copyResult == (ioType == kRW_GrIOType));
413 REPORTER_ASSERT(reporter, gpuCopyResult == (ioType == kRW_GrIOType));
431 REPORTER_ASSERT(reporter, regenResult == (ioType == kRW_GrIOType));