Home | History | Annotate | Download | only in tests

Lines Matching defs:xform

27         // Use special testing entry point, so we don't skip the xform, even though src == dst.
81 // Create and perform an identity xform.
82 std::unique_ptr<SkColorSpaceXform> xform = ColorSpaceXformTest::CreateIdentityXform(gammas);
83 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels,
117 // Create and perform an identity xform.
118 auto xform = ColorSpaceXformTest::CreateIdentityXform_A2B(gammaNamed, gammas);
119 bool result = xform->apply(select_xform_format(kN32_SkColorType), dstPixels,
288 // to test the xform on
313 auto xform = SkColorSpaceXform::New(srcSpace.get(), dstSpace.get());
314 bool result = xform->apply(SkColorSpaceXform::kRGBA_8888_ColorFormat, dstPixels.get(),
336 std::unique_ptr<SkColorSpaceXform> xform = SkColorSpaceXform::New(p3.get(), srgb.get());
339 bool success = xform->apply(SkColorSpaceXform::kRGBA_8888_ColorFormat, &dstPixel,