IMX6SX, How to rotate QT Widget using PXP?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6SX, How to rotate QT Widget using PXP?

1,164 次查看
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

标签 (4)
标记 (2)
0 项奖励
回复
1 回复

887 次查看
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 项奖励
回复