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

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: rebase 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
« no previous file with comments | « cc/render_surface.h ('k') | cc/render_surface_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 gfx { 14 namespace gfx {
13 class SizeF; 15 class SizeF;
14 } 16 }
15 17
16 namespace WebKit { 18 namespace WebKit {
17 class WebFilterOperations; 19 class WebFilterOperations;
18 class WebGraphicsContext3D; 20 class WebGraphicsContext3D;
19 } 21 }
20 22
21 namespace cc { 23 namespace cc {
22 24
23 class RenderSurfaceFilters { 25 class CC_EXPORT RenderSurfaceFilters {
24 public: 26 public:
25 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const gfx::SizeF&, WebKit::WebGraphicsContext3D*, GrContext*); 27 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const gfx::SizeF&, WebKit::WebGraphicsContext3D*, GrContext*);
26 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters); 28 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters);
27 29
28 private: 30 private:
29 RenderSurfaceFilters(); 31 RenderSurfaceFilters();
30 }; 32 };
31 33
32 } 34 }
33 #endif 35 #endif
OLDNEW
« no previous file with comments | « cc/render_surface.h ('k') | cc/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698