Skip to content

analyze pointer usage for OpenGL API for generate-XS.pl implementation #51

@devel-chm

Description

@devel-chm

This issue is to track the progress of analyzing the OpenGL pointer usages which started with issue #7.
Per discussion on #pogl, the plan is to determine from the OpenGL specification and documentation what the various pointer arguments and return values mean for each function and to categorize all the arguments to each function as well. These non-pointer arguments often determine the details of the pointer usages:

  • Number of elements
  • Number of bytes
  • Types of elements
  • Are the arguments inputs, outputs, or both?
  • Is the pointer "just a pointer" or an "offset"?
  • ...

Work is underway to provide OpenGL::GLUT and OpenGL::Array as standalone modules for back compatibility. OpenGL::GLUT is almost released. OpenGL::Array should follow within the week.

The hope is that this analysis will be done enough that work to improve code generation
can begin once they are released.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions