Skip to content

support for WEBGL_draw_buffers? #142

Closed

Description

@robertleeplummerjr

How hard would it be to get the https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_draw_buffers extension working?

Activity

  1. dhritzkiv commented on Feb 13, 2019

    @dhritzkiv
    Member

    Without peeking into this, it should be possible by: checking if the extension is in the getSupportedExtensions list and returning a truthy value; by defining the relevant constants; and by handling any special cases in the draw calls.

    Tests might be a different problem as they may or may not pass, even if the implementation is sound. Though, likely the current conformance suite should handle it.

  2. robertleeplummerjr commented on Feb 13, 2019

    @robertleeplummerjr
    CollaboratorAuthor

    I've checked on my newer build of angle with headless-gl, and the extension is there, seemingly by default. So I'm adding the bindings for it.

  3. robertleeplummerjr commented on Feb 18, 2019

    @robertleeplummerjr
    CollaboratorAuthor

    This is essentially my patch, but it isn't outputting anything to the textures, so opening an issue with Google Angle: https://github.com/proxy/gist.github.com/robertleeplummerjr/cce00202e08954cf8df512eed838de66

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions