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

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

Issue 1483633002: ozone: support gfx::BufferFormat::RGBX_8888 as a native pixmap format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gl_image_ozone_native_pixmap also, which gl_unittests check Created 5 years 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // connection to the DRM device. 54 // connection to the DRM device.
55 DisplaySnapshot_Params CreateDisplaySnapshotParams( 55 DisplaySnapshot_Params CreateDisplaySnapshotParams(
56 HardwareDisplayControllerInfo* info, 56 HardwareDisplayControllerInfo* info,
57 int fd, 57 int fd,
58 size_t device_index, 58 size_t device_index,
59 const gfx::Point& origin); 59 const gfx::Point& origin);
60 60
61 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format); 61 int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format);
62 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format); 62 gfx::BufferFormat GetBufferFormatFromFourCCFormat(int format);
63 63
64 int GetFourCCFormatForFramebuffer(gfx::BufferFormat format);
65
64 } // namespace ui 66 } // namespace ui
65 67
66 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_ 68 #endif // UI_OZONE_PLATFORM_DRM_COMMON_DRM_UTIL_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc ('k') | ui/ozone/platform/drm/common/drm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698