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

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

Issue 308193003: Removed QuadSink and MockQuadCuller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumLayerImpl
Patch Set: rebase Created 6 years, 6 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/mock_quad_culler.cc ('k') | cc/trees/layer_tree_host_impl.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/layers/quad_sink.h"
8 #include "cc/quads/render_pass_draw_quad.h" 7 #include "cc/quads/render_pass_draw_quad.h"
9 #include "cc/quads/shared_quad_state.h" 8 #include "cc/quads/shared_quad_state.h"
10 #include "cc/quads/solid_color_draw_quad.h" 9 #include "cc/quads/solid_color_draw_quad.h"
11 #include "cc/resources/resource_provider.h" 10 #include "cc/resources/resource_provider.h"
12 #include "cc/test/render_pass_test_common.h" 11 #include "cc/test/render_pass_test_common.h"
13 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
14 #include "third_party/skia/include/core/SkImageFilter.h" 13 #include "third_party/skia/include/core/SkImageFilter.h"
15 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
16 15
17 namespace cc { 16 namespace cc {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 false, 133 false,
135 mask_resource_id, 134 mask_resource_id,
136 output_rect, 135 output_rect,
137 gfx::RectF(), 136 gfx::RectF(),
138 filters, 137 filters,
139 FilterOperations()); 138 FilterOperations());
140 to_pass->AppendDrawQuad(quad.PassAs<DrawQuad>()); 139 to_pass->AppendDrawQuad(quad.PassAs<DrawQuad>());
141 } 140 }
142 141
143 } // namespace cc 142 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/mock_quad_culler.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698