OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::eglp::basic_egl_c_api< ApiTraits > Class Template Reference

Class wrapping the C-functions from the EGL API. More...

#include <eglplus/egl_api/c_api.hpp>

Public Types

using api_traits = ApiTraits
 Alias for the API traits policy type passed as template argument.
 
using void_ptr_type = typename egl_types::void_ptr_type
 Untyped non-const pointer type.
 
using time_type = typename egl_types::time_type
 Alias for time duration type.
 
using sync_type = typename egl_types::sync_type
 Alias for sync type.
 
using enum_type = typename egl_types::enum_type
 Alias for enumeration type.
 
using bool_type = typename egl_types::bool_type
 Alias for boolean type.
 
using char_type = typename egl_types::char_type
 Alias for string character type.
 
using int_type = typename egl_types::int_type
 Alias for signed integer type.
 
using device_type = typename egl_types::device_type
 Alias for device handle type.
 
using native_display_type = typename egl_types::native_display_type
 Alias for native display handle type.
 
using native_window_type = typename egl_types::native_window_type
 Alias for native window handle type.
 
using native_pixmap_type = typename egl_types::native_pixmap_type
 Alias for native pixmap handle type.
 
using client_buffer_type = typename egl_types::client_buffer_type
 Alias for client buffer handle type.
 
using display_type = typename egl_types::display_type
 Alias for display handle type.
 
using surface_type = typename egl_types::surface_type
 Alias for surface handle type.
 
using config_type = typename egl_types::config_type
 Alias for config handle type.
 
using attrib_type = typename egl_types::attrib_type
 Alias for attribute type.
 
using context_type = typename egl_types::context_type
 Alias for context handle type.
 
using stream_type = typename egl_types::stream_type
 Alias for stream handle type.
 
using output_layer_type = typename egl_types::output_layer_type
 Alias for output layer handle type.
 
using output_port_type = typename egl_types::output_port_type
 Alias for output port handle type.
 
using image_type = typename egl_types::image_type
 Alias for image handle type.
 
template<typename Signature , c_api_function_ptr< api_traits, nothing_t, Signature > Function>
using egl_api_function = eagine::opt_c_api_function< api_traits, nothing_t, Signature, Function, has_api, bool(Function)>
 Alias for EGL C-API function wrapper template.
 

Public Attributes

egl_api_function< int_type(), nullptr > GetError
 
egl_api_function< void(*(const char_type *))(), nullptr > GetProcAddress
 
egl_api_function< bool_type(int_type, device_type, int_type *), nullptr > QueryDevices
 
egl_api_function< const char_type *(device_type, int_type), nullptr > QueryDeviceString
 
egl_api_function< display_type(enum_type, void_ptr_type, const attrib_type *), nullptr > GetPlatformDisplay
 
egl_api_function< display_type(native_display_type), nullptr > GetDisplay
 
egl_api_function< const char_type *(display_type), nullptr > GetDisplayDriverName
 
egl_api_function< bool_type(display_type, int_type *, int_type *), nullptr > Initialize
 
egl_api_function< bool_type(display_type), nullptr > Terminate
 
egl_api_function< const char_type *(display_type, int_type), nullptr > QueryString
 
egl_api_function< bool_type(display_type, config_type *, int_type, int_type *), nullptr > GetConfigs
 
egl_api_function< bool_type(display_type, const int_type *, config_type *, int_type, int_type *), nullptr > ChooseConfig
 
egl_api_function< bool_type(display_type, config_type, int_type, int_type *), nullptr > GetConfigAttrib
 
egl_api_function< surface_type(display_type, config_type, void_ptr_type, const attrib_type *), nullptr > CreatePlatformWindowSurface
 
egl_api_function< surface_type(display_type, config_type, native_window_type, const int_type *), nullptr > CreateWindowSurface
 
egl_api_function< surface_type(display_type, config_type, const int_type *), nullptr > CreatePbufferSurface
 
egl_api_function< surface_type(display_type, config_type, void_ptr_type, const attrib_type *), nullptr > CreatePlatformPixmapSurface
 
egl_api_function< surface_type(display_type, config_type, native_pixmap_type, const int_type *), nullptr > CreatePixmapSurface
 
egl_api_function< surface_type(display_type, config_type, stream_type, const int_type *), nullptr > CreateStreamProducerSurface
 
egl_api_function< bool_type(display_type, surface_type), nullptr > DestroySurface
 
egl_api_function< surface_type(int_type), nullptr > GetCurrentSurface
 
egl_api_function< bool_type(display_type, surface_type, int_type, int_type), nullptr > SurfaceAttrib
 
egl_api_function< bool_type(display_type, surface_type, int_type, int_type *), nullptr > QuerySurface
 
egl_api_function< surface_type(display_type, const int_type *), nullptr > CreateStream
 
egl_api_function< surface_type(display_type, stream_type), nullptr > DestroyStream
 
egl_api_function< bool_type(display_type, stream_type, int_type, int_type), nullptr > StreamAttrib
 
egl_api_function< bool_type(display_type, stream_type, int_type, int_type *), nullptr > QueryStream
 
egl_api_function< bool_type(display_type, stream_type), nullptr > StreamConsumerGLTextureExternal
 
egl_api_function< bool_type(display_type, stream_type), nullptr > StreamConsumerAcquire
 
egl_api_function< bool_type(display_type, stream_type), nullptr > StreamConsumerRelease
 
egl_api_function< bool_type(display_type, const attrib_type *, output_layer_type *, int_type, int_type *), nullptr > GetOutputLayers
 
egl_api_function< bool_type(display_type, output_layer_type, int_type, attrib_type), nullptr > OutputLayerAttrib
 
egl_api_function< bool_type(display_type, output_layer_type, int_type, attrib_type *), nullptr > QueryOutputLayerAttrib
 
egl_api_function< const char_type *(display_type, output_layer_type, int_type), nullptr > QueryOutputLayerString
 
egl_api_function< bool_type(display_type, const attrib_type *, output_port_type *, int_type, int_type *), nullptr > GetOutputPorts
 
egl_api_function< bool_type(display_type, output_port_type, int_type, attrib_type), nullptr > OutputPortAttrib
 
egl_api_function< bool_type(display_type, output_port_type, int_type, attrib_type *), nullptr > QueryOutputPortAttrib
 
egl_api_function< const char_type *(display_type, output_port_type, int_type), nullptr > QueryOutputPortString
 
egl_api_function< bool_type(display_type, surface_type, int_type), nullptr > BindTexImage
 
egl_api_function< bool_type(display_type, surface_type, int_type), nullptr > ReleaseTexImage
 
egl_api_function< bool_type(enum_type), nullptr > BindAPI
 
egl_api_function< enum_type(), nullptr > QueryAPI
 
egl_api_function< context_type(display_type, config_type, context_type, const int_type *), nullptr > CreateContext
 
egl_api_function< bool_type(display_type, context_type), nullptr > DestroyContext
 
egl_api_function< bool_type(display_type, surface_type, surface_type, context_type), nullptr > MakeCurrent
 
egl_api_function< context_type(), nullptr > GetCurrentContext
 
egl_api_function< bool_type(display_type, context_type, int_type, int_type *), nullptr > QueryContext
 
egl_api_function< bool_type(), nullptr > WaitClient
 
egl_api_function< bool_type(int_type), nullptr > WaitNative
 
egl_api_function< sync_type(display_type, enum_type, const attrib_type *), nullptr > CreateSync
 
egl_api_function< int_type(display_type, sync_type, int_type, time_type), nullptr > ClientWaitSync
 
egl_api_function< bool_type(display_type, sync_type, int_type), nullptr > WaitSync
 
egl_api_function< bool_type(display_type, sync_type, int_type, attrib_type *), nullptr > GetSyncAttrib
 
egl_api_function< bool_type(display_type, sync_type), nullptr > DestroySync
 
egl_api_function< image_type(display_type, context_type, enum_type, client_buffer_type, const attrib_type *), nullptr > CreateImage
 
egl_api_function< bool_type(display_type, image_type), nullptr > DestroyImage
 
egl_api_function< bool_type(display_type, surface_type, native_pixmap_type), nullptr > CopyBuffers
 
egl_api_function< bool_type(display_type, int_type), nullptr > SwapInterval
 
egl_api_function< bool_type(display_type, surface_type), nullptr > SwapBuffers
 
egl_api_function< bool_type(display_type, surface_type, const int_type *, int_type), nullptr > SwapBuffersWithDamage
 
egl_api_function< bool_type(), nullptr > ReleaseThread
 

Detailed Description

template<typename ApiTraits>
class eagine::eglp::basic_egl_c_api< ApiTraits >

Class wrapping the C-functions from the EGL API.

See also
basic_egl_constants
basic_egl_operations

Member Data Documentation

◆ BindAPI

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::BindAPI

Wrapper for eglBindAPI

◆ BindTexImage

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::BindTexImage

Wrapper for eglBindTexImage

◆ ChooseConfig

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::ChooseConfig

Wrapper for eglChooseConfig

◆ ClientWaitSync

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::ClientWaitSync

Wrapper for eglClientWaitSync

◆ CopyBuffers

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CopyBuffers

Wrapper for eglCopyBuffers

◆ CreateContext

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateContext

Wrapper for eglCreateContext

◆ CreateImage

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateImage

Wrapper for eglCreateImage

◆ CreatePbufferSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreatePbufferSurface

Wrapper for eglCreatePbufferSurface

◆ CreatePixmapSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreatePixmapSurface

Wrapper for eglCreatePixmapSurface

◆ CreatePlatformPixmapSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreatePlatformPixmapSurface

Wrapper for eglCreatePlatformPixmapSurface

◆ CreatePlatformWindowSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreatePlatformWindowSurface

Wrapper for eglCreatePlatformWindowSurface

◆ CreateStream

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateStream

Wrapper for eglCreateStream

◆ CreateStreamProducerSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateStreamProducerSurface

Wrapper for eglCreateStreamProducerSurface

◆ CreateSync

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateSync

Wrapper for eglCreateSync

◆ CreateWindowSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::CreateWindowSurface

Wrapper for eglCreateWindowSurface

◆ DestroyContext

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::DestroyContext

Wrapper for eglDestroyContext

◆ DestroyImage

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::DestroyImage

Wrapper for eglDestroyImage

◆ DestroyStream

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::DestroyStream

Wrapper for eglDestroyStream

◆ DestroySurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::DestroySurface

Wrapper for eglDestroySurface

◆ DestroySync

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::DestroySync

Wrapper for eglDestroySync

◆ GetConfigAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetConfigAttrib

Wrapper for eglGetConfigAttrib

◆ GetConfigs

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetConfigs

Wrapper for eglGetConfigs

◆ GetCurrentContext

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetCurrentContext

Wrapper for eglGetCurrentContext

◆ GetCurrentSurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetCurrentSurface

Wrapper for eglGetCurrentSurface

◆ GetDisplay

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetDisplay

Wrapper for eglGetDisplay

◆ GetDisplayDriverName

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetDisplayDriverName

Wrapper for eglGetDisplayDriverName

◆ GetError

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetError

Wrapper for eglGetError

◆ GetOutputLayers

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetOutputLayers

Wrapper for eglGetOutputLayers

◆ GetOutputPorts

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetOutputPorts

Wrapper for eglGetOutputPorts

◆ GetPlatformDisplay

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetPlatformDisplay

Wrapper for eglGetPlatformDisplay

◆ GetProcAddress

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetProcAddress

Wrapper for eglGetProcAddress

◆ GetSyncAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::GetSyncAttrib

Wrapper for eglGetSyncAttrib

◆ Initialize

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::Initialize

Wrapper for eglInitialize

◆ MakeCurrent

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::MakeCurrent

Wrapper for eglMakeCurrent

◆ OutputLayerAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::OutputLayerAttrib

Wrapper for eglOutputLayerAttrib

◆ OutputPortAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::OutputPortAttrib

Wrapper for eglOutputPortAttrib

◆ QueryAPI

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryAPI

Wrapper for eglQueryAPI

◆ QueryContext

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryContext

Wrapper for eglQueryContext

◆ QueryDevices

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryDevices

Wrapper for eglQueryDevices

◆ QueryDeviceString

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryDeviceString

Wrapper for eglQueryDeviceString

◆ QueryOutputLayerAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryOutputLayerAttrib

Wrapper for eglQueryOutputLayerAttrib

◆ QueryOutputLayerString

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryOutputLayerString

Wrapper for eglQueryOutputLayerString

◆ QueryOutputPortAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryOutputPortAttrib

Wrapper for eglQueryOutputPortAttrib

◆ QueryOutputPortString

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryOutputPortString

Wrapper for eglQueryOutputPortString

◆ QueryStream

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryStream

Wrapper for eglQueryStream

◆ QueryString

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QueryString

Wrapper for eglQueryString

◆ QuerySurface

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::QuerySurface

Wrapper for eglQuerySurface

◆ ReleaseTexImage

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::ReleaseTexImage

Wrapper for eglReleaseTexImage

◆ ReleaseThread

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::ReleaseThread

Wrapper for eglReleaseThread

◆ StreamAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::StreamAttrib

Wrapper for eglStreamAttrib

◆ StreamConsumerAcquire

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::StreamConsumerAcquire

Wrapper for eglGetErrorsumerAcquire

◆ StreamConsumerGLTextureExternal

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::StreamConsumerGLTextureExternal

Wrapper for eglStreamConsumerGLTextureExternal

◆ StreamConsumerRelease

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::StreamConsumerRelease

Wrapper for eglStreamConsumerRelease

◆ SurfaceAttrib

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::SurfaceAttrib

Wrapper for eglSurfaceAttrib

◆ SwapBuffers

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::SwapBuffers

Wrapper for eglSwapBuffers

◆ SwapBuffersWithDamage

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::SwapBuffersWithDamage

Wrapper for eglSwapBuffersWithDamage

◆ SwapInterval

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::SwapInterval

Wrapper for eglSwapInterval

◆ Terminate

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::Terminate

Wrapper for eglTerminate

◆ WaitClient

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::WaitClient

Wrapper for eglWaitClient

◆ WaitNative

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::WaitNative

Wrapper for eglWaitNative

◆ WaitSync

template<typename ApiTraits >
eagine::eglp::basic_egl_c_api< ApiTraits >::WaitSync

Wrapper for eglWaitSync


The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).