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 | 5 // Temporary forwarding header |
6 #ifndef CCRenderSurfaceFilters_h | 6 #include "cc/render_surface_filters.h" |
7 #define CCRenderSurfaceFilters_h | |
8 | |
9 #if USE(ACCELERATED_COMPOSITING) | |
10 | |
11 class GrContext; | |
12 class SkBitmap; | |
13 | |
14 namespace WebKit { | |
15 class WebFilterOperations; | |
16 class WebGraphicsContext3D; | |
17 } | |
18 | |
19 namespace cc { | |
20 class FloatSize; | |
21 | |
22 class CCRenderSurfaceFilters { | |
23 public: | |
24 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t
extureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*); | |
25 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation
s& filters); | |
26 | |
27 private: | |
28 CCRenderSurfaceFilters(); | |
29 }; | |
30 | |
31 } | |
32 #endif // USE(ACCELERATED_COMPOSITING) | |
33 | |
34 #endif | |
OLD | NEW |