aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-24 13:11:21 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-06-30 14:02:26 -0400
commit1db976cecb6968b2d989840c6f16aa00bb83d026 (patch)
tree79f47a4e2d0e11a648dc4f9b10b25a18762e3796 /examples/pointer.c
parent1c4b5bcab3aa1ca7b2c40fd64f77f90b8dde11d7 (diff)
render/egl: replace wlr_egl_create with wlr_egl_create_with_drm_fd
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
Diffstat (limited to 'examples/pointer.c')
0 files changed, 0 insertions, 0 deletions