Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

egl: Support ANGLE EGL platform on winit Wayland #1082

Merged
merged 2 commits into from
Jul 19, 2023

Commits on Jul 19, 2023

  1. egl: Support ANGLE EGL platform on winit Wayland

    For this to work I also had to modify `LIB` to point to the `libEGL.so`
    from ANGLE. And set `VK_ICD_FILENAMES`, because naturally it wasn't
    working with Nvidia drivers, but was with Intel.
    
    This uses Vulkan. It seems ANGLE only provides the Wayland platform with
    Vulkan.
    
    This then runs, but errors with "Depth/stencil buffer format combination
    not allowed for blit." It seems it needs to use `DEPTH24_STENCIL8`.
    Presumably that's what the default framebuffer is using?
    ids1024 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c1da790 View commit details
    Browse the repository at this point in the history
  2. egl: Support ANGLE EGL platform on winit X11

    Unlike Wayland, X11 works on the OpenGL backend of ANGLE. But then
    `GL_OES_EGL_image_external` isn't available. So we need to use Vulkan
    here too.
    ids1024 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2f00e12 View commit details
    Browse the repository at this point in the history