Lines Matching refs:buffer

239 -  ``buf1`` a buffer to which LVGL can render pixels
240 - ``buf2`` a second optional buffer (see below)
241 - ``buf_size_in_bytes`` size of buffer(s) in bytes
244 - :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_PARTIAL` Use the buffer(s) to render
249 - :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_DIRECT` The buffer size(es) must match
251 buffer. Using this method the buffer(s) always contain the whole display image.
252 If two buffer are used, the rendered areas are automatically copied to the
253 other buffer after flushing. Due to this in :ref:`flush_callback` typically
254 only a frame buffer address needs to be changed. If a button is pressed
256 - :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_FULL` The buffer size(es) must match
260 the :ref:`flush_callback` callback only has to update the address of the frame buffer to
269 /* Declare buffer for 1/10 screen size; BYTES_PER_PIXEL will be 2 for RGB565. */
272 /* Set display buffer for display `display1`. */
278 If only one buffer is used, LVGL draws the content of the screen into
279 that draw buffer and sends it to the display via the :ref:`flush_callback`. LVGL
281 (that is, the content of the buffer has been sent to the
287 If two buffers are used LVGL can draw into one buffer while the content
288 of the other buffer is sent to the display in the background. DMA or
299 Draw buffer(s) are simple array(s) that LVGL uses to render the display's
300 content. Once rendering is has been completed, the content of the draw buffer is
321 * Inform LVGL that flushing is complete so buffer can be modified again. */
339 complete to inform LVGL that the buffer is available again to render new content
393 rotate the buffer in the :ref:`flush_callback` function.
399 are rendered directly in the frame buffer so they cannot be
400 rotated later. Therefore in direct mode only the whole frame buffer can be rotated.
404 can be rotated on their own before flushing to the frame buffer.
412 /*Rotate a partially rendered area to another buffer and send it*/
426 /*Have a buffer to store the rotated area and perform the rotation*/
431 /*Use the rotated area and rotated buffer from now on*/
441 into a **frame buffer of the LCD peripheral**.
445 /*Rotate a partially rendered area to the frame buffer*/
453 /*Calculate the properties of the source buffer*/
457 /*Calculate the properties of the frame buffer*/
492 It's very important that draw buffer(s) should be large enough for the
548 When setting up the buffers for rendering (:cpp:func:`lv_display_set_buffers`), make the buffer 8 b…
549 This is necessary because LVGL reserves 2 x 4 bytes in the buffer, as these are assumed to be used …
554 In full and direct modes, the buffer size should be large enough for the whole screen,
560 buffer in I1 color format from a row-wise (htiled) to a column-wise (vtiled) buffer
562 different draw buffer mapping. The function assumes that the buffer width and height
563 are rounded to a multiple of 8. The bit order of the resulting vtiled buffer can be
636 …r:`LV_DISPLAY_RENDER_MODE_DIRECT` mode on an 800x480 screen, the display buffer is 800x480 = 375k …
646 In :cpp:enumerator:`LV_DISPLAY_RENDER_MODE_DIRECT`, the screen-sized draw buffer is divided by the …
650 …`LV_DISPLAY_RENDER_MODE_PARTIAL`, the partial buffer is divided into tiles. For example, if the dr…
702 multi-display support. Just transfer the buffer received in the first display's
714 3. send the buffer's content to each real display with the truncated area.