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