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

Expand QGLShaderProgram API for Qt 4.7

XMLWordPrintable

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

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes