| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SURFACES_SURFACE_AGGREGATOR_H_ | 5 #ifndef CC_SURFACES_SURFACE_AGGREGATOR_H_ |
| 6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_ | 6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <unordered_map> |
| 9 | 10 |
| 10 #include "base/containers/flat_map.h" | 11 #include "base/containers/flat_map.h" |
| 11 #include "base/containers/flat_set.h" | 12 #include "base/containers/flat_set.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "cc/quads/draw_quad.h" | 15 #include "cc/quads/draw_quad.h" |
| 15 #include "cc/quads/render_pass.h" | 16 #include "cc/quads/render_pass.h" |
| 16 #include "cc/resources/transferable_resource.h" | 17 #include "cc/resources/transferable_resource.h" |
| 17 #include "cc/surfaces/surface_id.h" | 18 #include "cc/surfaces/surface_id.h" |
| 18 #include "cc/surfaces/surfaces_export.h" | 19 #include "cc/surfaces/surfaces_export.h" |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 SurfaceDrawQuadUmaStats uma_stats_; | 207 SurfaceDrawQuadUmaStats uma_stats_; |
| 207 | 208 |
| 208 base::WeakPtrFactory<SurfaceAggregator> weak_factory_; | 209 base::WeakPtrFactory<SurfaceAggregator> weak_factory_; |
| 209 | 210 |
| 210 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); | 211 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace cc | 214 } // namespace cc |
| 214 | 215 |
| 215 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ | 216 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ |
| OLD | NEW |