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

Side by Side Diff: cc/output/render_surface_filters.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « cc/output/overlay_strategy_single_on_top.h ('k') | cc/output/renderer.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 CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 6 #ifndef CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
7 #define CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 7 #define CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "cc/base/cc_export.h"
11 #include "skia/ext/refptr.h" 10 #include "skia/ext/refptr.h"
12 11
13 class GrContext; 12 class GrContext;
14 class SkBitmap; 13 class SkBitmap;
15 class SkImageFilter; 14 class SkImageFilter;
16 15
17 namespace gfx { 16 namespace gfx {
18 class SizeF; 17 class SizeF;
19 } 18 }
20 19
21 namespace cc { 20 namespace cc {
22 21
23 class FilterOperations; 22 class FilterOperations;
24 23
25 class CC_EXPORT RenderSurfaceFilters { 24 class RenderSurfaceFilters {
26 public: 25 public:
27 static SkBitmap Apply(const FilterOperations& filters, 26 static SkBitmap Apply(const FilterOperations& filters,
28 unsigned texture_id, 27 unsigned texture_id,
29 const gfx::SizeF& size, 28 const gfx::SizeF& size,
30 GrContext* gr_context); 29 GrContext* gr_context);
31 static FilterOperations Optimize(const FilterOperations& filters); 30 static FilterOperations Optimize(const FilterOperations& filters);
32 31
33 static skia::RefPtr<SkImageFilter> BuildImageFilter( 32 static skia::RefPtr<SkImageFilter> BuildImageFilter(
34 const FilterOperations& filters, 33 const FilterOperations& filters,
35 const gfx::SizeF& size); 34 const gfx::SizeF& size);
36 35
37 private: 36 private:
38 DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters); 37 DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);
39 }; 38 };
40 39
41 } // namespace cc 40 } // namespace cc
42 41
43 #endif // CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 42 #endif // CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_strategy_single_on_top.h ('k') | cc/output/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698