From 174a68adc3f373de369d87b85ec3a6fd5a7605cc Mon Sep 17 00:00:00 2001 From: cepetr Date: Wed, 24 Apr 2024 11:09:06 +0200 Subject: [PATCH] fixup! feat(core): refactor display drivers --- core/embed/lib/gl_draw.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/embed/lib/gl_draw.h b/core/embed/lib/gl_draw.h index 1bc1aa209..7df1730ce 100644 --- a/core/embed/lib/gl_draw.h +++ b/core/embed/lib/gl_draw.h @@ -135,6 +135,9 @@ void gl_draw_bar(gl_rect_t rect, gl_color_t color); // The destination rectangle may not be fully filled if the source bitmap // is smaller then destination rectangle or if the bitmap is translated by // an offset partially or completely outside the destination rectangle. +// +// Currently, we use `gl_draw_bitmap` exclusively for text rendering. +// Not all bitmap formats are supported now. Please see the implementation. void gl_draw_bitmap(gl_rect_t rect, const gl_bitmap_t* bitmap); // Draws a text to the specified position.