Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Side by Side Diff: dm/DMSrcSink.cpp

Issue 2219343002: finish SkLiteDL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: skip drawfilter, skia:4769 Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "DMSrcSink.h" 8 #include "DMSrcSink.h"
9 #include "Resources.h" 9 #include "Resources.h"
10 #include "SkAndroidCodec.h" 10 #include "SkAndroidCodec.h"
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 sk_sp<SkLiteDL> dl = SkLiteDL::New(bounds); 1620 sk_sp<SkLiteDL> dl = SkLiteDL::New(bounds);
1621 1621
1622 SkLiteRecorder rec; 1622 SkLiteRecorder rec;
1623 rec.reset(dl.get()); 1623 rec.reset(dl.get());
1624 1624
1625 Error err = src.draw(&rec); 1625 Error err = src.draw(&rec);
1626 if (!err.isEmpty()) { 1626 if (!err.isEmpty()) {
1627 return err; 1627 return err;
1628 } 1628 }
1629 dl->draw(canvas); 1629 dl->draw(canvas);
1630 return ""; //check_against_reference(bitmap, src, fSink); 1630 return check_against_reference(bitmap, src, fSink);
1631 }); 1631 });
1632 } 1632 }
1633 1633
1634 } // namespace DM 1634 } // namespace DM
OLDNEW
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698