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 22 matching lines...) Expand all Loading... |
33 namespace cc { | 33 namespace cc { |
34 | 34 |
35 class BeginFrameSource; | 35 class BeginFrameSource; |
36 class DirectRenderer; | 36 class DirectRenderer; |
37 class DisplayClient; | 37 class DisplayClient; |
38 class OutputSurface; | 38 class OutputSurface; |
39 class RendererSettings; | 39 class RendererSettings; |
40 class ResourceProvider; | 40 class ResourceProvider; |
41 class SharedBitmapManager; | 41 class SharedBitmapManager; |
42 class SoftwareRenderer; | 42 class SoftwareRenderer; |
43 class Surface; | |
44 class SurfaceAggregator; | 43 class SurfaceAggregator; |
45 class SurfaceIdAllocator; | |
46 class SurfaceFactory; | |
47 class TextureMailboxDeleter; | 44 class TextureMailboxDeleter; |
48 | 45 |
49 // A Display produces a surface that can be used to draw to a physical display | 46 // A Display produces a surface that can be used to draw to a physical display |
50 // (OutputSurface). The client is responsible for creating and sizing the | 47 // (OutputSurface). The client is responsible for creating and sizing the |
51 // surface IDs used to draw into the display and deciding when to draw. | 48 // surface IDs used to draw into the display and deciding when to draw. |
52 class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, | 49 class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
53 public OutputSurfaceClient, | 50 public OutputSurfaceClient, |
54 public SurfaceObserver { | 51 public SurfaceObserver { |
55 public: | 52 public: |
56 // The |begin_frame_source| and |scheduler| may be null (together). In that | 53 // The |begin_frame_source| and |scheduler| may be null (together). In that |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 SoftwareRenderer* software_renderer_ = nullptr; | 127 SoftwareRenderer* software_renderer_ = nullptr; |
131 std::vector<ui::LatencyInfo> stored_latency_info_; | 128 std::vector<ui::LatencyInfo> stored_latency_info_; |
132 | 129 |
133 private: | 130 private: |
134 DISALLOW_COPY_AND_ASSIGN(Display); | 131 DISALLOW_COPY_AND_ASSIGN(Display); |
135 }; | 132 }; |
136 | 133 |
137 } // namespace cc | 134 } // namespace cc |
138 | 135 |
139 #endif // CC_SURFACES_DISPLAY_H_ | 136 #endif // CC_SURFACES_DISPLAY_H_ |
OLD | NEW |