OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCRenderSurfaceFilters.h" | 7 #include "cc/render_surface_filters.h" |
8 | 8 |
| 9 #include "FloatSize.h" |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "FloatSize.h" | |
11 #include "third_party/skia/include/core/SkCanvas.h" | 11 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 12 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
13 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 13 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
14 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" | 14 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" |
15 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 15 #include "third_party/skia/include/gpu/SkGpuDevice.h" |
16 #include "third_party/skia/include/gpu/SkGrPixelRef.h" | 16 #include "third_party/skia/include/gpu/SkGrPixelRef.h" |
17 #include <public/WebFilterOperation.h> | 17 #include <public/WebFilterOperation.h> |
18 #include <public/WebFilterOperations.h> | 18 #include <public/WebFilterOperations.h> |
19 #include <public/WebGraphicsContext3D.h> | 19 #include <public/WebGraphicsContext3D.h> |
20 #include <wtf/MathExtras.h> | 20 #include <wtf/MathExtras.h> |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 NOTREACHED(); | 435 NOTREACHED(); |
436 break; | 436 break; |
437 } | 437 } |
438 state.swap(); | 438 state.swap(); |
439 } | 439 } |
440 context3D->flush(); | 440 context3D->flush(); |
441 return state.source(); | 441 return state.source(); |
442 } | 442 } |
443 | 443 |
444 } | 444 } |
OLD | NEW |