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

Optimise convert_Indexed8_to_X32

    XMLWordPrintable

Details

    Description

      Hello,
      I have profiled the Tiled based game, most of the performance lost are here, the chain of slow down:
      QPixmap::fromImage()
      QImage::convertToFormat(QImage::Format, QFlags<Qt::ImageConversionFlag>)
      convert_Indexed8_to_X32(QImageData *, QImageData const *, QFlags<Qt::ImageConversionFlag>)
      After split into 2 calls:
      fix_color_table(QVector<unsigned int> const &, QImage::Format)
      QVector<unsigned int>::at()

      Why so many QVector call?

      Cheers,

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            alpha_one_x86 BRULE Herman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes