#include "egl_manager.h"
#include "drivers/gles3/rasterizer_gles3.h"
#ifdef EGL_ENABLED
#if defined(EGL_STATIC)
#define GLAD_EGL_VERSION_1_5 …
#ifdef EGL_EXT_platform_base
#define GLAD_EGL_EXT_platform_base …
#endif
#define KHRONOS_STATIC …
extern "C" EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
extern "C" EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT(EGLenum platform, void *native_display, const EGLint *attrib_list);
#undef KHRONOS_STATIC
#endif
#ifndef EGL_EXT_platform_base
#define GLAD_EGL_EXT_platform_base …
#endif
#ifdef WINDOWS_ENABLED
#ifndef EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE
#define EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE …
#define EGL_SURFACE_ORIENTATION_ANGLE …
#define EGL_SURFACE_ORIENTATION_INVERT_X_ANGLE …
#define EGL_SURFACE_ORIENTATION_INVERT_Y_ANGLE …
#endif
#endif
int EGLManager::_get_gldisplay_id(void *p_display) { … }
#ifdef EGL_ANDROID_blob_cache
String EGLManager::shader_cache_dir;
void EGLManager::_set_cache(const void *p_key, EGLsizeiANDROID p_key_size, const void *p_value, EGLsizeiANDROID p_value_size) { … }
EGLsizeiANDROID EGLManager::_get_cache(const void *p_key, EGLsizeiANDROID p_key_size, void *p_value, EGLsizeiANDROID p_value_size) { … }
#endif
Error EGLManager::_gldisplay_create_context(GLDisplay &p_gldisplay) { … }
Error EGLManager::open_display(void *p_display) { … }
int EGLManager::display_get_native_visual_id(void *p_display) { … }
Error EGLManager::window_create(DisplayServer::WindowID p_window_id, void *p_display, void *p_native_window, int p_width, int p_height) { … }
void EGLManager::window_destroy(DisplayServer::WindowID p_window_id) { … }
void EGLManager::release_current() { … }
void EGLManager::swap_buffers() { … }
void EGLManager::window_make_current(DisplayServer::WindowID p_window_id) { … }
void EGLManager::set_use_vsync(bool p_use) { … }
bool EGLManager::is_using_vsync() const { … }
EGLContext EGLManager::get_context(DisplayServer::WindowID p_window_id) { … }
Error EGLManager::initialize(void *p_native_display) { … }
EGLManager::EGLManager() { … }
EGLManager::~EGLManager() { … }
#endif