Don't consider a Bluetooth adapter present until it has an address.
[chromium-blink-merge.git] / cc / CCRenderSurfaceFilters.h
blob92cd7161e16128732a3ef536f93d612f8afa3b82
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)
11 class GrContext;
12 class SkBitmap;
14 namespace WebKit {
15 class WebFilterOperations;
16 class WebGraphicsContext3D;
19 namespace WebCore {
20 class FloatSize;
22 class CCRenderSurfaceFilters {
23 public:
24 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned textureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*);
25 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperations& filters);
27 private:
28 CCRenderSurfaceFilters();
32 #endif // USE(ACCELERATED_COMPOSITING)
34 #endif