Skip to main content
KDubo
Associate II
June 23, 2021
Question

How to use TouchGFX framebuffer to mirror x axis only

  • June 23, 2021
  • 0 replies
  • 829 views

Long story short, I have a circular MIPI-DSI display and need to rotate the image by 180 deg. I've read the SW-only implementation post here, but it specifically mentions that this makes memory use highly inefficient, which is not ideal for our battery powered device. The manufacturer of the display recommended that the 180 degree flip is done with flipping just the x-axis in TouchGFX code (basically just changing x coordinates to 454-x (454 is the max disp width)) and then using a scan direction switch command on their display HW to flip the y-axis. Ideally this all would be completely transparent to the higher level TouchGFX code - i.e. the graphics configuration utility would know nothing about this and would just let me configure a normal display view. Any thoughts on the best approach to this as well as if there is any benefit to this approach vs just doing the whole rotation in SW as shown in the thread above? Thanks in advance!

This topic has been closed for replies.