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

Side by Side Diff: gm/gm.h

Issue 163603003: add peekPixels to SkCanvas and SkSurface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « gm/gammatext.cpp ('k') | gm/imagefiltersclipped.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 */
7
8 #ifndef skiagm_DEFINED 8 #ifndef skiagm_DEFINED
9 #define skiagm_DEFINED 9 #define skiagm_DEFINED
10 10
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkBitmapDevice.h"
13 #include "SkCanvas.h" 12 #include "SkCanvas.h"
14 #include "SkPaint.h" 13 #include "SkPaint.h"
15 #include "SkSize.h" 14 #include "SkSize.h"
16 #include "SkString.h" 15 #include "SkString.h"
17 #include "SkTRegistry.h" 16 #include "SkTRegistry.h"
18 17
19 #if SK_SUPPORT_GPU 18 #if SK_SUPPORT_GPU
20 #include "GrContext.h" 19 #include "GrContext.h"
21 #endif 20 #endif
22 21
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 SkColor fBGColor; 131 SkColor fBGColor;
133 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp 132 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp
134 bool fHaveCalledOnceBeforeDraw; 133 bool fHaveCalledOnceBeforeDraw;
135 SkMatrix fStarterMatrix; 134 SkMatrix fStarterMatrix;
136 }; 135 };
137 136
138 typedef SkTRegistry<GM*(*)(void*)> GMRegistry; 137 typedef SkTRegistry<GM*(*)(void*)> GMRegistry;
139 } 138 }
140 139
141 #endif 140 #endif
OLDNEW
« no previous file with comments | « gm/gammatext.cpp ('k') | gm/imagefiltersclipped.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698