It is pretty confusing to read documentation that speaks about abstract pixels, with some vague connection to bytes in video memory, system memory and the ways Python protects people from messing with those.
I am trying to start with representation of pixel data in Python list and documentation doesn't give me a glue how can I convert it to picture. For that, I need to know:
- what input buffer formats of raw pixel data are used by SDL2
- how do these look in PySDL2 and why
- what is the transformation chain from Python variable to pixel on the screen
- how does Python hides direct access to memory (why it is slow)
Actually, the (1,3) are the two most important.