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

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

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

Powered by Google App Engine
This is Rietveld 408576698