diff options
Diffstat (limited to 'tests/SkRasterPipelineTest.cpp')
-rw-r--r-- | tests/SkRasterPipelineTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/SkRasterPipelineTest.cpp b/tests/SkRasterPipelineTest.cpp index 76fbc2541c..049729043f 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -21,7 +21,7 @@ DEF_TEST(SkRasterPipeline, r) { p.append(SkRasterPipeline::load_d_f16, &red); p.append(SkRasterPipeline::srcover); p.append(SkRasterPipeline::store_f16, &result); - p.run(1); + p.compile()(0, 1); // We should see half-intensity magenta. REPORTER_ASSERT(r, ((result >> 0) & 0xffff) == 0x3800); @@ -33,7 +33,7 @@ DEF_TEST(SkRasterPipeline, r) { DEF_TEST(SkRasterPipeline_empty, r) { // No asserts... just a test that this is safe to run. SkRasterPipeline p; - p.run(20); + p.compile()(0,20); } DEF_TEST(SkRasterPipeline_nonsense, r) { @@ -41,5 +41,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.run(20); + p.compile()(0, 20); } |