jogl
  1. jogl
  2. JOGL-71

glMultiDrawElements() is missing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      71

      Description

      glMultiDrawElements is defined as part of the core of OpenGL 1.4 and is not
      provided in the given APIs. Strangely, glMultiDrawArrays() is included, which
      was also introduced in OGL 1.4.

        Activity

        Hide
        kbr added a comment -

        GlueGen needs to be updated to handle the void ** argument that is a parameter
        to this routine.

        Show
        kbr added a comment - GlueGen needs to be updated to handle the void ** argument that is a parameter to this routine.
        Hide
        kbr added a comment -

        Added support to GlueGen to handle pointer-to-pointer types for
        primitive types, like void** and int**. These are exposed as arrays of
        appropriately-typed direct java.nio Buffers for simplicity. Checks for
        whether the buffers are direct are performed and null checks for the
        individual Buffer objects are done as well. Fixed an existing bug in
        the conversion of outgoing char** arguments in C to String[] in Java
        where null checks were missing; this showed up as crashes in
        glShaderSourceARB. Exposed glMultiDrawElements and several other
        less-common entry points taking void** arguments.

        Show
        kbr added a comment - Added support to GlueGen to handle pointer-to-pointer types for primitive types, like void** and int**. These are exposed as arrays of appropriately-typed direct java.nio Buffers for simplicity. Checks for whether the buffers are direct are performed and null checks for the individual Buffer objects are done as well. Fixed an existing bug in the conversion of outgoing char** arguments in C to String[] in Java where null checks were missing; this showed up as crashes in glShaderSourceARB. Exposed glMultiDrawElements and several other less-common entry points taking void** arguments.

          People

          • Assignee:
            jogl-issues
            Reporter:
            mithrandir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: