IMX6SX, How to rotate QT Widget using PXP?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6SX, How to rotate QT Widget using PXP?

1,021 Views
janghyun
Contributor I

Hi,

I want  to rotate the whole LCD screen 90 degrees.(Portrait -> Landscape)

So, I wonder how to make QT uses the "PXP" instead of the "linuxfb"  to rotate the QT Widget.

Or, is there any other way to rotate LCD screen by handling the kernel framebuffer(mxcfb.c) or PXP(pxp_dma_v2.c) driver ?

SW Version :

Linux version 3.10.53

QT version 5.4

Labels (4)
Tags (2)
0 Kudos
1 Reply

744 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Janghyun,

The frame buffer driver can't support rotation, only Flip is supported. Hardware (IDMAC for display) has no such feature.

In normal case, the rotation should be implemented in graphics manager middleware, such as X11 and Android SurfaceFlinger.

 

If you don't have graphics manager middleware, you can reference to "i.MX_Graphics_User's_Guide.pdf" (Source cropping and destination rotation) from BSP released documents. The G2D API can also be used to rotattion the source buffer and render it to framebuffer.

Regards

0 Kudos