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

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

Issue 12603013: Part 10 of cc/ directory shuffles: layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/occlusion_tracker_test_common.h ('k') | cc/test/tiled_layer_test_common.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 #include "cc/test/render_pass_test_utils.h" 5 #include "cc/test/render_pass_test_utils.h"
6 6
7 #include "cc/append_quads_data.h" 7 #include "cc/layers/append_quads_data.h"
8 #include "cc/quad_sink.h" 8 #include "cc/layers/quad_sink.h"
9 #include "cc/quads/render_pass_draw_quad.h" 9 #include "cc/quads/render_pass_draw_quad.h"
10 #include "cc/quads/shared_quad_state.h" 10 #include "cc/quads/shared_quad_state.h"
11 #include "cc/quads/solid_color_draw_quad.h" 11 #include "cc/quads/solid_color_draw_quad.h"
12 #include "cc/test/mock_quad_culler.h" 12 #include "cc/test/mock_quad_culler.h"
13 #include "cc/test/render_pass_test_common.h" 13 #include "cc/test/render_pass_test_common.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 TestRenderPass* addRenderPass(RenderPassList& passList, 18 TestRenderPass* addRenderPass(RenderPassList& passList,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 quadSink.UseSharedQuadState(SharedQuadState::Create()); 65 quadSink.UseSharedQuadState(SharedQuadState::Create());
66 sharedState->SetAll(gfx::Transform(), outputRect.size(), outputRect, outputRec t, false, 1); 66 sharedState->SetAll(gfx::Transform(), outputRect.size(), outputRect, outputRec t, false, 1);
67 scoped_ptr<RenderPassDrawQuad> quad = RenderPassDrawQuad::Create(); 67 scoped_ptr<RenderPassDrawQuad> quad = RenderPassDrawQuad::Create();
68 quad->SetNew(sharedState, outputRect, contributingPass->id, false, 0, 68 quad->SetNew(sharedState, outputRect, contributingPass->id, false, 0,
69 outputRect, gfx::RectF(), WebKit::WebFilterOperations(), 69 outputRect, gfx::RectF(), WebKit::WebFilterOperations(),
70 skia::RefPtr<SkImageFilter>(), WebKit::WebFilterOperations()); 70 skia::RefPtr<SkImageFilter>(), WebKit::WebFilterOperations());
71 quadSink.Append(quad.PassAs<DrawQuad>(), &data); 71 quadSink.Append(quad.PassAs<DrawQuad>(), &data);
72 } 72 }
73 73
74 } // namespace cc 74 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/occlusion_tracker_test_common.h ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698