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

Side by Side Diff: cc/append_quads_data.h

Issue 12603013: Part 10 of cc/ directory shuffles: layers (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/animation/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/cc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_APPEND_QUADS_DATA_H_
6 #define CC_APPEND_QUADS_DATA_H_
7
8 #include "base/basictypes.h"
9 #include "cc/quads/render_pass.h"
10
11 namespace cc {
12
13 struct AppendQuadsData {
14 AppendQuadsData()
15 : hadOcclusionFromOutsideTargetSurface(false)
16 , hadIncompleteTile(false)
17 , numMissingTiles(0)
18 , renderPassId(0, 0)
19 {
20 }
21
22 explicit AppendQuadsData(RenderPass::Id renderPassId)
23 : hadOcclusionFromOutsideTargetSurface(false)
24 , hadIncompleteTile(false)
25 , numMissingTiles(0)
26 , renderPassId(renderPassId)
27 {
28 }
29
30 // Set by the QuadCuller.
31 bool hadOcclusionFromOutsideTargetSurface;
32 // Set by the layer appending quads.
33 bool hadIncompleteTile;
34 // Set by the layer appending quads.
35 int64 numMissingTiles;
36 // Given to the layer appending quads.
37 const RenderPass::Id renderPassId;
38 };
39
40 }
41 #endif // CC_APPEND_QUADS_DATA_H_
OLDNEW
« no previous file with comments | « cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698