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

Expand QGLShaderProgram API for Qt 4.7

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 4.7.0
    • None
    • GUI: OpenGL
    • None
    • 5cff63b217118e087a6cbd1f27c2a28be83374bb

    Description

      Attributes and uniforms

      • Matrix overloads for setUniformValue() with 2x2 and 3x3 GLfloat arrays. [Done: 5cff63b2]
      • Generic setAttributeArray() that can set the type to GL_FLOAT, GL_UNSIGNED_BYTE, etc. [Done: 5cff63b2]
      • Setting matrices on attributes; e.g. GLfloat m[4][4]; setAttributeValue(attr, m); [Not needed: setAttributeValue() has an override that can already do this].
      • Setting attributes to vertex buffer offsets. [Done: 5cff63b2]
      • Enumerate list of attributes and uniforms.

      Shader compilation

      • hasShaderCompiler() to query the GL_SHADER_COMPILER option to glGet().
      • Binary shader/program API's (see also QTBUG-7490).

      Cross-program scenarios

      • Attribute enablement state tracking to avoid unnecessary enable/disable calls.
      • Attribute setting that is disconnected from a specific program.

      Attachments

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

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes