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

Side by Side Diff: cc/layers/draw_properties.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/layers/delegated_renderer_layer_impl_unittest.cc ('k') | cc/layers/heads_up_display_layer.h » ('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 CC_DRAW_PROPERTIES_H_ 5 #ifndef CC_LAYERS_DRAW_PROPERTIES_H_
6 #define CC_DRAW_PROPERTIES_H_ 6 #define CC_LAYERS_DRAW_PROPERTIES_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 #include "ui/gfx/transform.h" 10 #include "ui/gfx/transform.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 // Container for properties that layers need to compute before they can be 14 // Container for properties that layers need to compute before they can be
15 // drawn. 15 // drawn.
16 template<typename LayerType, typename RenderSurfaceType> 16 template<typename LayerType, typename RenderSurfaceType>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Does not include this layer itself, only its children and descendants. 89 // Does not include this layer itself, only its children and descendants.
90 int num_descendants_that_draw_content; 90 int num_descendants_that_draw_content;
91 91
92 // If true, every descendant in the sub-tree can clip itself without the 92 // If true, every descendant in the sub-tree can clip itself without the
93 // need to use hardware sissoring or a new render target. 93 // need to use hardware sissoring or a new render target.
94 bool descendants_can_clip_selves; 94 bool descendants_can_clip_selves;
95 }; 95 };
96 96
97 } // namespace cc 97 } // namespace cc
98 98
99 #endif // CC_DRAW_PROPERTIES_H_ 99 #endif // CC_LAYERS_DRAW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl_unittest.cc ('k') | cc/layers/heads_up_display_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698