Skip to content

WGL and EGL's context activation is unsound #6211

Open
@ErichDonGubler

Description

@ErichDonGubler

Description

@MarijnS95 and I have determined that, in at least one case, the current WGL and EGL GLES backends are unsound, because conditions for safely conflict with the Soundness Property.

Repro steps

Will defer to @MarijnS95.

Expected vs observed behavior

These APIs should be sound, meaning that it is impossible for safe Rust to provoke UB or other memory unsafety.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: correctnessWe're behaving incorrectlyarea: wsiIssues with swapchain management or windowingbackend: glesIssues with GLES or WebGLplatform: linuxLinux Specific Issuesplatform: waylandIssues with integration with linux/waylandplatform: windowsIssues with integration with windowsplatform: x11Issues with integration with linux/x11type: bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions