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

LinuxFB: support for BGR format

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0, 5.2.1, 5.3.1
    • Fix Version/s: None
    • Component/s: QPA: LinuxFB
    • Environment:

      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

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            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