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

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

Issue 2743403005: ozone: Add an opaque fb to ScanoutBuffer for primary planes. (Closed)
Patch Set: Replace PrimaryPlane with Opaque. Created 3 years, 9 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 | « no previous file | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 DisplaySnapshot_Params CreateDisplaySnapshotParams( 59 DisplaySnapshot_Params CreateDisplaySnapshotParams(
60 HardwareDisplayControllerInfo* info, 60 HardwareDisplayControllerInfo* info,
61 int fd, 61 int fd,
62 const base::FilePath& sys_path, 62 const base::FilePath& sys_path,
63 size_t device_index, 63 size_t device_index,
64 const gfx::Point& origin); 64 const gfx::Point& origin);
65 65
66 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); 66 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format);
67 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); 67 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format);
68 68
69 int GetFourCCFormatForFramebuffer(gfx::BufferFormat format); 69 int GetFourCCFormatForOpaqueFramebuffer(gfx::BufferFormat format);
70 70
71 gfx::Size GetMaximumCursorSize(int fd); 71 gfx::Size GetMaximumCursorSize(int fd);
72 72
73 } // namespace ui 73 } // namespace ui
74 74
75 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ 75 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698