[Differential] [Request, 27 lines] D2134: [platforms/fbdev] Properly detect a BGR image format

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Mon Jul 11 08:56:51 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  If the format of the framebuffer is BGR we cannot create an RGB image
  format from it - the rendering is incorrect. Unfortunately QImage does
  not support a BGR image format.
  
  To solve this problem we still use an RGB image format but on rendering
  the front buffer is rgbSwapped to convert the RGB image to a BGR image.
  
  BUG: 365243
  FIXED-IN: 5.7.1

TEST PLAN
  No way to test this on my system

REPOSITORY
  rKWIN KWin

BRANCH
  fbdev-bgr-5.7

REVISION DETAIL
  https://phabricator.kde.org/D2134

AFFECTED FILES
  plugins/platforms/fbdev/fb_backend.cpp
  plugins/platforms/fbdev/fb_backend.h
  plugins/platforms/fbdev/scene_qpainter_fb_backend.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160711/d30ced6d/attachment.html>


More information about the Plasma-devel mailing list