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

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

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month 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/SurfaceTest.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 "SkPaintFilterCanvas.h" 12 #include "SkPaintFilterCanvas.h"
13 #include "SkTextBlob.h" 13 #include "SkTextBlob.h"
14 14
15 #if SK_SUPPORT_GPU 15 #if SK_SUPPORT_GPU
16 #include "GrAuditTrail.h" 16 #include "GrAuditTrail.h"
17 #include "GrContext.h" 17 #include "GrContext.h"
18 #include "GrRenderTargetContextPriv.h"
18 #include "GrRenderTarget.h" 19 #include "GrRenderTarget.h"
19 #include "SkGpuDevice.h" 20 #include "SkGpuDevice.h"
20 #endif 21 #endif
21 22
22 #define SKDEBUGCANVAS_VERSION 1 23 #define SKDEBUGCANVAS_VERSION 1
23 #define SKDEBUGCANVAS_ATTRIBUTE_VERSION "version" 24 #define SKDEBUGCANVAS_ATTRIBUTE_VERSION "version"
24 #define SKDEBUGCANVAS_ATTRIBUTE_COMMANDS "commands" 25 #define SKDEBUGCANVAS_ATTRIBUTE_COMMANDS "commands"
25 #define SKDEBUGCANVAS_ATTRIBUTE_AUDITTRAIL "auditTrail" 26 #define SKDEBUGCANVAS_ATTRIBUTE_AUDITTRAIL "auditTrail"
26 27
27 class DebugPaintFilterCanvas : public SkPaintFilterCanvas { 28 class DebugPaintFilterCanvas : public SkPaintFilterCanvas {
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 } 819 }
819 820
820 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) { 821 bool SkDebugCanvas::lastClipStackData(const SkPath& devPath) {
821 if (fCalledAddStackData) { 822 if (fCalledAddStackData) {
822 fClipStackData.appendf("<br>"); 823 fClipStackData.appendf("<br>");
823 addPathData(devPath, "pathOut"); 824 addPathData(devPath, "pathOut");
824 return true; 825 return true;
825 } 826 }
826 return false; 827 return false;
827 } 828 }
OLDNEW
« no previous file with comments | « tests/SurfaceTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698