mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 04:18:05 +02:00
gl-renderer: move all EGL_PLATFORM_* defines here
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
445fb697a5
commit
a3e6a4a87a
4 changed files with 12 additions and 12 deletions
|
|
@ -68,10 +68,6 @@
|
|||
#define GBM_BO_USE_CURSOR GBM_BO_USE_CURSOR_64X64
|
||||
#endif
|
||||
|
||||
#ifndef EGL_PLATFORM_GBM_KHR
|
||||
#define EGL_PLATFORM_GBM_KHR 0x31D7
|
||||
#endif
|
||||
|
||||
static int option_current_mode = 0;
|
||||
|
||||
enum output_config {
|
||||
|
|
|
|||
|
|
@ -47,10 +47,6 @@
|
|||
|
||||
#define WINDOW_TITLE "Weston Compositor"
|
||||
|
||||
#ifndef EGL_PLATFORM_WAYLAND_KHR
|
||||
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
||||
#endif
|
||||
|
||||
struct wayland_compositor {
|
||||
struct weston_compositor base;
|
||||
|
||||
|
|
|
|||
|
|
@ -55,10 +55,6 @@
|
|||
|
||||
#define DEFAULT_AXIS_STEP_DISTANCE wl_fixed_from_int(10)
|
||||
|
||||
#ifndef EGL_PLATFORM_X11_KHR
|
||||
#define EGL_PLATFORM_X11_KHR 0x31D5
|
||||
#endif
|
||||
|
||||
static int option_width;
|
||||
static int option_height;
|
||||
static int option_scale;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,18 @@ typedef intptr_t EGLNativeDisplayType;
|
|||
typedef intptr_t EGLNativeWindowType;
|
||||
#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
|
||||
|
||||
#endif /* ENABLE_EGL */
|
||||
|
||||
#ifndef EGL_PLATFORM_GBM_KHR
|
||||
#define EGL_PLATFORM_GBM_KHR 0x31D7
|
||||
#endif
|
||||
|
||||
#ifndef EGL_PLATFORM_WAYLAND_KHR
|
||||
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
||||
#endif
|
||||
|
||||
#ifndef EGL_PLATFORM_X11_KHR
|
||||
#define EGL_PLATFORM_X11_KHR 0x31D5
|
||||
#endif
|
||||
|
||||
enum gl_renderer_border_side {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue