servo / servo/surfman

Support EGL on wayland

Open
#142 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
193
Forks
100
Avg merge
17h 55m
Merged PRs (30d)
9

Description

Instead of calling eglGetDisplay, it looks like we need to use the EGL_KHR_platform_wayland extension and call eglGetPlatformDisplay and pass EGL_DEFAULT_DISPLAY like Glutin does: https://github.com/rust-windowing/glutin/blob/356e6cbe40a999e6afdb999681db6cbf6038da67/glutin/src/api/egl/mod.rs#L305-L331

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/platform/with_egl/utils.rs at the eglGetDisplay call, then compare the referenced Glutin implementation and the EGL_KHR_platform_wayland specification. The work is complete when EGL display setup uses the Wayland platform path with EGL_DEFAULT_DISPLAY and supports Wayland as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.