Chromium Code Reviews| Index: ui/ozone/platform/drm/common/drm_util.h |
| diff --git a/ui/ozone/platform/drm/common/drm_util.h b/ui/ozone/platform/drm/common/drm_util.h |
| index 9ea934b27e56db304da642bdeee5c6952ae73fe8..75fea7be449ce4e803ed3425916db8a8d3c67db6 100644 |
| --- a/ui/ozone/platform/drm/common/drm_util.h |
| +++ b/ui/ozone/platform/drm/common/drm_util.h |
| @@ -8,6 +8,7 @@ |
| #include "base/files/file_path.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_vector.h" |
| +#include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
| #include "ui/ozone/platform/drm/common/scoped_drm_types.h" |
| typedef struct _drmModeModeInfo drmModeModeInfo; |
| @@ -39,6 +40,16 @@ ScopedVector<HardwareDisplayControllerInfo> GetAvailableDisplayControllerInfos( |
| bool SameMode(const drmModeModeInfo& lhs, const drmModeModeInfo& rhs); |
| +DisplayMode_Params CreateDisplayModeParams(const drmModeModeInfo& mode); |
| + |
| +// |info| provides the DRM information related to the display, |fd| is the |
| +// connection to the DRM device and |index| provides a unique identifier for the |
| +// display. |index| will be used to create the display id. |
|
spang
2015/05/12 16:58:53
s/will be used/may be used... if no other identifi
dnicoara
2015/05/12 18:05:02
Added more details. It actually is used even if we
|
| +DisplaySnapshot_Params CreateDisplaySnapshotParams( |
| + HardwareDisplayControllerInfo* info, |
| + int fd, |
| + size_t index); |
|
spang
2015/05/12 16:58:53
display_index
dnicoara
2015/05/12 18:05:02
Done.
|
| + |
| } // namespace ui |
| #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ |