IMX6SX, How to rotate QT Widget using PXP?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6SX, How to rotate QT Widget using PXP?

1,148件の閲覧回数
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 返信

871件の閲覧回数
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 件の賞賛
返信