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 CCRenderSurfaceFilters_h
7 #define CCRenderSurfaceFilters_h
13 class WebFilterOperations
;
14 class WebGraphicsContext3D
;
20 class CCRenderSurfaceFilters
{
22 static SkBitmap
apply(const WebKit::WebFilterOperations
& filters
, unsigned textureId
, const FloatSize
&, WebKit::WebGraphicsContext3D
*, GrContext
*);
23 static WebKit::WebFilterOperations
optimize(const WebKit::WebFilterOperations
& filters
);
26 CCRenderSurfaceFilters();