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

Side by Side Diff: cc/output/delegating_renderer_unittest.cc

Issue 12676029: cc: Fix capitalization style in chromified files. (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/output/delegating_renderer.cc ('k') | cc/output/direct_renderer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/output/delegating_renderer.h" 5 #include "cc/output/delegating_renderer.h"
6 6
7 #include "cc/test/fake_output_surface.h" 7 #include "cc/test/fake_output_surface.h"
8 #include "cc/test/layer_tree_test.h" 8 #include "cc/test/layer_tree_test.h"
9 #include "cc/test/render_pass_test_common.h" 9 #include "cc/test/render_pass_test_common.h"
10 #include "cc/test/render_pass_test_utils.h" 10 #include "cc/test/render_pass_test_utils.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void AfterTest() OVERRIDE {} 88 virtual void AfterTest() OVERRIDE {}
89 89
90 virtual bool PrepareToDrawOnThread( 90 virtual bool PrepareToDrawOnThread(
91 LayerTreeHostImpl* host_impl, 91 LayerTreeHostImpl* host_impl,
92 LayerTreeHostImpl::FrameData* frame, 92 LayerTreeHostImpl::FrameData* frame,
93 bool result) OVERRIDE { 93 bool result) OVERRIDE {
94 94
95 frame->render_passes.clear(); 95 frame->render_passes.clear();
96 frame->render_passes_by_id.clear(); 96 frame->render_passes_by_id.clear();
97 97
98 TestRenderPass* child_pass = addRenderPass( 98 TestRenderPass* child_pass = AddRenderPass(
99 frame->render_passes, 99 frame->render_passes,
100 RenderPass::Id(2, 1), 100 RenderPass::Id(2, 1),
101 gfx::Rect(3, 3, 10, 10), 101 gfx::Rect(3, 3, 10, 10),
102 gfx::Transform()); 102 gfx::Transform());
103 child_pass->AppendOneOfEveryQuadType( 103 child_pass->AppendOneOfEveryQuadType(
104 host_impl->resource_provider(), RenderPass::Id(0, 0)); 104 host_impl->resource_provider(), RenderPass::Id(0, 0));
105 105
106 TestRenderPass* pass = addRenderPass( 106 TestRenderPass* pass = AddRenderPass(
107 frame->render_passes, 107 frame->render_passes,
108 RenderPass::Id(1, 1), 108 RenderPass::Id(1, 1),
109 gfx::Rect(3, 3, 10, 10), 109 gfx::Rect(3, 3, 10, 10),
110 gfx::Transform()); 110 gfx::Transform());
111 pass->AppendOneOfEveryQuadType( 111 pass->AppendOneOfEveryQuadType(
112 host_impl->resource_provider(), child_pass->id); 112 host_impl->resource_provider(), child_pass->id);
113 return true; 113 return true;
114 } 114 }
115 115
116 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { 116 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
(...skipping 10 matching lines...) Expand all
127 EXPECT_EQ( 127 EXPECT_EQ(
128 15u, last_frame.delegated_frame_data->resource_list.size()); 128 15u, last_frame.delegated_frame_data->resource_list.size());
129 129
130 EndTest(); 130 EndTest();
131 } 131 }
132 }; 132 };
133 133
134 SINGLE_AND_MULTI_THREAD_TEST_F(DelegatingRendererTestResources) 134 SINGLE_AND_MULTI_THREAD_TEST_F(DelegatingRendererTestResources)
135 135
136 } // namespace cc 136 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698