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

Side by Side Diff: Source/core/platform/graphics/filters/SkiaImageFilterBuilder.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 #include "config.h" 25 #include "config.h"
26 26
27 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" 27 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h"
28 28
29 #include "SkBlurImageFilter.h" 29 #include "SkBlurImageFilter.h"
30 #include "SkColorFilterImageFilter.h" 30 #include "SkColorFilterImageFilter.h"
31 #include "SkColorMatrixFilter.h" 31 #include "SkColorMatrixFilter.h"
32 #include "SkMatrix.h"
33 #include "core/platform/graphics/filters/DropShadowImageFilter.h" 32 #include "core/platform/graphics/filters/DropShadowImageFilter.h"
34 #include "core/platform/graphics/filters/FilterEffect.h" 33 #include "core/platform/graphics/filters/FilterEffect.h"
35 #include "core/platform/graphics/filters/FilterOperations.h" 34 #include "core/platform/graphics/filters/FilterOperations.h"
36 35
37 namespace { 36 namespace {
38 37
39 void getBrightnessMatrix(float amount, SkScalar matrix[20]) 38 void getBrightnessMatrix(float amount, SkScalar matrix[20])
40 { 39 {
41 memset(matrix, 0, 20 * sizeof(SkScalar)); 40 memset(matrix, 0, 20 * sizeof(SkScalar));
42 matrix[0] = matrix[6] = matrix[12] = amount; 41 matrix[0] = matrix[6] = matrix[12] = amount;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // Not supported. 262 // Not supported.
264 case FilterOperation::PASSTHROUGH: 263 case FilterOperation::PASSTHROUGH:
265 case FilterOperation::NONE: 264 case FilterOperation::NONE:
266 break; 265 break;
267 } 266 }
268 } 267 }
269 return filter.detach(); 268 return filter.detach();
270 } 269 }
271 270
272 }; 271 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698