Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40527

LinuxFB: support for BGR format

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.2.0, 5.2.1, 5.3.1, 6.5.5
    • QPA: LinuxFB
    • Custom Embedded Linux distro, TI AM335x CPU which uses BGR format in 24bit configuration

    Description

      Linux FB plugin currently does not support BGR pixel format.

      The Linux FB plugin assumes always that the pixel format is RGB. QLinuxFbScreen class contains checks for BGR configuration but those checks do not actually change the data written to FB.
      Attached is a patch which "works for me", I'm not sure it is the correct approach for handling all the cases. I tested it only on a 24bit FB.

      Notes:

      • I think in Qt4 this feature was implemented and could be enabled by an option called littleendian (or similar)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            infopipe Bernhard Breinbauer
            Votes:
            6 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes