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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // connection to the DRM device. | 54 // connection to the DRM device. |
55 DisplaySnapshot_Params CreateDisplaySnapshotParams( | 55 DisplaySnapshot_Params CreateDisplaySnapshotParams( |
56 HardwareDisplayControllerInfo* info, | 56 HardwareDisplayControllerInfo* info, |
57 int fd, | 57 int fd, |
58 size_t device_index, | 58 size_t device_index, |
59 const gfx::Point& origin); | 59 const gfx::Point& origin); |
60 | 60 |
61 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); | 61 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); |
62 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); | 62 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); |
63 | 63 |
| 64 int GetFourCCFormatForFramebuffer(gfx::BufferFormat format); |
| 65 |
64 } // namespace ui | 66 } // namespace ui |
65 | 67 |
66 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ | 68 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |
OLD | NEW |