projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385548d
)
Only include gbm.h when DMABUFs are being used
author
Mateusz Majewski
<m.majewski2@samsung.com>
Tue, 25 Mar 2025 13:13:01 +0000
(14:13 +0100)
committer
Mateusz Majewski
<m.majewski2@samsung.com>
Tue, 25 Mar 2025 14:15:39 +0000
(15:15 +0100)
Indeed, GBM is only used for DMABUF-specific operations.
Change-Id: Ic8a713038d431a20706286b8d36dc4d8454a702e
include/ui/egl-helpers.h
patch
|
blob
|
history
diff --git
a/include/ui/egl-helpers.h
b/include/ui/egl-helpers.h
index 7eaa75e11285d09e02d04ba86da06d6bbf5fc198..272731666ed628fd74299714b36ccd1676eb6f30 100644
(file)
--- a/
include/ui/egl-helpers.h
+++ b/
include/ui/egl-helpers.h
@@
-3,13
+3,14
@@
#include <epoxy/gl.h>
#include <epoxy/egl.h>
-#include <gbm.h>
extern EGLDisplay *qemu_egl_display;
extern EGLConfig qemu_egl_config;
#ifdef CONFIG_OPENGL_DMABUF
+#include <gbm.h>
+
extern int qemu_egl_rn_fd;
extern struct gbm_device *qemu_egl_rn_gbm_dev;
extern EGLContext qemu_egl_rn_ctx;