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

Side by Side Diff: tools/debugger/SkDebugCanvas.cpp

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « tests/SkpSkGrTest.cpp ('k') | no next file » | 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 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
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 }
OLDNEW
« no previous file with comments | « tests/SkpSkGrTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698