lv_draw_opengles.h
API reference for lv_draw_opengles.h
Summary
Functions
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
Indirect dependencies
lv_anim.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_kconfig.hlv_draw_buf.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_image_decoder.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on