| Index: cc/render_surface_filters.h
|
| diff --git a/cc/render_surface_filters.h b/cc/render_surface_filters.h
|
| index 638cbb270ce9b24689d5095baf174ade4f4d1a13..cd199b5679a69d5f82acda80f938cd23e286e1a7 100644
|
| --- a/cc/render_surface_filters.h
|
| +++ b/cc/render_surface_filters.h
|
| @@ -1,3 +1,34 @@
|
| // Copyright 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| +
|
| +
|
| +#ifndef CCRenderSurfaceFilters_h
|
| +#define CCRenderSurfaceFilters_h
|
| +
|
| +#if USE(ACCELERATED_COMPOSITING)
|
| +
|
| +class GrContext;
|
| +class SkBitmap;
|
| +
|
| +namespace WebKit {
|
| +class WebFilterOperations;
|
| +class WebGraphicsContext3D;
|
| +}
|
| +
|
| +namespace cc {
|
| +class FloatSize;
|
| +
|
| +class CCRenderSurfaceFilters {
|
| +public:
|
| + static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned textureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*);
|
| + static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperations& filters);
|
| +
|
| +private:
|
| + CCRenderSurfaceFilters();
|
| +};
|
| +
|
| +}
|
| +#endif // USE(ACCELERATED_COMPOSITING)
|
| +
|
| +#endif
|
|
|