Skip to content

Shipping extensions with GLES names can break existing content #3604

@kainino0x

Description

@kainino0x

Please see this bug for details: emscripten-core/emscripten#20798

tl;dr:

  • Emscripten exposes the GL_EXTENSIONS directly from WebGL.
  • Emscripten does not implement glClipControlEXT or glPolygonOffsetClampEXT.
  • Browser ships EXT_clip_control or EXT_polygon_offset_clamp.
  • Existing pages on the Web that were compiled using Emscripten, from C/C++ code that supported these extensions (like Filament), start crashing

I have a few ideas about this but my suggestion on that bug is for the WebGL group to simply not ship new EXT_ extensions that add new functions, and instead rebrand them as WEBGL_.

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