[oe] [RFC] Adding screen dimensions to machine configs
Dr. Michael Lauer
mickey at vanille-media.de
Mon Jul 9 13:35:13 UTC 2007
Graeme Gregory wrote:
> On Mon, Jul 09, 2007 at 03:43:03PM +0300, Paul Sokolovsky wrote:
>> As was pointed out, interpretation of those vars should depend on
>> presence of "screen" in machine features. And yes, then we need to set
>> their bitbake.conf default to 0, so only screen'ed machines specify
>> them.
>>
>> Also a note of exact semantics of those vars - they provide *some
>> default* screen resolution and orientation. Actually not some, but the
>> most appropriate after-install default. So, in particular,
>> notebook-style keyboarded devices would have:
>>
>> MACHINE_DISPLAY_WIDTH_PIXELS=640
>> MACHINE_DISPLAY_HEIGHT_PIXELS=480
>>
>> A device with vertical PDA layout would have
>>
>> MACHINE_DISPLAY_WIDTH_PIXELS=480
>> MACHINE_DISPLAY_HEIGHT_PIXELS=640
>>
> The problem with this interpretation is that although spitz boots and looks
> like it is 640x480 it is in fact 480x640 with rotation. So it may just
> be a mistake in your example that spitz happens to show up. Or it may be
> something that has not been considered.
I agree with Paul's "they provide *some default* screen resolution and
orientation.". Almost all our screen devices can be rotated on-the-fly
anyway. The MACHINE_DISPLAY_ namespace is mainly UI frameworks and
applications, as much as native framebuffer rotations and stuff are
important to know, they're less relevant here.
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
More information about the Openembedded-devel
mailing list