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

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

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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"
14 #include "SkPixelRef.h" 11 #include "SkPixelRef.h"
15 #include "SkPixmap.h" 12 #include "SkRasterClip.h"
16 #include "SkShader.h" 13 #include "SkShader.h"
17 #include "SkSurface.h" 14 #include "SkSurface.h"
18 #include "SkXfermode.h"
19
20 class SkColorTable;
21 15
22 #define CHECK_FOR_ANNOTATION(paint) \ 16 #define CHECK_FOR_ANNOTATION(paint) \
23 do { if (paint.getAnnotation()) { return; } } while (0) 17 do { if (paint.getAnnotation()) { return; } } while (0)
24 18
25 static bool valid_for_bitmap_device(const SkImageInfo& info, 19 static bool valid_for_bitmap_device(const SkImageInfo& info,
26 SkAlphaType* newAlphaType) { 20 SkAlphaType* newAlphaType) {
27 if (info.width() < 0 || info.height() < 0) { 21 if (info.width() < 0 || info.height() < 0) {
28 return false; 22 return false;
29 } 23 }
30 24
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 paint.getRasterizer() || 374 paint.getRasterizer() ||
381 paint.getPathEffect() || 375 paint.getPathEffect() ||
382 paint.isFakeBoldText() || 376 paint.isFakeBoldText() ||
383 paint.getStyle() != SkPaint::kFill_Style || 377 paint.getStyle() != SkPaint::kFill_Style ||
384 !SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)) 378 !SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode))
385 { 379 {
386 return true; 380 return true;
387 } 381 }
388 return false; 382 return false;
389 } 383 }
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