| 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_COMMON_DRM_UTIL_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ | 6 #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // connection to the DRM device and |index| provides a unique identifier for the | 50 // connection to the DRM device and |index| provides a unique identifier for the |
| 51 // display. |index| will be used to generate the display id (it may be the id if | 51 // display. |index| will be used to generate the display id (it may be the id if |
| 52 // the monitor's EDID lacks the necessary identifiers). | 52 // the monitor's EDID lacks the necessary identifiers). |
| 53 DisplaySnapshot_Params CreateDisplaySnapshotParams( | 53 DisplaySnapshot_Params CreateDisplaySnapshotParams( |
| 54 HardwareDisplayControllerInfo* info, | 54 HardwareDisplayControllerInfo* info, |
| 55 int fd, | 55 int fd, |
| 56 size_t display_index, | 56 size_t display_index, |
| 57 const gfx::Point& origin); | 57 const gfx::Point& origin); |
| 58 | 58 |
| 59 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); | 59 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); |
| 60 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); |
| 60 | 61 |
| 61 } // namespace ui | 62 } // namespace ui |
| 62 | 63 |
| 63 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ | 64 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |
| OLD | NEW |