Fix build break
[chromium-blink-merge.git] / cc / output / render_surface_filters.h
blob494204c71ff985d2e381f1c904911ef764e918fb
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
3 // found in the LICENSE file.
6 #ifndef CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
7 #define CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
9 #include "base/basictypes.h"
10 #include "cc/base/cc_export.h"
12 class GrContext;
13 class SkBitmap;
15 namespace gfx {
16 class SizeF;
19 namespace WebKit {
20 class WebFilterOperations;
23 namespace cc {
25 class CC_EXPORT RenderSurfaceFilters {
26 public:
27 static SkBitmap Apply(const WebKit::WebFilterOperations& filters,
28 unsigned texture_id,
29 gfx::SizeF size,
30 GrContext* gr_context);
31 static WebKit::WebFilterOperations Optimize(
32 const WebKit::WebFilterOperations& filters);
34 private:
35 DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);
38 } // namespace cc
40 #endif // CC_OUTPUT_RENDER_SURFACE_FILTERS_H_