Sorry, I realize the numbers are self-consistent - they just don't match reality. After a bit more experimenting reality is:
buffer_width = 64 buffer_height = 64 buffer_stride = 4*64
Which is less odd that I what I thought was happening yesterday (teaches me to count pixels on the screen).
But these values are reported as:
buffer_width = 256 buffer_height = 259 buffer_stride = 1024
Sorry, I realize the numbers are self-consistent - they just don't match reality. After a bit more experimenting reality is:
buffer_width = 64
buffer_height = 64
buffer_stride = 4*64
Which is less odd that I what I thought was happening yesterday (teaches me to count pixels on the screen).
But these values are reported as:
buffer_width = 256
buffer_height = 259
buffer_stride = 1024