Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_display_mode.h

Issue 1129923004: [1/2][Ozone-Drm] Refactor GPU display management (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@handle-display-init2
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_display.cc ('k') | ui/ozone/platform/drm/gpu/drm_display_mode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_MODE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_MODE_H_
7
8 #include <stdint.h>
9 #include <stdlib.h>
10 #include <xf86drmMode.h>
11
12 #include "ui/display/types/display_mode.h"
13
14 namespace ui {
15
16 class DrmDisplayMode : public DisplayMode {
17 public:
18 DrmDisplayMode(const drmModeModeInfo& mode);
19 ~DrmDisplayMode() override;
20
21 // Native details about this mode. Only used internally in the DRM
22 // implementation.
23 drmModeModeInfo mode_info() const { return mode_info_; }
24
25 private:
26 drmModeModeInfo mode_info_;
27
28 DISALLOW_COPY_AND_ASSIGN(DrmDisplayMode);
29 };
30
31 } // namespace ui
32
33 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_MODE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_display.cc ('k') | ui/ozone/platform/drm/gpu/drm_display_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698