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

GL_REPEAT and non-power-of-2 textures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • GUI: OpenGL
    • None
    • Maemo6 + IMG DDK 1.5

    Description

      I have been testing IMG's 1.5 SGX drivers and might have found an issue in Qt.
      In the attached application+screenshot, the same text is displayed in different font sizes. Only one size of text will result in a power-of-2 texture and display correctly.

      The problem is that, as per the GLES2 spec, and as implemented in v1.5 of the IMG SGX drivers, it is an error to create a non-power-of-2 texture with GL_REPEAT wrap mode, and the texture will turn opaque black.

      I know that you are already aware of this issue, and provided some fixes elsewhere in Qt's GLES2 engine ; do you know why GL_CLAMP_TO_EDGE was not used instead here ?

      Attachments

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

        Activity

          People

            tcooksey Tom Cooksey
            pyb Pierre-Yves Baccou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes