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

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

Issue 2803913004: cc: Introduce embedded_surfaces in metadata for surface Ids in draw quads (Closed)
Patch Set: Addressed Dana's comments Created 3 years, 8 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
« no previous file with comments | « cc/layers/append_quads_data.cc ('k') | cc/layers/picture_layer_impl.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 namespace base { 44 namespace base {
45 namespace trace_event { 45 namespace trace_event {
46 class ConvertableToTraceFormat; 46 class ConvertableToTraceFormat;
47 class TracedValue; 47 class TracedValue;
48 } 48 }
49 class DictionaryValue; 49 class DictionaryValue;
50 } 50 }
51 51
52 namespace cc { 52 namespace cc {
53 53
54 class AppendQuadsData;
54 class LayerTreeImpl; 55 class LayerTreeImpl;
55 class MicroBenchmarkImpl; 56 class MicroBenchmarkImpl;
56 class MutatorHost; 57 class MutatorHost;
57 class PrioritizedTile; 58 class PrioritizedTile;
58 class RenderPass; 59 class RenderPass;
59 class ScrollbarLayerImplBase; 60 class ScrollbarLayerImplBase;
60 class SimpleEnclosedRegion; 61 class SimpleEnclosedRegion;
61 class Tile; 62 class Tile;
62 63
63 struct AppendQuadsData;
64 64
65 enum DrawMode { 65 enum DrawMode {
66 DRAW_MODE_NONE, 66 DRAW_MODE_NONE,
67 DRAW_MODE_HARDWARE, 67 DRAW_MODE_HARDWARE,
68 DRAW_MODE_SOFTWARE, 68 DRAW_MODE_SOFTWARE,
69 DRAW_MODE_RESOURCELESS_SOFTWARE 69 DRAW_MODE_RESOURCELESS_SOFTWARE
70 }; 70 };
71 71
72 class CC_EXPORT LayerImpl { 72 class CC_EXPORT LayerImpl {
73 public: 73 public:
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar 561 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar
562 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation. 562 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation.
563 bool needs_show_scrollbars_ : 1; 563 bool needs_show_scrollbars_ : 1;
564 564
565 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 565 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
566 }; 566 };
567 567
568 } // namespace cc 568 } // namespace cc
569 569
570 #endif // CC_LAYERS_LAYER_IMPL_H_ 570 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/append_quads_data.cc ('k') | cc/layers/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698