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

Side by Side Diff: cc/render_pass.cc

Issue 11777025: cc: Implement DelegatingRender::drawFrame() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for-landing Created 7 years, 11 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/render_pass.h ('k') | cc/render_pass_draw_quad.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/render_pass.h" 5 #include "cc/render_pass.h"
6 6
7 #include "cc/draw_quad.h"
8 #include "cc/shared_quad_state.h"
9
7 namespace cc { 10 namespace cc {
8 11
9 scoped_ptr<RenderPass> RenderPass::Create() { 12 scoped_ptr<RenderPass> RenderPass::Create() {
10 return make_scoped_ptr(new RenderPass); 13 return make_scoped_ptr(new RenderPass);
11 } 14 }
12 15
13 RenderPass::RenderPass() 16 RenderPass::RenderPass()
14 : id(Id(-1, -1)), 17 : id(Id(-1, -1)),
15 has_transparent_background(true), 18 has_transparent_background(true),
16 has_occlusion_from_outside_target_surface(false) { 19 has_occlusion_from_outside_target_surface(false) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 this->transform_to_root_target = transform_to_root_target; 66 this->transform_to_root_target = transform_to_root_target;
64 this->has_transparent_background = has_transparent_background; 67 this->has_transparent_background = has_transparent_background;
65 this->has_occlusion_from_outside_target_surface = 68 this->has_occlusion_from_outside_target_surface =
66 has_occlusion_from_outside_target_surface; 69 has_occlusion_from_outside_target_surface;
67 70
68 DCHECK(quad_list.empty()); 71 DCHECK(quad_list.empty());
69 DCHECK(shared_quad_state_list.empty()); 72 DCHECK(shared_quad_state_list.empty());
70 } 73 }
71 74
72 } // namespace cc 75 } // namespace cc
OLDNEW
« no previous file with comments | « cc/render_pass.h ('k') | cc/render_pass_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698