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

Unified Diff: ui/ozone/platform/drm/gpu/drm_display_snapshot.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_display_mode.cc ('k') | ui/ozone/platform/drm/gpu/drm_display_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_display_snapshot.h
diff --git a/ui/ozone/platform/drm/gpu/drm_display_snapshot.h b/ui/ozone/platform/drm/gpu/drm_display_snapshot.h
deleted file mode 100644
index 664e522c173d7822ffb0a6094f8f5a0bc3be6fe6..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/drm/gpu/drm_display_snapshot.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
-#define UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
-
-#include "base/memory/ref_counted.h"
-#include "ui/display/types/display_snapshot.h"
-#include "ui/ozone/platform/drm/common/scoped_drm_types.h"
-
-namespace ui {
-
-class DrmDevice;
-
-class DrmDisplaySnapshot : public DisplaySnapshot {
- public:
- DrmDisplaySnapshot(const scoped_refptr<DrmDevice>& drm,
- drmModeConnector* connector,
- drmModeCrtc* crtc,
- uint32_t index);
- ~DrmDisplaySnapshot() override;
-
- scoped_refptr<DrmDevice> drm() const { return drm_; }
- // Native properties of a display used by the DRM implementation in
- // configuring this display.
- uint32_t connector() const { return connector_; }
- uint32_t crtc() const { return crtc_; }
-
- // DisplaySnapshot overrides:
- std::string ToString() const override;
-
- private:
- scoped_refptr<DrmDevice> drm_;
- uint32_t connector_;
- uint32_t crtc_;
- std::string name_;
- bool overscan_flag_;
-
- DISALLOW_COPY_AND_ASSIGN(DrmDisplaySnapshot);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_display_mode.cc ('k') | ui/ozone/platform/drm/gpu/drm_display_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698