OLD | NEW |
| 1 |
1 /* | 2 /* |
2 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
3 * | 4 * |
4 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 6 * found in the LICENSE file. |
6 */ | 7 */ |
7 | 8 |
8 #include "SkClipStack.h" | 9 |
9 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
10 #include "SkDebugCanvas.h" | 11 #include "SkDebugCanvas.h" |
11 #include "SkDrawCommand.h" | 12 #include "SkDrawCommand.h" |
12 #include "SkDevice.h" | 13 #include "SkDevice.h" |
13 #include "SkPaintFilterCanvas.h" | 14 #include "SkPaintFilterCanvas.h" |
14 #include "SkXfermode.h" | 15 #include "SkXfermode.h" |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
18 class OverdrawXfermode : public SkXfermode { | 19 class OverdrawXfermode : public SkXfermode { |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 } | 664 } |
664 | 665 |
665 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { | 666 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { |
666 if (fCalledAddStackData) { | 667 if (fCalledAddStackData) { |
667 fClipStackData.appendf("<br>"); | 668 fClipStackData.appendf("<br>"); |
668 addPathData(devPath, "pathOut"); | 669 addPathData(devPath, "pathOut"); |
669 return true; | 670 return true; |
670 } | 671 } |
671 return false; | 672 return false; |
672 } | 673 } |
OLD | NEW |