Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly
#64
A frame buffer is normally a buffer provided by the hardware (using memory-mapped I/O (MMIO) or DMA) or by the driver where the userspace can just write to the predetermined address. So yes, using the pointer returned by the driver is how you use it. If you want to allocate your own buffer, that would be double-buffering, so then you need to "blit" (copy) your double buffer into the real frame buffer regularly (usually in some interrupt handler, synchronized to the screen refresh to avoid flickering). It can make sense on some hardware, not so much on other hardware. I do not know the internals of the PinePhone display hardware well enough to be able to tell you whether it makes sense here. (Well, technically, some hardware also allows you to remap its DMA to a different address, provided by you, usually under some constraints such as a minimum alignment, but I do not know whether this is possible on the PinePhone.)
  Reply


Messages In This Thread
RE: Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly - by Kevin Kofler - 09-09-2023, 05:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  asterisk or FreePBX on pinephone? vanja 0 483 06-16-2026, 09:24 AM
Last Post: vanja
  Jami on Pinephone [ IM and VOIP ] p1trson 15 23,357 06-16-2026, 05:02 AM
Last Post: marlboro1950
  Movuan distribution for PinePhone merom 6 7,062 06-04-2026, 02:10 AM
Last Post: merom
  Latest firmware for PinePhone modem! Subsentient 106 233,947 04-03-2026, 08:37 AM
Last Post: baptx
  Fedora + Phosh for PinePhone njha 77 221,835 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 1,023 11-17-2025, 07:49 AM
Last Post: danm1988
  How-To: Remote Control Your Phone from Desktop via VNC biketool 16 14,479 10-16-2025, 06:55 AM
Last Post: biketool
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 4,233 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Jami on the Pine phone ? bcnaz 8 15,594 06-09-2025, 04:17 PM
Last Post: j_s
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 66,740 12-28-2024, 12:19 AM
Last Post: mara

Forum Jump:


Users browsing this thread: 1 Guest(s)