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

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

Issue 2716123003: DON'T REVIEW: Hack to get alpha overlays. (Closed)
Patch Set: Created 3 years, 10 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 | « cc/output/overlay_candidate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/gbm_buffer_base.cc
diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer_base.cc b/ui/ozone/platform/drm/gpu/gbm_buffer_base.cc
index eb0b9009349fef71bfba41624f5deacaa660bd94..6d242b3109f9d8379a0efaf9a670e5d473c78739 100644
--- a/ui/ozone/platform/drm/gpu/gbm_buffer_base.cc
+++ b/ui/ozone/platform/drm/gpu/gbm_buffer_base.cc
@@ -24,8 +24,8 @@ GbmBufferBase::GbmBufferBase(const scoped_refptr<GbmDevice>& drm,
// The framebuffer format might be different than the format:
// drm supports 24 bit color depth and formats with alpha will
// be converted to one without it.
- framebuffer_pixel_format_ =
- GetFourCCFormatForFramebuffer(GetBufferFormatFromFourCCFormat(format));
+ framebuffer_pixel_format_ = format;
+ // GetFourCCFormatForFramebuffer(GetBufferFormatFromFourCCFormat(format));
// TODO(dcastagna): Add multi-planar support.
uint32_t handles[4] = {0};
« no previous file with comments | « cc/output/overlay_candidate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698