lv_opengles_texture.h
Functions
-
lv_display_t *lv_opengles_texture_create(int32_t w, int32_t h)
Create a display that flushes to an OpenGL texture
- Parameters:
w – width in pixels of the texture
h – height in pixels of the texture
- Returns:
the new display
-
unsigned int lv_opengles_texture_get_texture_id(lv_display_t *disp)
Get the OpenGL texture ID of the display
- Parameters:
disp – display
- Returns:
texture ID
-
lv_display_t *lv_opengles_texture_get_from_texture_id(unsigned int texture_id)
Get the display of an OpenGL texture if it is associated with one
- Parameters:
texture_id – OpenGL texture ID
- Returns:
display or
NULL
if there no display with that texture ID