2022-03-16 20:50:55 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-03-17 15:53:45 +01:00
|
|
|
// because C/C++ VS Code intellisense is stupid with includes, we will suppress them here.
|
|
|
|
// This suppresses all "include file not found" errors.
|
|
|
|
#ifdef __INTELLISENSE__
|
|
|
|
#pragma diag_suppress 1696
|
|
|
|
#endif
|
|
|
|
|
2022-03-16 20:50:55 +01:00
|
|
|
#include <getopt.h>
|
|
|
|
#include <libinput.h>
|
|
|
|
#include <linux/input-event-codes.h>
|
2024-12-07 18:51:18 +01:00
|
|
|
#include <csignal>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <cstdlib>
|
2022-03-16 20:50:55 +01:00
|
|
|
#include <sys/wait.h>
|
2024-12-07 18:51:18 +01:00
|
|
|
#include <ctime>
|
2022-03-16 20:50:55 +01:00
|
|
|
#include <unistd.h>
|
|
|
|
#include <wayland-server-core.h>
|
2022-03-16 22:21:12 +01:00
|
|
|
|
2022-04-13 17:34:13 +02:00
|
|
|
#ifdef LEGACY_RENDERER
|
|
|
|
#include <GLES2/gl2.h>
|
|
|
|
#include <GLES2/gl2ext.h>
|
|
|
|
#define GLES2
|
|
|
|
#else
|
|
|
|
#define GLES32
|
2022-03-24 16:07:01 +01:00
|
|
|
#include <GLES3/gl32.h>
|
2022-04-11 16:39:48 +02:00
|
|
|
#include <GLES3/gl3ext.h>
|
2022-04-13 17:34:13 +02:00
|
|
|
#endif
|
2022-03-24 16:07:01 +01:00
|
|
|
|
2022-04-20 15:58:02 +02:00
|
|
|
#ifdef NO_XWAYLAND
|
|
|
|
#define XWAYLAND false
|
|
|
|
#else
|
|
|
|
#define XWAYLAND true
|
|
|
|
#endif
|
|
|
|
|
2023-11-04 18:04:10 +01:00
|
|
|
#include "SharedDefs.hpp"
|