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" | |
6 | |
7 #include "cc/render_surface_filters.h" | 5 #include "cc/render_surface_filters.h" |
8 | 6 |
9 #include "base/logging.h" | 7 #include "base/logging.h" |
10 #include "third_party/skia/include/core/SkCanvas.h" | 8 #include "third_party/skia/include/core/SkCanvas.h" |
11 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 9 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
12 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 10 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
13 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" | 11 #include "third_party/skia/include/effects/SkMagnifierImageFilter.h" |
14 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 12 #include "third_party/skia/include/gpu/SkGpuDevice.h" |
15 #include "third_party/skia/include/gpu/SkGrPixelRef.h" | 13 #include "third_party/skia/include/gpu/SkGrPixelRef.h" |
16 #include "ui/gfx/size_f.h" | 14 #include "ui/gfx/size_f.h" |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 NOTREACHED(); | 432 NOTREACHED(); |
435 break; | 433 break; |
436 } | 434 } |
437 state.swap(); | 435 state.swap(); |
438 } | 436 } |
439 context3D->flush(); | 437 context3D->flush(); |
440 return state.source(); | 438 return state.source(); |
441 } | 439 } |
442 | 440 |
443 } // namespace cc | 441 } // namespace cc |
OLD | NEW |