lv_opengles_egl_private.h

API reference for lv_opengles_egl_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_opengles_egl.h

Functions

lv_opengles_egl_display_select_config

 
size_t lv_opengles_egl_display_select_config(lv_display_t *display, const lv_egl_config_t *configs, size_t config_count)
Parameters
NameType
displaylv_display_t *
configsconst lv_egl_config_t *
config_countsize_t

Structs

struct

_lv_egl_config

MemberTypeDescription
idEGLint
max_widthEGLint
max_heightEGLint
buffer_sizeEGLint
depthEGLint
stencilEGLint
samplesEGLint
surface_typeEGLint
renderable_typeEGLint
r_bitsEGLint
g_bitsEGLint
b_bitsEGLint
a_bitsEGLint
struct

lv_egl_native_window_properties_t

MemberTypeDescription
visual_idEGLint
struct

lv_egl_create_surface_params_t

MemberTypeDescription
displayEGLDisplay
configEGLConfig
struct

_lv_egl_interface

MemberTypeDescription
select_configlv_egl_select_config_t
driver_datavoid *
native_displayvoid *
create_window_cblv_egl_create_window_t
destroy_window_cblv_egl_destroy_window_t
create_surface_cblv_egl_create_surface_t
destroy_surface_cblv_egl_destroy_surface_t
flip_cblv_egl_flip_t
egl_platformuint16_t
struct

_lv_opengles_egl

MemberTypeDescription
native_windowEGLNativeWindowType
egl_displayEGLDisplay
egl_configEGLConfig
egl_contextEGLContext
egl_surfaceEGLSurface
egl_lib_handlevoid *
opengl_lib_handlevoid *
interfacelv_egl_interface_t
widthint32_t
heightint32_t
gles_versionuint8_tOpenGL ES major version of egl_context, as actually granted by the driver
vsyncbool

Typedefs

lv_egl_init_display_t

 
typedef void *(* lv_egl_init_display_t) (void *driver_data, int32_t width, int32_t height)

lv_egl_get_display_t

 
typedef void *(* lv_egl_get_display_t) (void *driver_data)

lv_egl_create_window_t

 
typedef void *(* lv_egl_create_window_t) (void *driver_data, const lv_egl_native_window_properties_t *props)

lv_egl_destroy_window_t

 
typedef void(* lv_egl_destroy_window_t) (void *driver_data, void *native_window)

lv_egl_create_surface_t

 
typedef void *(* lv_egl_create_surface_t) (void *driver_data, const lv_egl_create_surface_params_t *props)

lv_egl_destroy_surface_t

 
typedef void(* lv_egl_destroy_surface_t) (void *driver_data, void *surface)

lv_egl_set_visible_t

 
typedef void(* lv_egl_set_visible_t) (void *driver_data, bool v)

lv_egl_flip_t

 
typedef void(* lv_egl_flip_t) (void *driver_data, bool vsync)

lv_egl_native_state_deinit_t

 
typedef void(* lv_egl_native_state_deinit_t) (void **driver_data)

lv_egl_select_config_t

 
typedef size_t(* lv_egl_select_config_t) (void *driver_data, const lv_egl_config_t *configs, size_t config_count)

Dependencies

Last updated on

On this page