// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/wayland/gpu/drm_render_node_handle.h" #include <fcntl.h> #include <xf86drm.h> #include "base/logging.h" namespace ui { namespace { struct DrmVersionDeleter { … }; ScopedDrmVersionPtr; } // namespace DrmRenderNodeHandle::DrmRenderNodeHandle() = default; DrmRenderNodeHandle::~DrmRenderNodeHandle() = default; bool DrmRenderNodeHandle::Initialize(const base::FilePath& path) { … } base::ScopedFD DrmRenderNodeHandle::PassFD() { … } } // namespace ui