Debian Codegraph @

src/backend/gl/egl.h

raw symbols SCIP
1 // SPDX-License-Identifier: MPL-2.0
2 // Copyright (c) Yuxuan Shui <[email protected]>
3 #pragma once
4 #include <epoxy/egl.h>
5 #include <epoxy/gl.h>
6 #include <stdbool.h>
7 #include <xcb/render.h>
8 #include <xcb/xcb.h>
9
10 #define EGL_EXTS \
11 X(EXT_buffer_age) \
12 X(EXT_create_context_robustness) \
13 X(KHR_image_pixmap)
14
15 struct eglext_info {
16 bool initialized;
17
18 #ifdef EGL_MESA_query_driver
19 bool has_MESA_query_driver;
20 #endif
21 #define X(x) bool has_##x;
22 EGL_EXTS
23 #undef X
24 };
25
26 extern struct eglext_info eglext;
27
28 void eglext_init(EGLDisplay);