Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1478

QSafeBitmapResourceReader does not check if the bitmap is already loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • QSR 2.0 RC1
    • QSR 1.2, QSR 2.0
    • Runtime
    • None
    • Sprint 24 Week 21, Sprint 25 Week 22

    Description

      There is no check in the resource reader if the bitmap is already loaded or not.
      The file reader class has the proper checking. The data overhead is not big because the resource reader does not load the data but just sets the pointer to the data section where the bitmap data is located.
      The end result is that Constraints::MAX_AMOUNT_OF_BITMAPS get overrun when you are having the case where that same bitmap files and used in the several item transitions).

      Attachments

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

        Activity

          People

            teemu.holappa Teemu Holappa
            teemu.holappa Teemu Holappa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes