OLD | NEW |
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 Loading... |
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 "platform/graphics/filters/SkiaImageFilterBuilder.h" | 27 #include "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 "SkDropShadowImageFilter.h" | |
33 #include "SkMatrixImageFilter.h" | 32 #include "SkMatrixImageFilter.h" |
34 #include "SkTableColorFilter.h" | 33 #include "SkTableColorFilter.h" |
35 #include "platform/graphics/ImageBuffer.h" | 34 #include "platform/graphics/ImageBuffer.h" |
36 #include "platform/graphics/filters/FilterEffect.h" | 35 #include "platform/graphics/filters/FilterEffect.h" |
37 #include "platform/graphics/filters/FilterOperations.h" | 36 #include "platform/graphics/filters/FilterOperations.h" |
38 #include "platform/graphics/filters/SourceGraphic.h" | 37 #include "platform/graphics/filters/SourceGraphic.h" |
39 #include "platform/graphics/skia/SkiaUtils.h" | 38 #include "platform/graphics/skia/SkiaUtils.h" |
40 #include "public/platform/WebPoint.h" | 39 #include "public/platform/WebPoint.h" |
41 | 40 |
42 namespace blink { | 41 namespace blink { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 filters->appendReferenceFilter(filter.get()); | 184 filters->appendReferenceFilter(filter.get()); |
186 } | 185 } |
187 } | 186 } |
188 | 187 |
189 PassRefPtr<SkImageFilter> SkiaImageFilterBuilder::buildTransform(const AffineTra
nsform& transform, SkImageFilter* input) | 188 PassRefPtr<SkImageFilter> SkiaImageFilterBuilder::buildTransform(const AffineTra
nsform& transform, SkImageFilter* input) |
190 { | 189 { |
191 return adoptRef(SkMatrixImageFilter::Create(affineTransformToSkMatrix(transf
orm), SkPaint::kHigh_FilterLevel, input)); | 190 return adoptRef(SkMatrixImageFilter::Create(affineTransformToSkMatrix(transf
orm), SkPaint::kHigh_FilterLevel, input)); |
192 } | 191 } |
193 | 192 |
194 } // namespace blink | 193 } // namespace blink |
OLD | NEW |