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

Side by Side Diff: cc/quads/render_pass.cc

Issue 15435003: cc: Add CopyAsBitmapRequest class to hold the readback callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nolint Created 7 years, 7 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/quads/render_pass.h ('k') | cc/quads/render_pass_unittest.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 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/quads/render_pass.h" 5 #include "cc/quads/render_pass.h"
6 6
7 #include "cc/output/copy_output_request.h"
7 #include "cc/quads/draw_quad.h" 8 #include "cc/quads/draw_quad.h"
8 #include "cc/quads/shared_quad_state.h" 9 #include "cc/quads/shared_quad_state.h"
9 10
10 namespace cc { 11 namespace cc {
11 12
12 scoped_ptr<RenderPass> RenderPass::Create() { 13 scoped_ptr<RenderPass> RenderPass::Create() {
13 return make_scoped_ptr(new RenderPass); 14 return make_scoped_ptr(new RenderPass);
14 } 15 }
15 16
16 RenderPass::RenderPass() 17 RenderPass::RenderPass()
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 this->transform_to_root_target = transform_to_root_target; 63 this->transform_to_root_target = transform_to_root_target;
63 this->has_transparent_background = has_transparent_background; 64 this->has_transparent_background = has_transparent_background;
64 this->has_occlusion_from_outside_target_surface = 65 this->has_occlusion_from_outside_target_surface =
65 has_occlusion_from_outside_target_surface; 66 has_occlusion_from_outside_target_surface;
66 67
67 DCHECK(quad_list.empty()); 68 DCHECK(quad_list.empty());
68 DCHECK(shared_quad_state_list.empty()); 69 DCHECK(shared_quad_state_list.empty());
69 } 70 }
70 71
71 } // namespace cc 72 } // namespace cc
OLDNEW
« no previous file with comments | « cc/quads/render_pass.h ('k') | cc/quads/render_pass_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698