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

Side by Side Diff: cc/CCAppendQuadsData.h

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 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/CCDamageTrackerTest.cpp » ('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 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 CCAppendQuadsData_h 5 #ifndef CCAppendQuadsData_h
6 #define CCAppendQuadsData_h 6 #define CCAppendQuadsData_h
7 7
8 #include "CCRenderPass.h"
9
8 namespace cc { 10 namespace cc {
9 11
10 struct CCAppendQuadsData { 12 struct CCAppendQuadsData {
11 CCAppendQuadsData() 13 CCAppendQuadsData()
12 : hadOcclusionFromOutsideTargetSurface(false) 14 : hadOcclusionFromOutsideTargetSurface(false)
13 , hadMissingTiles(false) 15 , hadMissingTiles(false)
16 , renderPassId(0, 0)
14 { 17 {
15 } 18 }
16 19
20 explicit CCAppendQuadsData(CCRenderPass::Id renderPassId)
21 : hadOcclusionFromOutsideTargetSurface(false)
22 , hadMissingTiles(false)
23 , renderPassId(renderPassId)
24 {
25 }
26
17 // Set by the QuadCuller. 27 // Set by the QuadCuller.
18 bool hadOcclusionFromOutsideTargetSurface; 28 bool hadOcclusionFromOutsideTargetSurface;
19 // Set by the layer appending quads. 29 // Set by the layer appending quads.
20 bool hadMissingTiles; 30 bool hadMissingTiles;
31 // Given to the layer appending quads.
32 const CCRenderPass::Id renderPassId;
21 }; 33 };
22 34
23 } 35 }
24 #endif // CCCCAppendQuadsData_h 36 #endif // CCCCAppendQuadsData_h
OLDNEW
« no previous file with comments | « no previous file | cc/CCDamageTrackerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698