| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_GFX_OZONE_IMPL_HARDWARE_DISPLAY_CONTROLLER_H_ | 5 #ifndef UI_GFX_OZONE_DRI_HARDWARE_DISPLAY_CONTROLLER_H_ |
| 6 #define UI_GFX_OZONE_IMPL_HARDWARE_DISPLAY_CONTROLLER_H_ | 6 #define UI_GFX_OZONE_DRI_HARDWARE_DISPLAY_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <xf86drmMode.h> | 10 #include <xf86drmMode.h> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "ui/gfx/ozone/impl/dri_wrapper.h" | 15 #include "ui/gfx/ozone/dri/dri_wrapper.h" |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 | 18 |
| 19 class DriSurface; | 19 class DriSurface; |
| 20 | 20 |
| 21 // The HDCOz will handle modesettings and scannout operations for hardware | 21 // The HDCOz will handle modesettings and scannout operations for hardware |
| 22 // devices. | 22 // devices. |
| 23 // | 23 // |
| 24 // In the DRM world there are 3 components that need to be paired up to be able | 24 // In the DRM world there are 3 components that need to be paired up to be able |
| 25 // to display an image to the monitor: CRTC (cathode ray tube controller), | 25 // to display an image to the monitor: CRTC (cathode ray tube controller), |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 State state_; | 164 State state_; |
| 165 | 165 |
| 166 scoped_ptr<DriSurface> surface_; | 166 scoped_ptr<DriSurface> surface_; |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayController); | 168 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayController); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace gfx | 171 } // namespace gfx |
| 172 | 172 |
| 173 #endif // UI_GFX_OZONE_IMPL_HARDWARE_DISPLAY_CONTROLLER_H_ | 173 #endif // UI_GFX_OZONE_DRI_HARDWARE_DISPLAY_CONTROLLER_H_ |
| OLD | NEW |