2020-07-03 02:07 AM
2020-07-07 08:23 AM
Hi,
Short answer, the 180° rotation is not supported by TouchGFX.
But what is your setup? A lot of displays allow this rotation at a driver level. Another option is to rotate the framebuffer but this is at the expense of a lot of performance loss. You can find how Martin implemented it here in an other post.
/Romain
2020-07-07 08:42 AM
Hi Romain, thanks for the link. I hadn't seen it before.
I managed to implement it at driver level, by reversing every row, byte and bit in the 1bpp framebuffer. I was really hoping for a more efficient solution and one that would also work for the simulator too, given that 90 degree rotation is supported.
Thanks
Simon
2020-07-08 12:52 AM
Parallel interface (8080, 6800) displays can do this by setting MADCTL registers, but is driver level flipping possible in RGB interface displays?
Or maybe one can populate framebuffer back-to-front, I don't know...
2020-07-10 05:56 AM
Another question is relating to my 1bpp black/white screen. In the framebuffer, 0xFF is all white and 0x00 is black/other colour/not set. This causes 2 problems:
2020-07-15 08:16 AM
Hello, any idea about the 1bpp screen? I've had to add a white box on every screen and save all PNG files as 1bpp. I would have expected that the framebuffer is black only when any pixel is explicitly black.