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

QGLContext::drawTexture() does not work on N900

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.6.2
    • GUI: OpenGL
    • None
    • Maemo Fremantle
    • ae09e6a14dce54190758428a9ea369cd28d36d30

    Description

      void QGLContext::drawTexture const QPointF & point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D) does not work on Maemo/OpenGL ES 2.0. In API documentation it is said that it does not work on OpenGL ES but no version is specified. QRectF version specifies version 2.0 in documentation so I assume that QPointF works atleast on ES 2.0

      Also there is really odd comment in qgl.cpp in the beginning of drawTexture:
      // this would be ok on OpenGL ES 2.0, but currently we don't have a define for that

      Why is it caged as #ifdef QT_OPENGL_ES and not #if defined (QT_OPENGL_ES) and !defined(QT_OPENGL_ES_2) ?

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            jarkko-personal Jarkko Sakkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes