From c789b61167dd98efc3c3bfcf9673eef24c2e57f4 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 30 Nov 2016 13:45:06 -0500 Subject: Bring back SkRasterPipeline::run() for one-off uses. CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD Change-Id: I308b6d75f2987a667eead9a55760a2ff6aec2984 Reviewed-on: https://skia-review.googlesource.com/5353 Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- tests/SkRasterPipelineTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/SkRasterPipelineTest.cpp') diff --git a/tests/SkRasterPipelineTest.cpp b/tests/SkRasterPipelineTest.cpp index 427bc93015..50c417f5f0 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -25,7 +25,7 @@ DEF_TEST(SkRasterPipeline, r) { p.append(SkRasterPipeline::load_f16_d, &load_d_ctx); p.append(SkRasterPipeline::srcover); p.append(SkRasterPipeline::store_f16, &store_ctx); - p.compile()(0,0, 1); + p.run(0,0, 1); // We should see half-intensity magenta. REPORTER_ASSERT(r, ((result >> 0) & 0xffff) == 0x3800); @@ -37,7 +37,7 @@ DEF_TEST(SkRasterPipeline, r) { DEF_TEST(SkRasterPipeline_empty, r) { // No asserts... just a test that this is safe to run. SkRasterPipeline p; - p.compile()(0,0, 20); + p.run(0,0, 20); } DEF_TEST(SkRasterPipeline_nonsense, r) { @@ -45,5 +45,5 @@ DEF_TEST(SkRasterPipeline_nonsense, r) { // srcover() calls st->next(); this makes sure we've always got something there to call. SkRasterPipeline p; p.append(SkRasterPipeline::srcover); - p.compile()(0,0, 20); + p.run(0,0, 20); } -- cgit v1.2.3