Home
last modified time | relevance | path

Searched refs:check_isopaque (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DImageIsOpaqueTest.cpp19 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in check_isopaque() function
28 check_isopaque(reporter, surfaceTransparent, false); in DEF_TEST()
32 check_isopaque(reporter, surfaceOpaque, true); in DEF_TEST()
39 check_isopaque(reporter, surfaceTransparent, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 check_isopaque(reporter, surfaceOpaque, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DImageIsOpaqueTest.cpp19 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in check_isopaque() function
28 check_isopaque(reporter, surfaceTransparent, false); in DEF_TEST()
32 check_isopaque(reporter, surfaceOpaque, true); in DEF_TEST()
39 check_isopaque(reporter, surfaceTransparent, false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 check_isopaque(reporter, surfaceOpaque, true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/docs/examples/
DImage_isOpaque.cpp7 auto check_isopaque = [](const SkImageInfo& imageInfo) -> void { in draw() local
12 check_isopaque(SkImageInfo::MakeN32Premul(5, 5)); in draw()
13 check_isopaque(SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType)); in draw()
/external/skqp/docs/
DSkImage_Reference.bmh951 auto check_isopaque = [](const SkImageInfo& imageInfo) -> void {
957 check_isopaque(SkImageInfo::MakeN32Premul(5, 5));
958 check_isopaque(SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType));