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

Side by Side Diff: src/core/SkBitmapDevice.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « src/core/SkBitmap.cpp ('k') | src/core/SkBitmapFilter.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 "SkBitmapDevice.h" 8 #include "SkBitmapDevice.h"
9 #include "SkConfig8888.h" 9 #include "SkConfig8888.h"
10 #include "SkDraw.h" 10 #include "SkDraw.h"
11 #include "SkMatrix.h"
12 #include "SkPaint.h"
13 #include "SkPath.h"
11 #include "SkPixelRef.h" 14 #include "SkPixelRef.h"
12 #include "SkRasterClip.h" 15 #include "SkPixmap.h"
13 #include "SkShader.h" 16 #include "SkShader.h"
14 #include "SkSurface.h" 17 #include "SkSurface.h"
18 #include "SkXfermode.h"
19
20 class SkColorTable;
15 21
16 #define CHECK_FOR_ANNOTATION(paint) \ 22 #define CHECK_FOR_ANNOTATION(paint) \
17 do { if (paint.getAnnotation()) { return; } } while (0) 23 do { if (paint.getAnnotation()) { return; } } while (0)
18 24
19 static bool valid_for_bitmap_device(const SkImageInfo& info, 25 static bool valid_for_bitmap_device(const SkImageInfo& info,
20 SkAlphaType* newAlphaType) { 26 SkAlphaType* newAlphaType) {
21 if (info.width() < 0 || info.height() < 0) { 27 if (info.width() < 0 || info.height() < 0) {
22 return false; 28 return false;
23 } 29 }
24 30
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 paint.getRasterizer() || 380 paint.getRasterizer() ||
375 paint.getPathEffect() || 381 paint.getPathEffect() ||
376 paint.isFakeBoldText() || 382 paint.isFakeBoldText() ||
377 paint.getStyle() != SkPaint::kFill_Style || 383 paint.getStyle() != SkPaint::kFill_Style ||
378 !SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)) 384 !SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode))
379 { 385 {
380 return true; 386 return true;
381 } 387 }
382 return false; 388 return false;
383 } 389 }
OLDNEW
« no previous file with comments | « src/core/SkBitmap.cpp ('k') | src/core/SkBitmapFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698