videocore – Low-level routines for interacting with the Broadcom VideoCore GPU

Available on these boards
  • Diodes Delight Piunora
  • Raspberry Pi 4B
  • Raspberry Pi Compute Module 4
  • Raspberry Pi Compute Module 4 IO Board
  • Raspberry Pi Zero
  • Raspberry Pi Zero 2W
  • Raspberry Pi Zero W

class videocore.Framebuffer(width: int, height: int)

A VideoCore managed frame buffer.

Create a Framebuffer object with the given dimensions. Memory is

allocated outside of the heap in GPU memory.

The framebuffer is in “ARGB8888” format.

A Framebuffer is often used in conjunction with a framebufferio.FramebufferDisplay.

deinit() None

Free the resources (pins, timers, etc.) associated with this rgbmatrix instance. After deinitialization, no further operations may be performed.

width: int

The width of the display, in pixels

height: int

The height of the display, in pixels