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

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

Issue 12471007: Part 8 of cc/ directory shuffles: resources (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/pixel_test.cc ('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_common.h" 5 #include "cc/test/render_pass_test_common.h"
6 6
7 #include "cc/quads/checkerboard_draw_quad.h" 7 #include "cc/quads/checkerboard_draw_quad.h"
8 #include "cc/quads/debug_border_draw_quad.h" 8 #include "cc/quads/debug_border_draw_quad.h"
9 #include "cc/quads/io_surface_draw_quad.h" 9 #include "cc/quads/io_surface_draw_quad.h"
10 #include "cc/quads/render_pass_draw_quad.h" 10 #include "cc/quads/render_pass_draw_quad.h"
11 #include "cc/quads/shared_quad_state.h" 11 #include "cc/quads/shared_quad_state.h"
12 #include "cc/quads/solid_color_draw_quad.h" 12 #include "cc/quads/solid_color_draw_quad.h"
13 #include "cc/quads/stream_video_draw_quad.h" 13 #include "cc/quads/stream_video_draw_quad.h"
14 #include "cc/quads/texture_draw_quad.h" 14 #include "cc/quads/texture_draw_quad.h"
15 #include "cc/quads/tile_draw_quad.h" 15 #include "cc/quads/tile_draw_quad.h"
16 #include "cc/quads/yuv_video_draw_quad.h" 16 #include "cc/quads/yuv_video_draw_quad.h"
17 #include "cc/resource_provider.h" 17 #include "cc/resources/resource_provider.h"
18 #include "ui/gfx/transform.h" 18 #include "ui/gfx/transform.h"
19 19
20 namespace cc { 20 namespace cc {
21 21
22 void TestRenderPass::AppendQuad(scoped_ptr<cc::DrawQuad> quad) { 22 void TestRenderPass::AppendQuad(scoped_ptr<cc::DrawQuad> quad) {
23 quad_list.push_back(quad.Pass()); 23 quad_list.push_back(quad.Pass());
24 } 24 }
25 25
26 void TestRenderPass::AppendSharedQuadState( 26 void TestRenderPass::AppendSharedQuadState(
27 scoped_ptr<cc::SharedQuadState> state) { 27 scoped_ptr<cc::SharedQuadState> state) {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 planes[0], 221 planes[0],
222 planes[1], 222 planes[1],
223 planes[2]); 223 planes[2]);
224 AppendQuad(yuv_quad.PassAs<DrawQuad>()); 224 AppendQuad(yuv_quad.PassAs<DrawQuad>());
225 225
226 AppendSharedQuadState(transformed_state.Pass()); 226 AppendSharedQuadState(transformed_state.Pass());
227 AppendSharedQuadState(shared_state.Pass()); 227 AppendSharedQuadState(shared_state.Pass());
228 } 228 }
229 229
230 } // namespace cc 230 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/pixel_test.cc ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698