// 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/gfx/linux/drm_util_linux.h" #include <drm_fourcc.h> #include "base/logging.h" #include "base/notreached.h" namespace ui { int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format) { … } gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format) { … } bool IsValidBufferFormat(uint32_t current_format) { … } const char* DrmFormatToString(uint32_t format) { … } } // namespace ui