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

Side by Side Diff: gm/drawbitmaprect.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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 | « dm/DM.cpp ('k') | gm/drawminibitmaprect.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 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 "SkBlurMask.h" 9 #include "SkBlurMask.h"
10 #include "SkBlurMaskFilter.h" 10 #include "SkBlurMaskFilter.h"
11 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
12 #include "SkGradientShader.h" 12 #include "SkGradientShader.h"
13 #include "SkImage.h" 13 #include "SkImage.h"
14 #include "SkImage_Base.h" 14 #include "SkImage_Base.h"
15 #include "SkMathPriv.h"
15 #include "SkShader.h" 16 #include "SkShader.h"
16 #include "SkSurface.h" 17 #include "SkSurface.h"
17 18
18 #if SK_SUPPORT_GPU 19 #if SK_SUPPORT_GPU
19 #include "SkGr.h" 20 #include "SkGr.h"
20 #endif 21 #endif
21 22
22 static SkBitmap make_chessbm(int w, int h) { 23 static SkBitmap make_chessbm(int w, int h) {
23 SkBitmap bm; 24 SkBitmap bm;
24 bm.allocN32Pixels(w, h); 25 bm.allocN32Pixels(w, h);
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 canvas->drawBitmapRect(bm, srcRect, dstRect, &paint); 220 canvas->drawBitmapRect(bm, srcRect, dstRect, &paint);
220 } 221 }
221 } 222 }
222 223
223 private: 224 private:
224 typedef skiagm::GM INHERITED; 225 typedef skiagm::GM INHERITED;
225 }; 226 };
226 227
227 DEF_GM( return new DrawBitmapRectGM(canvasproc, nullptr); ) 228 DEF_GM( return new DrawBitmapRectGM(canvasproc, nullptr); )
228 DEF_GM( return new DrawBitmapRectGM(imageproc, "-imagerect"); ) 229 DEF_GM( return new DrawBitmapRectGM(imageproc, "-imagerect"); )
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | gm/drawminibitmaprect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698