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

Side by Side Diff: cc/layers/append_quads_data.h

Issue 14417014: cc: Add tile-free software compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
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 #ifndef CC_LAYERS_APPEND_QUADS_DATA_H_ 5 #ifndef CC_LAYERS_APPEND_QUADS_DATA_H_
6 #define CC_LAYERS_APPEND_QUADS_DATA_H_ 6 #define CC_LAYERS_APPEND_QUADS_DATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/quads/render_pass.h" 9 #include "cc/quads/render_pass.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 struct AppendQuadsData { 13 struct AppendQuadsData {
14 AppendQuadsData() 14 AppendQuadsData()
15 : had_occlusion_from_outside_target_surface(false), 15 : cannot_append_tile_draw_quads(false),
16 had_occlusion_from_outside_target_surface(false),
16 had_incomplete_tile(false), 17 had_incomplete_tile(false),
17 num_missing_tiles(0), 18 num_missing_tiles(0),
18 render_pass_id(0, 0) {} 19 render_pass_id(0, 0) {}
19 20
20 explicit AppendQuadsData(RenderPass::Id render_pass_id) 21 explicit AppendQuadsData(RenderPass::Id render_pass_id)
21 : had_occlusion_from_outside_target_surface(false), 22 : cannot_append_tile_draw_quads(false),
23 had_occlusion_from_outside_target_surface(false),
22 had_incomplete_tile(false), 24 had_incomplete_tile(false),
23 num_missing_tiles(0), 25 num_missing_tiles(0),
24 render_pass_id(render_pass_id) {} 26 render_pass_id(render_pass_id) {}
25 27
28 // Set by LayerTreeHostImpl.
29 bool cannot_append_tile_draw_quads;
26 // Set by the QuadCuller. 30 // Set by the QuadCuller.
27 bool had_occlusion_from_outside_target_surface; 31 bool had_occlusion_from_outside_target_surface;
28 // Set by the layer appending quads. 32 // Set by the layer appending quads.
29 bool had_incomplete_tile; 33 bool had_incomplete_tile;
30 // Set by the layer appending quads. 34 // Set by the layer appending quads.
31 int64 num_missing_tiles; 35 int64 num_missing_tiles;
32 // Given to the layer appending quads. 36 // Given to the layer appending quads.
33 const RenderPass::Id render_pass_id; 37 const RenderPass::Id render_pass_id;
34 }; 38 };
35 39
36 } // namespace cc 40 } // namespace cc
37 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_ 41 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698