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

Side by Side Diff: cc/render_surface_filters.h

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd 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/prioritized_texture_unittest.cc ('k') | cc/render_surface_filters.cc » ('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 class GrContext; 9 class GrContext;
10 class SkBitmap; 10 class SkBitmap;
11 11
12 namespace gfx {
13 class SizeF;
14 }
15
12 namespace WebKit { 16 namespace WebKit {
13 class WebFilterOperations; 17 class WebFilterOperations;
14 class WebGraphicsContext3D; 18 class WebGraphicsContext3D;
15 } 19 }
16 20
17 namespace cc { 21 namespace cc {
18 class FloatSize;
19 22
20 class RenderSurfaceFilters { 23 class RenderSurfaceFilters {
21 public: 24 public:
22 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const FloatSize&, WebKit::WebGraphicsContext3D*, GrContext*); 25 static SkBitmap apply(const WebKit::WebFilterOperations& filters, unsigned t extureId, const gfx::SizeF&, WebKit::WebGraphicsContext3D*, GrContext*);
23 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters); 26 static WebKit::WebFilterOperations optimize(const WebKit::WebFilterOperation s& filters);
24 27
25 private: 28 private:
26 RenderSurfaceFilters(); 29 RenderSurfaceFilters();
27 }; 30 };
28 31
29 } 32 }
30 #endif 33 #endif
OLDNEW
« no previous file with comments | « cc/prioritized_texture_unittest.cc ('k') | cc/render_surface_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698