JamesCool
Mon Mar 31 01:15:55 PDT 2008
Hi Valter Minute,
Thanks a lot for your advice.
I will first try to modify the default display driver that come with the
Mainstoneii BSP to verify the concept..
Best regards,
JamesCool
Valter Minute wrote:
>[...]
>> Thanks Valter Minute,
>>
>[quoted text clipped - 3 lines]
>> back, it seem will end up the original resoultion, or could you
>> give some example?
>
>That's the default behaviour.
>For GPE-based drivers the SetRotation member of GPESurf accepts screen
>widt and height as input and at this point you can change resolution.
>You will need to change also m_nScreenWidthSave, m_nScreenHeightSave,
>m_cbScanLineLength members of your GPE object to match those required
>by the new res and make sure that the main surface allocated at
>startup is big enough to hold the highest-resolution you can select.
>
>This is a "hack", so I can't grant that it works on any driver and
>without causing some application issues.
>The PXA27X driver released inside the mainstone II BSP was not as
>"Production Quality" as you can expect.. so changing it may be a bit
>complex. Re-implementing usign the generic-VGA GPE-based driver and
>moving only LCD-controller initialization code to it may made the
>transition simpler.
>
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200803/1