mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
Merge branch 'match-platform-device' into 'master'
Draft: render: open platform device render node See merge request wlroots/wlroots!4372
This commit is contained in:
commit
e6d9aa5d62
8 changed files with 133 additions and 130 deletions
|
|
@ -7,7 +7,6 @@ struct wlr_egl {
|
|||
EGLDisplay display;
|
||||
EGLContext context;
|
||||
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
|
||||
struct gbm_device *gbm_device;
|
||||
|
||||
struct {
|
||||
// Display extensions
|
||||
|
|
@ -23,7 +22,6 @@ struct wlr_egl {
|
|||
|
||||
// Client extensions
|
||||
bool EXT_device_query;
|
||||
bool KHR_platform_gbm;
|
||||
bool EXT_platform_device;
|
||||
bool KHR_display_reference;
|
||||
} exts;
|
||||
|
|
|
|||
|
|
@ -146,6 +146,8 @@ bool wlr_renderer_init_wl_shm(struct wlr_renderer *r,
|
|||
/**
|
||||
* Obtains the FD of the DRM device used for rendering, or -1 if unavailable.
|
||||
*
|
||||
* The FD is guaranteed to be a DRM render node.
|
||||
*
|
||||
* The caller doesn't have ownership of the FD, it must not close it.
|
||||
*/
|
||||
int wlr_renderer_get_drm_fd(struct wlr_renderer *r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue