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_RENDER_SURFACE_FILTERS_H_
7 #define CC_RENDER_SURFACE_FILTERS_H_
9 #include "cc/cc_export.h"
19 class WebFilterOperations
;
20 class WebGraphicsContext3D
;
25 class CC_EXPORT RenderSurfaceFilters
{
27 static SkBitmap
apply(const WebKit::WebFilterOperations
& filters
, unsigned textureId
, const gfx::SizeF
&, WebKit::WebGraphicsContext3D
*, GrContext
*);
28 static WebKit::WebFilterOperations
optimize(const WebKit::WebFilterOperations
& filters
);
31 RenderSurfaceFilters();
35 #endif // CC_RENDER_SURFACE_FILTERS_H_