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

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

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 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/test/pixel_test.h ('k') | cc/test/skia_common.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 #include "cc/test/render_pass_test_utils.h" 5 #include "cc/test/render_pass_test_utils.h"
6 6
7 #include "cc/quads/render_pass_draw_quad.h" 7 #include "cc/quads/render_pass_draw_quad.h"
8 #include "cc/quads/shared_quad_state.h" 8 #include "cc/quads/shared_quad_state.h"
9 #include "cc/quads/solid_color_draw_quad.h" 9 #include "cc/quads/solid_color_draw_quad.h"
10 #include "cc/resources/resource_provider.h" 10 #include "cc/resources/resource_provider.h"
11 #include "cc/test/render_pass_test_common.h" 11 #include "cc/test/render_pass_test_common.h"
12 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
13 #include "third_party/skia/include/core/SkImageFilter.h" 13 #include "third_party/skia/include/core/SkImageFilter.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 TestRenderPass* AddRenderPass(RenderPassList* pass_list, 18 TestRenderPass* AddRenderPass(RenderPassList* pass_list,
19 RenderPassId id, 19 RenderPassId id,
20 const gfx::Rect& output_rect, 20 const gfx::Rect& output_rect,
21 const gfx::Transform& root_transform) { 21 const gfx::Transform& root_transform) {
22 scoped_ptr<TestRenderPass> pass(TestRenderPass::Create()); 22 scoped_ptr<TestRenderPass> pass(TestRenderPass::Create());
23 pass->SetNew(id, output_rect, output_rect, root_transform); 23 pass->SetNew(id, output_rect, output_rect, root_transform);
24 TestRenderPass* saved = pass.get(); 24 TestRenderPass* saved = pass.get();
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 contributing_pass->id, 132 contributing_pass->id,
133 mask_resource_id, 133 mask_resource_id,
134 gfx::Vector2dF(1.f, 1.f), 134 gfx::Vector2dF(1.f, 1.f),
135 arbitrary_nonzero_size, 135 arbitrary_nonzero_size,
136 filters, 136 filters,
137 gfx::Vector2dF(), 137 gfx::Vector2dF(),
138 FilterOperations()); 138 FilterOperations());
139 } 139 }
140 140
141 } // namespace cc 141 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/pixel_test.h ('k') | cc/test/skia_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698