OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkCanvasPriv.h" | 8 #include "SkCanvasPriv.h" |
9 #include "SkClipStack.h" | 9 #include "SkClipStack.h" |
10 #include "SkDebugCanvas.h" | 10 #include "SkDebugCanvas.h" |
11 #include "SkDrawCommand.h" | 11 #include "SkDrawCommand.h" |
12 #include "SkDevice.h" | |
13 #include "SkPaintFilterCanvas.h" | 12 #include "SkPaintFilterCanvas.h" |
14 #include "SkOverdrawMode.h" | 13 #include "SkOverdrawMode.h" |
15 | 14 |
16 #if SK_SUPPORT_GPU | 15 #if SK_SUPPORT_GPU |
17 #include "GrAuditTrail.h" | 16 #include "GrAuditTrail.h" |
18 #include "GrContext.h" | 17 #include "GrContext.h" |
19 #include "GrRenderTarget.h" | 18 #include "GrRenderTarget.h" |
20 #include "SkGpuDevice.h" | 19 #include "SkGpuDevice.h" |
21 #endif | 20 #endif |
22 | 21 |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 } | 806 } |
808 | 807 |
809 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { | 808 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { |
810 if (fCalledAddStackData) { | 809 if (fCalledAddStackData) { |
811 fClipStackData.appendf("<br>"); | 810 fClipStackData.appendf("<br>"); |
812 addPathData(devPath, "pathOut"); | 811 addPathData(devPath, "pathOut"); |
813 return true; | 812 return true; |
814 } | 813 } |
815 return false; | 814 return false; |
816 } | 815 } |
OLD | NEW |