Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-30 | render/egl: replace wlr_egl_create with wlr_egl_create_with_drm_fd | Simon Ser | |
We never create an EGL context with the platform set to something other than EGL_PLATFORM_GBM_KHR. Let's simplify wlr_egl_create by taking a DRM FD instead of a (platform, remote_display) tuple. This hides the internal details of creating an EGL context for a specific device. This will allow us to transparently use the device platform [1] when the time comes. [1]: https://github.com/swaywm/wlroots/pull/2671 | |||
2021-06-24 | render/egl: make most functions private | Simon Ser | |
The wlr_egl functions are mostly used internally by the GLES2 renderer. Let's reduce our API surface a bit by hiding them. If there are good use-cases for one of these, we can always make them public again. The functions mutating the current EGL context are not made private because e.g. Wayfire uses them. |