| 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_DISPLAY_H_ | 5 #ifndef CC_SURFACES_DISPLAY_H_ |
| 6 #define CC_SURFACES_DISPLAY_H_ | 6 #define CC_SURFACES_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 class GpuMemoryBufferManager; | 25 class GpuMemoryBufferManager; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace gfx { | 28 namespace gfx { |
| 29 class Size; | 29 class Size; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace cc { | 32 namespace cc { |
| 33 | 33 |
| 34 class BeginFrameSource; | 34 class BeginFrameSource; |
| 35 class DirectRenderer; | |
| 36 class DisplayClient; | 35 class DisplayClient; |
| 37 class OutputSurface; | 36 class OutputSurface; |
| 37 class Renderer; |
| 38 class RendererSettings; | 38 class RendererSettings; |
| 39 class ResourceProvider; | 39 class ResourceProvider; |
| 40 class SharedBitmapManager; | 40 class SharedBitmapManager; |
| 41 class Surface; | 41 class Surface; |
| 42 class SurfaceAggregator; | 42 class SurfaceAggregator; |
| 43 class SurfaceIdAllocator; | 43 class SurfaceIdAllocator; |
| 44 class SurfaceFactory; | 44 class SurfaceFactory; |
| 45 class TextureMailboxDeleter; | 45 class TextureMailboxDeleter; |
| 46 | 46 |
| 47 // A Display produces a surface that can be used to draw to a physical display | 47 // A Display produces a surface that can be used to draw to a physical display |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 bool output_is_secure_ = false; | 131 bool output_is_secure_ = false; |
| 132 | 132 |
| 133 // The begin_frame_source_ is often known by the output_surface_ and | 133 // The begin_frame_source_ is often known by the output_surface_ and |
| 134 // the scheduler_. | 134 // the scheduler_. |
| 135 std::unique_ptr<BeginFrameSource> begin_frame_source_; | 135 std::unique_ptr<BeginFrameSource> begin_frame_source_; |
| 136 std::unique_ptr<OutputSurface> output_surface_; | 136 std::unique_ptr<OutputSurface> output_surface_; |
| 137 std::unique_ptr<DisplayScheduler> scheduler_; | 137 std::unique_ptr<DisplayScheduler> scheduler_; |
| 138 std::unique_ptr<ResourceProvider> resource_provider_; | 138 std::unique_ptr<ResourceProvider> resource_provider_; |
| 139 std::unique_ptr<SurfaceAggregator> aggregator_; | 139 std::unique_ptr<SurfaceAggregator> aggregator_; |
| 140 std::unique_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; | 140 std::unique_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; |
| 141 std::unique_ptr<DirectRenderer> renderer_; | 141 std::unique_ptr<Renderer> renderer_; |
| 142 std::vector<ui::LatencyInfo> stored_latency_info_; | 142 std::vector<ui::LatencyInfo> stored_latency_info_; |
| 143 | 143 |
| 144 private: | 144 private: |
| 145 DISALLOW_COPY_AND_ASSIGN(Display); | 145 DISALLOW_COPY_AND_ASSIGN(Display); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace cc | 148 } // namespace cc |
| 149 | 149 |
| 150 #endif // CC_SURFACES_DISPLAY_H_ | 150 #endif // CC_SURFACES_DISPLAY_H_ |
| OLD | NEW |