2022-03-15 04:38 AM
Hello,
Is it possible to change partial buffer drawing from pixel rows to columns?
I have partial buffer allocated for 3 rows (lines), so that lines 1-3 are drawn first, then lines 4-6, 7-9 ...
I would like to change it to rows: rows 1-3 first, then 4-6....
Background:
Our display has native orientation in columns (we use it rotated by 90 degrees) and the fact that TouchGFX generates update by rows and display is refreshed column-wise causes very visible diagonal tearing effect. Having the tear line vertical would be less irritating.
Thanks,
Petr
2022-03-15 07:51 AM
Hello @PWagn.1 ,
Unfortunately the answer is no, you cannot change the drawing orientation from rows to columns.
Can you please share your display type (or manual) ? We would like to understand why your display native drawing orientation is vertical and not horizontal.
Thanks,
/Yoann
2022-03-15 08:27 AM
Hi Yoann,
inside the display there is ST7789V2 driver (used in Display data RAM mode + TouchGFX with partial buffer), datasheet is available e.g. here:
https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/lcd/ST7789V2_SPEC_V1.0.pdf
which (per my understanding) natively support resolution 240x320 (the screen in portrait orientation), whereas I would like to use it in landscape orientation (320x240), hence the rotation by 90° and rows changed to columns.
Thanks,
Petr
2022-03-20 06:41 AM
Study MADCTL register in LCD
2022-03-21 01:45 AM
2022-03-28 01:08 AM
Hello @PWagn.1 ,
Just to be sure, did you try to change your display orientation in TouchGFXDesigner ?
It could be a way to achieve what you want.
Go to Config>Display>Display orientation.
/Yoann