| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |