Searched refs:lostGlyph (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 702 const auto& lostGlyph = testCache->getGlyphIDMetrics( in DEF_TEST() local 704 testCache->findImage(lostGlyph); in DEF_TEST() 706 REPORTER_ASSERT(reporter, lostGlyph.fHeight == 1); in DEF_TEST() 707 REPORTER_ASSERT(reporter, lostGlyph.fWidth == 2); in DEF_TEST() 708 REPORTER_ASSERT(reporter, lostGlyph.fMaskFormat == SkMask::kA8_Format); in DEF_TEST() 709 REPORTER_ASSERT(reporter, memcmp(lostGlyph.fImage, glyphImage, sizeof(glyphImage)) == 0); in DEF_TEST() 714 const auto& lostGlyph = in DEF_TEST() local 716 testCache->findImage(lostGlyph); in DEF_TEST() 718 REPORTER_ASSERT(reporter, lostGlyph.fHeight == 1); in DEF_TEST() 719 REPORTER_ASSERT(reporter, lostGlyph.fWidth == 2); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | SkRemoteGlyphCacheTest.cpp | 703 const auto& lostGlyph = testCache->getGlyphIDMetrics( in DEF_TEST() local 705 testCache->findImage(lostGlyph); in DEF_TEST() 707 REPORTER_ASSERT(reporter, lostGlyph.fHeight == 1); in DEF_TEST() 708 REPORTER_ASSERT(reporter, lostGlyph.fWidth == 2); in DEF_TEST() 709 REPORTER_ASSERT(reporter, lostGlyph.fMaskFormat == SkMask::kA8_Format); in DEF_TEST() 710 REPORTER_ASSERT(reporter, memcmp(lostGlyph.fImage, glyphImage, sizeof(glyphImage)) == 0); in DEF_TEST() 715 const auto& lostGlyph = in DEF_TEST() local 717 testCache->findImage(lostGlyph); in DEF_TEST() 719 REPORTER_ASSERT(reporter, lostGlyph.fHeight == 1); in DEF_TEST() 720 REPORTER_ASSERT(reporter, lostGlyph.fWidth == 2); in DEF_TEST() [all …]
|