| 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 "cc/output/render_surface_filters.h" | 5 #include "cc/output/render_surface_filters.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "skia/ext/refptr.h" | 10 #include "skia/ext/refptr.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperation.
h" | 11 #include "third_party/WebKit/public/platform/WebFilterOperation.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 12 #include "third_party/WebKit/public/platform/WebFilterOperations.h" |
| 13 #include "third_party/skia/include/core/SkCanvas.h" | 13 #include "third_party/skia/include/core/SkCanvas.h" |
| 14 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 14 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
| 15 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 15 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
| 16 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" | 16 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" |
| 17 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 17 #include "third_party/skia/include/gpu/SkGpuDevice.h" |
| 18 #include "third_party/skia/include/gpu/SkGrPixelRef.h" | 18 #include "third_party/skia/include/gpu/SkGrPixelRef.h" |
| 19 #include "ui/gfx/size_f.h" | 19 #include "ui/gfx/size_f.h" |
| 20 | 20 |
| 21 namespace cc { | 21 namespace cc { |
| 22 | 22 |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 case WebKit::WebFilterOperation::FilterTypeOpacity: | 454 case WebKit::WebFilterOperation::FilterTypeOpacity: |
| 455 NOTREACHED(); | 455 NOTREACHED(); |
| 456 break; | 456 break; |
| 457 } | 457 } |
| 458 state.Swap(); | 458 state.Swap(); |
| 459 } | 459 } |
| 460 return state.Source(); | 460 return state.Source(); |
| 461 } | 461 } |
| 462 | 462 |
| 463 } // namespace cc | 463 } // namespace cc |
| OLD | NEW |