Lines Matching refs:in

10 …f the draw buffer is sent to the display using the `flush_cb` function set in the display driver (…
27 …fer may be smaller than the screen. In this case, larger areas are redrawn in smaller segments tha…
30 A larger buffer results in better performance but above 1/10 screen sized buffer(s) there is no sig…
41 … to wait until the content of the buffer is sent to the display before drawing something new in it.
44 …raw into one buffer while the content of the other buffer is sent to the display in the background.
49 …refresh` bit will force LVGL to always redraw the whole screen. This works in both *one buffer* an…
55 If the `direct_mode` flag is enabled in the display driver LVGL will draw directly into a **screen …
59 Therefore the 2 buffers needs to synchronized in `flush_cb` like this:
67 `disp->inv_p` number of valid elements in `inv_areas`
74 3. it needs to be registered in LVGL with `lv_disp_drv_register(&disp_drv)`
81 - `hor_res` horizontal resolution of the display in pixels.
82 - `ver_res` vertical resolution of the display in pixels.
85 LVGL might render the screen in multiple chunks and therefore call `flush_cb` multiple times. To se…
89 - `physical_hor_res` horizontal resolution of the full / physical display in pixels. Only set this …
90 - `physical_ver_res` vertical resolution of the full / physical display in pixels. Only set this wh…
91 - `offset_x` horizontal offset from the full / physical display in pixels. Only set this when _not_…
92 - `offset_y` vertical offset from the full / physical display in pixels. Only set this when _not_ u…
94 …sing (edge smoothing). Enabled by default if `LV_COLOR_DEPTH` is set to at least 16 in `lv_conf.h`.
96 …lf can have transparency as well. `LV_COLOR_SCREEN_TRANSP` must be enabled in `lv_conf.h` and `LV_…
104 …o write the draw buffer. It can be used to store the pixels more compactly in the draw buffer if t…
105 This way the buffers used in `lv_disp_draw_buf_t` can be smaller to hold only the required number o…
106 - `monitor_cb` A callback function that tells how many pixels were refreshed and in how much time. …
110 LVGL has built-in support to several GPUs (see `lv_conf.h`) but if something else is required these…
111 - `gpu_fill_cb` fill an area in the memory with a color.
121 disp_drv.hor_res = 320; /*Set the horizontal resolution in pixels*/
122 disp_drv.ver_res = 240; /*Set the vertical resolution in pixels*/
181 printf("%d px refreshed in %d ms\n", time, ms);
195 LVGL supports rotation of the display in 90 degree increments. You can select whether you'd like so…
197 …s to the display as normal. Software rotation requires no additional logic in your `flush_cb` call…
199 There is a noticeable amount of overhead to performing rotation in software. Hardware rotation is a…
201 … rotation values are relative to how you would rotate the physical display in the clockwise direct…
209 …ect_mode` nor `full_refresh` in the driver. When using either of these, you will have to rotate th…
214 …ty (a.k.a invalid) areas are checked and redrawn in every `LV_DISP_DEF_REFR_PERIOD` milliseconds (…
215 However, in some cases you might need more control on when the display refreshing happen, for examp…
217 You can do this in the following way:
237 - [Drawing](/overview/drawing) to learn more about how rendering works in LVGL.