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

Unified Diff: ui/ozone/platform/drm/gpu/drm_buffer.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_buffer.h ('k') | ui/ozone/platform/drm/gpu/drm_overlay_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_buffer.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_buffer.cc b/ui/ozone/platform/drm/gpu/drm_buffer.cc
index 17bc5d3bca72038c4ae04e114fc6150939e9e2cd..d511661b78b2379f84271aeea7029c2ba68e2dec 100644
--- a/ui/ozone/platform/drm/gpu/drm_buffer.cc
+++ b/ui/ozone/platform/drm/gpu/drm_buffer.cc
@@ -99,6 +99,14 @@ uint32_t DrmBuffer::GetFramebufferPixelFormat() const {
return fb_pixel_format_;
}
+uint32_t DrmBuffer::GetOpaqueFramebufferId() const {
+ return framebuffer_;
+}
+
+uint32_t DrmBuffer::GetOpaqueFramebufferPixelFormat() const {
+ return fb_pixel_format_;
+}
+
uint32_t DrmBuffer::GetHandle() const {
return handle_;
}
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_buffer.h ('k') | ui/ozone/platform/drm/gpu/drm_overlay_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698