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
9 #if USE(ACCELERATED_COMPOSITING)
15 class WebFilterOperations
;
16 class WebGraphicsContext3D
;
22 class CCRenderSurfaceFilters
{
24 static SkBitmap
apply(const WebKit::WebFilterOperations
& filters
, unsigned textureId
, const FloatSize
&, WebKit::WebGraphicsContext3D
*, GrContext
*);
25 static WebKit::WebFilterOperations
optimize(const WebKit::WebFilterOperations
& filters
);
28 CCRenderSurfaceFilters();
32 #endif // USE(ACCELERATED_COMPOSITING)