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

Side by Side Diff: ui/ozone/platform/drm/common/drm_util.h

Issue 1422563002: [Ozone] Enables overlay render format setting path and by default use UYVY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
6 #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ 6 #define UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // connection to the DRM device and |index| provides a unique identifier for the 50 // connection to the DRM device and |index| provides a unique identifier for the
51 // display. |index| will be used to generate the display id (it may be the id if 51 // display. |index| will be used to generate the display id (it may be the id if
52 // the monitor's EDID lacks the necessary identifiers). 52 // the monitor's EDID lacks the necessary identifiers).
53 DisplaySnapshot_Params CreateDisplaySnapshotParams( 53 DisplaySnapshot_Params CreateDisplaySnapshotParams(
54 HardwareDisplayControllerInfo* info, 54 HardwareDisplayControllerInfo* info,
55 int fd, 55 int fd,
56 size_t display_index, 56 size_t display_index,
57 const gfx::Point& origin); 57 const gfx::Point& origin);
58 58
59 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); 59 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format);
60 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format);
60 61
61 } // namespace ui 62 } // namespace ui
62 63
63 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ 64 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698