Go to the documentation of this file.    1 #ifndef EGLPLUS_EGL_API_CONFIG_HPP 
    9 #define EGLPLUS_EGL_API_CONFIG_HPP 
   11 #include "../config/basic.hpp" 
   14 #ifndef EGLPLUS_HAS_EGL 
   15 #if defined(EGL_SUCCESS) 
   16 #define EGLPLUS_HAS_EGL 1 
   18 #ifndef EGL_BAD_STREAM_KHR 
   19 #define EGL_BAD_STREAM_KHR 0x321B 
   22 #ifndef EGL_BAD_STATE_KHR 
   23 #define EGL_BAD_STATE_KHR 0x321C 
   26 #ifndef EGL_PLATFORM_DEVICE_EXT 
   27 #define EGL_PLATFORM_DEVICE_EXT 0x313F 
   30 #ifndef EGL_BAD_OUTPUT_LAYER_EXT 
   31 #define EGL_BAD_OUTPUT_LAYER_EXT 0x322D 
   34 #ifndef EGL_BAD_OUTPUT_PORT_EXT 
   35 #define EGL_BAD_OUTPUT_PORT_EXT 0x322E 
   39 #define EGLPLUS_HAS_EGL 0 
   41 #endif // EGLPLUS_HAS_EGL 
   71     static constexpr 
bool has_api = 
true;
 
  118     static constexpr 
bool has_api = 
false;
 
  136     static constexpr 
auto bool_true(
bool_type b) noexcept -> 
bool {
 
  138         return b == EGL_TRUE;
 
  144     static constexpr 
auto error_code_no_error(
int_type ec) noexcept -> 
bool {
 
  146         return ec == EGL_SUCCESS;
 
  148         EAGINE_MAYBE_UNUSED(ec);
 
  156 #endif // EGLPLUS_EGL_API_CONFIG_HPP 
 
EGLSync sync_type
Sync object handle type.
Definition: config.hpp:104
 
char char_type
String character type.
Definition: config.hpp:57
 
EGL-related code is placed in this namespace.
Definition: eglplus.hpp:11
 
void * output_layer_type
Output layer handle type.
Definition: config.hpp:66
 
Class representing "none" / "nothing" values.
Definition: nothing.hpp:17
 
EGLConfig config_type
Config handle type.
Definition: config.hpp:89
 
EGLNativePixmapType native_pixmap_type
Native pixmap handle type.
Definition: config.hpp:80
 
Collection of aliases for EGL types.
Definition: config.hpp:52
 
EGLNativeDisplayType native_display_type
Native display handle type.
Definition: config.hpp:74
 
EGLNativeWindowType native_window_type
Native window handle type.
Definition: config.hpp:77
 
EGLenum enum_type
Enumeration type.
Definition: config.hpp:113
 
void * output_port_type
Output port handle type.
Definition: config.hpp:69
 
void * void_ptr_type
Untyped non-const pointer type.
Definition: config.hpp:54
 
EGLSurface surface_type
Rendering surface handle type.
Definition: config.hpp:98
 
void * device_type
Device handle type.
Definition: config.hpp:60
 
EGLContext context_type
Rendering context handle type.
Definition: config.hpp:95
 
EGLClientBuffer client_buffer_type
Client buffer handle type.
Definition: config.hpp:83
 
void * stream_type
Stream handle type.
Definition: config.hpp:63
 
EGLTime time_type
Time type.
Definition: config.hpp:107
 
EGLAttrib attrib_type
Config attribute handle type.
Definition: config.hpp:92
 
EGLint int_type
Signed integer type.
Definition: config.hpp:116
 
EGLBoolean bool_type
Boolean type.
Definition: config.hpp:110
 
EGLImage image_type
EGL image type.
Definition: config.hpp:101
 
EGLDisplay display_type
EGL display handle type.
Definition: config.hpp:86