Thanks Bruce.
In the driver code of dispdrvr.c, there is a variable bDoRotation, which is
set FALSE for my LCD. I am not clear what this variable contols (Blt ??).
When I try to set it TRUE, however, the PXA27X_LCD driver throws a data
access exception.
Paul Wang.
"Bruce Eitman [eMVP]" wrote:

Paul:
It has been a while since I have looked into that kind of problem, but your
display driver isn't handling the rotation correctly. Search the driver for
something like rotate or angle and you should end up close to the problem
code.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Paul Wang" <PaulWang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AC1D4F4A-E67A-4E53-B851-5A1ABCF3C267@xxxxxxxxxxxxxxxx
Hi all,
I have posted a question "GDI/Rotation problem on ce6?" on 05/05/2009.
It seems there is no answer about it. May I explain my problem in more
detail:
My platform (phycore_pxa270_dk) is pxa270 based with a 240X320 screen.
The
LCD driver is similar to that of MainStone III except it supports 24 and
32
bpp.
I know there was a discussion of the similar issue here on 14/01/2008 and
Luca Calligaris answered the question. I followed Luca's solutioin and the
rotation works fine on startup.
However, dynamic rotation from applications has a promblem when 90|270
roatation is applied at startup. It looks like not repainting the last
strip
when rotating, while it looks all right when 0|180 rotation is applied at
startup though.
Paul Wang.
posted on 2011-09-16 17:46  Star.wang  阅读(216)  评论(0编辑  收藏  举报