lv_draw_opengles.h
API reference for lv_draw_opengles.h
Summary
Functions
lv_draw_opengles_get_draw_buf_handlers
const lv_draw_buf_handlers_t * lv_draw_opengles_get_draw_buf_handlers(void)lv_draw_opengles_init
void lv_draw_opengles_init(void)lv_draw_opengles_deinit
void lv_draw_opengles_deinit(void)lv_draw_opengles_clear_layer_area
Clear a region of the GPU texture that backs the given layer. Needed because lv_draw_buf_clear operates on the CPU draw buffer, which is only a dummy placeholder when the layer is rendered to a GL texture. Without this, a transparent screen background leaves stale pixels on the texture between frames.
void lv_draw_opengles_clear_layer_area(lv_layer_t *layer, const lv_area_t *area)| Name | Type | Description |
|---|---|---|
layer | lv_layer_t * | layer whose backing texture must be cleared |
area | const lv_area_t * | area (in layer/screen coordinates) to clear |
Dependencies
lvgl_public.h
Last updated on