Re: CE 6.0 Display Driver Rotation
- From: "Steve Araiza" <saraiza@xxxxxxxxxxxxxx>
- Date: Fri, 26 Oct 2007 12:07:30 -0400
Thanks Graeme,
I looked at the VGAFLAT driver, it seems to do the same thing the mainstone
III driver
does. I copied the HFLAT driver (since it is the simplest driver) and
modified according
to your recommendations (and the examples). It behaves exactly the same,
rotating 90
degrees works but does not draw the last strip (320-240=80 pixels).
It's so close! Any suggestions?
Could it be that I need to derive from DDGPE instead of GPE?
See the GPEFlat driver, but the important bits you need to take are:
GPEFlat::GPEFlat()
..
m_iRotate = GetRotateModeFromReg();
SetRotateParams();
m_pPrimarySurface->SetRotation(m_nScreenWidth, m_nScreenHeight,
m_iRotate);
GPEFlat::DrvEscape(
support QUERYESCSUPPORT to show DRVESC_GETSCREENROTATION and
DRVESC_SETSCREENROTATION
support DRVESC_GETSCREENROTATION
support DRVESC_SETSCREENROTATION
--
GraemeW
Blog - http://ce4all.blogspot.com
.
- References:
- CE 6.0 Display Driver Rotation
- From: Steve Araiza
- Re: CE 6.0 Display Driver Rotation
- From: GraemeW
- CE 6.0 Display Driver Rotation
- Prev by Date: Re: Powerbutton pressed detection
- Next by Date: NET2280
- Previous by thread: Re: CE 6.0 Display Driver Rotation
- Next by thread: Re: CE 6.0 Display Driver Rotation
- Index(es):