| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 DisplaySnapshot_Params CreateDisplaySnapshotParams( | 59 DisplaySnapshot_Params CreateDisplaySnapshotParams( |
| 60 HardwareDisplayControllerInfo* info, | 60 HardwareDisplayControllerInfo* info, |
| 61 int fd, | 61 int fd, |
| 62 const base::FilePath& sys_path, | 62 const base::FilePath& sys_path, |
| 63 size_t device_index, | 63 size_t device_index, |
| 64 const gfx::Point& origin); | 64 const gfx::Point& origin); |
| 65 | 65 |
| 66 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); | 66 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); |
| 67 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); | 67 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); |
| 68 | 68 |
| 69 int GetFourCCFormatForFramebuffer(gfx::BufferFormat format); | 69 int GetFourCCFormatForOpaqueFramebuffer(gfx::BufferFormat format); |
| 70 | 70 |
| 71 gfx::Size GetMaximumCursorSize(int fd); | 71 gfx::Size GetMaximumCursorSize(int fd); |
| 72 | 72 |
| 73 } // namespace ui | 73 } // namespace ui |
| 74 | 74 |
| 75 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ | 75 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |
| OLD | NEW |