mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Changed drm to use new EGL interface.
This commit is contained in:
parent
dbceaee9fa
commit
15d247bf34
2 changed files with 13 additions and 150 deletions
|
|
@ -7,6 +7,8 @@
|
|||
#include <EGL/egl.h>
|
||||
#include <gbm.h>
|
||||
|
||||
#include "backend/egl.h"
|
||||
|
||||
struct wlr_drm_renderer {
|
||||
int fd;
|
||||
|
||||
|
|
@ -16,11 +18,7 @@ struct wlr_drm_renderer {
|
|||
struct wlr_drm_backend *backend;
|
||||
|
||||
struct gbm_device *gbm;
|
||||
struct {
|
||||
EGLDisplay disp;
|
||||
EGLConfig conf;
|
||||
EGLContext context;
|
||||
} egl;
|
||||
struct wlr_egl egl;
|
||||
};
|
||||
|
||||
bool wlr_drm_renderer_init(struct wlr_drm_renderer *renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue