Skip to content

Sprite in psram on esp32 #3618

Jan 10, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Strait from tft_espi.readme:

Sprites

A Sprite is notionally an invisible graphics screen that is kept in the processors RAM. Graphics can be drawn into the Sprite just as they can be drawn directly to the screen. Once the Sprite is completed it can be plotted onto the screen in any position. If there is sufficient RAM then the Sprite can be the same size as the screen and used as a frame buffer. Sprites by default use 16-bit colours, the bit depth can be set to 8 bits (256 colours) , or 1 bit (any 2 colours) to reduce the RAM needed. On an ESP8266 the largest 16-bit colour Sprite that can be created is about 160x128 pixels, this consumes 40Kbytes of RAM. On an ESP32 the workspace RAM is m…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rozrabiak
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rozrabiak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants