Go to the documentation of this file. 1 #ifndef EGLPLUS_EGL_API_OUTPUT_LAYER_ATTRIBS_HPP
9 #define EGLPLUS_EGL_API_OUTPUT_LAYER_ATTRIBS_HPP
26 static constexpr
auto terminator() noexcept ->
egl_types::int_type {
37 template <std::
size_t N>
58 static constexpr
auto operator|(output_layer_attribute key,
bool value) noexcept
60 #if defined(EGL_TRUE) && defined(EGL_FALSE)
61 return {key, value ? EGL_TRUE : EGL_FALSE};
63 return {key, value ? 1 : 0};
69 #endif // EGLPLUS_EGL_API_OUTPUT_LAYER_ATTRIBS_HPP
EGL-related code is placed in this namespace.
Definition: eglplus.hpp:11
A single key/value pair for a key/value list.
Definition: key_val_list.hpp:27
egl_types::int_type value_type
Alias for the value type.
Definition: output_layer_attribs.hpp:24
key_value_list_element< output_layer_attrib_traits > output_layer_attribute_value
Alias for EGL output layer attribute list key/value pair.
Definition: output_layer_attribs.hpp:44
Traits for EGL output layer attribute key/value list traits.
Definition: output_layer_attribs.hpp:19
Collection of aliases for EGL types.
Definition: config.hpp:52
Typed enumeration for EGL output layer attribute constants.
Definition: enum_types.hpp:138
Template for classes wrapping static key/value typically attribute lists.
Definition: key_val_list.hpp:21
EGLint int_type
Signed integer type.
Definition: config.hpp:116