Skip to content

Missing support for WebGL OES_vertex_array_object #204

Closed

Description

@erikmchut

VertexArrayObjects are common GL functionality, exposed in WebGL1 via the OES_vertex_array_object extension. Would it be possible to add support for this?

https://developer.mozilla.org/en-US/docs/Web/API/OES_vertex_array_object

Activity

  1. dhritzkiv commented on Nov 6, 2020

    @dhritzkiv
    Member

    Hi @erikmchut.

    Looking over the MDN page, it looks like it should be possible to add it! However, it does appear to be slightly more complicated than some of the more recently implemented extensions as it has methods to return a new objects and manage state.

    I currently don't have much time to implement it myself, especially as I've personally never used that extension. That being said, feel free to try adding it yourself. Look into the last few PRs that have added extensions for inspiration: #203, #202, #199, #144 (this is probably the most relevant in terms of binding to native calls)

  2. erikmchut commented on Nov 7, 2020

    @erikmchut
    Author

    Thanks for the pointers. If I get some free cycles I'll take a look.

  3. erikmchut commented on Nov 13, 2020

    @erikmchut
    Author

    Hi @dhritzkiv, I created pull request #206 for this, please take a look. It turned out to be more involved than expected, but the gl-compliance tests provided great test coverage to work through all of the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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