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.
5 #ifndef CC_APPEND_QUADS_DATA_H_
6 #define CC_APPEND_QUADS_DATA_H_
8 #include "cc/render_pass.h"
12 struct AppendQuadsData
{
14 : hadOcclusionFromOutsideTargetSurface(false)
15 , hadMissingTiles(false)
20 explicit AppendQuadsData(RenderPass::Id renderPassId
)
21 : hadOcclusionFromOutsideTargetSurface(false)
22 , hadMissingTiles(false)
23 , renderPassId(renderPassId
)
27 // Set by the QuadCuller.
28 bool hadOcclusionFromOutsideTargetSurface
;
29 // Set by the layer appending quads.
31 // Given to the layer appending quads.
32 const RenderPass::Id renderPassId
;
36 #endif // CC_APPEND_QUADS_DATA_H_