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

Side by Side Diff: cc/test/render_pass_test_utils.h

Issue 21154002: Add support for converting cc::FilterOperations into an SkImageFilter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/render_pass_test_common.cc ('k') | cc/test/render_pass_test_utils.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 #ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_ 5 #ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_
6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_ 6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_
7 7
8 #include "cc/base/scoped_ptr_vector.h" 8 #include "cc/base/scoped_ptr_vector.h"
9 #include "cc/output/filter_operations.h"
9 #include "cc/quads/render_pass.h" 10 #include "cc/quads/render_pass.h"
10 #include "cc/resources/resource_provider.h" 11 #include "cc/resources/resource_provider.h"
11 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
12 13
13 namespace gfx { 14 namespace gfx {
14 class Rect; 15 class Rect;
15 class Transform; 16 class Transform;
16 } 17 }
17 18
18 namespace cc { 19 namespace cc {
(...skipping 26 matching lines...) Expand all
45 const gfx::Transform& transform); 46 const gfx::Transform& transform);
46 47
47 // Adds a render pass quad to an existing render pass. 48 // Adds a render pass quad to an existing render pass.
48 void AddRenderPassQuad(TestRenderPass* to_pass, 49 void AddRenderPassQuad(TestRenderPass* to_pass,
49 TestRenderPass* contributing_pass); 50 TestRenderPass* contributing_pass);
50 51
51 // Adds a render pass quad with the given mask resource, filter, and transform. 52 // Adds a render pass quad with the given mask resource, filter, and transform.
52 void AddRenderPassQuad(TestRenderPass* toPass, 53 void AddRenderPassQuad(TestRenderPass* toPass,
53 TestRenderPass* contributing_pass, 54 TestRenderPass* contributing_pass,
54 ResourceProvider::ResourceId mask_resource_id, 55 ResourceProvider::ResourceId mask_resource_id,
55 skia::RefPtr<SkImageFilter> filter, 56 const FilterOperations& filters,
56 gfx::Transform transform); 57 gfx::Transform transform);
57 58
58 } // namespace cc 59 } // namespace cc
59 60
60 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_ 61 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « cc/test/render_pass_test_common.cc ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698