lv_nanovg_fbo_cache.h

API reference for lv_nanovg_fbo_cache.h

Report on GitHub
Summary

Functions

lv_nanovg_fbo_cache_get

Get the FBO from the cache, create a new one if not found.

 
struct _lv_cache_entry_t * lv_nanovg_fbo_cache_get(struct _lv_draw_nanovg_unit_t *u, int width, int height, int flags, int format)
Parameters
NameTypeDescription
ustruct _lv_draw_nanovg_unit_t *pointer to the nanovg unit
widthintthe width of the FBO
heightintthe height of the FBO
flagsintthe FBO flags
formatintthe texture format

Returns: struct _lv_cache_entry_t * — the FBO cache entry, or NULL if not found

Dependencies

Indirect dependencies

How is this guide?

Last updated on

On this page