「App:Library:LVGL:docs:Porting:Add custom GPU」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動5行目: | 5行目: | ||
You can hook it to do some rendering with a GPU or even completely replace the built-in software renderer. | You can hook it to do some rendering with a GPU or even completely replace the built-in software renderer. | ||
+ | |||
+ | == Draw context == | ||
+ | The core structure of drawing is <code>lv_draw_ctx_t</code>. It contains a pointer to a buffer where drawing should happen and a couple of callbacks to draw rectangles, texts, and other primitives. | ||
+ | |||
+ | |||
+ | |||
2022年6月21日 (火) 13:15時点における版
https://docs.lvgl.io/8.2/porting/gpu.html
Add custom GPU
LVGL has a flexible and extendable draw pipeline.
You can hook it to do some rendering with a GPU or even completely replace the built-in software renderer.
Draw context
The core structure of drawing is lv_draw_ctx_t
. It contains a pointer to a buffer where drawing should happen and a couple of callbacks to draw rectangles, texts, and other primitives.