Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: cc/render_surface_filters.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win?? Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #ifndef CCRenderSurfaceFilters_h 6 #ifndef CCRenderSurfaceFilters_h
7 #define CCRenderSurfaceFilters_h 7 #define CCRenderSurfaceFilters_h
8 8
9 #include "cc/cc_export.h"
10
9 class GrContext; 11 class GrContext;
10 class SkBitmap; 12 class SkBitmap;
11 13
12 namespace WebKit { 14 namespace WebKit {
13 class WebFilterOperations; 15 class WebFilterOperations;
14 class WebGraphicsContext3D; 16 class WebGraphicsContext3D;
15 } 17 }
16 18
17 namespace cc { 19 namespace cc {
18 class FloatSize; 20 class FloatSize;
19 21
20 class RenderSurfaceFilters { 22 class CC_EXPORT RenderSurfaceFilters {
21 public: 23 public:
22 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*); 24 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*);
23 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters); 25 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters);
24 26
25 private: 27 private:
26 RenderSurfaceFilters(); 28 RenderSurfaceFilters();
27 }; 29 };
28 30
29 } 31 }
30 #endif 32 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698