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 UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 gfx::Point cursor_location_; | 127 gfx::Point cursor_location_; |
128 int cursor_frame_ = 0; | 128 int cursor_frame_ = 0; |
129 int cursor_frame_delay_ms_ = 0; | 129 int cursor_frame_delay_ms_ = 0; |
130 | 130 |
131 // Planes and flips currently being queued in the absence of hardware display | 131 // Planes and flips currently being queued in the absence of hardware display |
132 // controller. | 132 // controller. |
133 OverlayPlaneList pending_planes_; | 133 OverlayPlaneList pending_planes_; |
134 OverlayPlaneList last_submitted_planes_; | 134 OverlayPlaneList last_submitted_planes_; |
135 bool last_swap_sync_ = false; | 135 bool last_swap_sync_ = false; |
136 | 136 |
| 137 bool force_buffer_reallocation_ = false; |
| 138 |
137 DISALLOW_COPY_AND_ASSIGN(DrmWindow); | 139 DISALLOW_COPY_AND_ASSIGN(DrmWindow); |
138 }; | 140 }; |
139 | 141 |
140 } // namespace ui | 142 } // namespace ui |
141 | 143 |
142 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ | 144 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_H_ |
OLD | NEW |