Switch primary plane format from RGB to BGR on ChromeOS. |
||
Issue descriptionThe current format used by chrome on chromeos for the output surface is gfx::BufferFormat::BGRX_8888. Buffers coming from Android via Wayland are DRM_FORMAT_XBGR8888 (gfx::BufferFormat::RGBX_8888). In order to avoid GL compositing when those buffers could be used directly with drmModePageFlip we'd like to switch the format to gfx::BufferFormat::RGBX_8888 to match the Android buffers. This is necessary since on many devices it's not possible to switch to a different format when drmModePageFlip is called. NOTE: In https://codereview.chromium.org/2254103002/ we allow ozone to set framebuffers with different formats since we know that works on certain arm devices. That hack should go away once we address this issue.
,
Jan 11
You started fixing this bug over two years ago. Are you still working on it?
,
Jan 14
We can dynamically flip from RGB to BGR on platforms where we use drm atomic, so switching the primary format to match android format for the benefit described in this bug is not useful anymore. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 25 2016