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

Side by Side Diff: gm/xfermodes3.cpp

Issue 1905383002: Retract SkDevice a bit more (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 | « gm/srcmode.cpp ('k') | include/core/SkImageFilter.h » ('j') | 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 2013 Google Inc. 2 * Copyright 2013 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 "gm.h" 8 #include "gm.h"
9 #include "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkGradientShader.h" 10 #include "SkGradientShader.h"
11 #include "SkSurface.h" 11 #include "SkSurface.h"
12 #include "SkXfermode.h" 12 #include "SkXfermode.h"
13 #include "SkColorPriv.h" 13 #include "SkColorPriv.h"
14 14
15 #if SK_SUPPORT_GPU 15 #if SK_SUPPORT_GPU
16 #include "GrContext.h" 16 #include "GrContext.h"
17 #include "SkGpuDevice.h"
18 #endif 17 #endif
19 18
20 namespace skiagm { 19 namespace skiagm {
21 20
22 /** 21 /**
23 * This tests drawing device-covering rects with solid colors and bitmap shaders over a 22 * This tests drawing device-covering rects with solid colors and bitmap shaders over a
24 * checkerboard background using different xfermodes. 23 * checkerboard background using different xfermodes.
25 */ 24 */
26 class Xfermodes3GM : public GM { 25 class Xfermodes3GM : public GM {
27 public: 26 public:
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 sk_sp<SkShader> fBmpShader; 221 sk_sp<SkShader> fBmpShader;
223 222
224 typedef GM INHERITED; 223 typedef GM INHERITED;
225 }; 224 };
226 225
227 ////////////////////////////////////////////////////////////////////////////// 226 //////////////////////////////////////////////////////////////////////////////
228 227
229 DEF_GM(return new Xfermodes3GM;) 228 DEF_GM(return new Xfermodes3GM;)
230 229
231 } 230 }
OLDNEW
« no previous file with comments | « gm/srcmode.cpp ('k') | include/core/SkImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698