[oe] [RFC] Adding screen dimensions to machine configs

Graeme Gregory dp at xora.org.uk
Mon Jul 9 14:03:38 UTC 2007


On Mon, Jul 09, 2007 at 03:52:45PM +0200, Dr. Michael Lauer wrote:
> Heh, it's not just Opie. Eventually we may want to ship prerendered png's for
> UI elements. We better know about the size and dpi of the displays to
> get sane defaults. There's a whole lot of packages which could use the
> MACHINE namespace to improve targetting the platforms specifics at
> build time.
> 
I just worry what happens to machines without screens but that can have
gfx cards added. By the current level of thought behind these variables
a divide by zero is inevitable.

It also triggers my gut feeling of "this is the wrong way to crack the nut"

> What makes you worry so much about adding more (imho necessary)
> information to the MACHINE_ capability namespace?
> 
Nothing, but these variables seem little thought out and seem to be being
rushed into use for one use case (opie backgrounds).

And if it is neccessary then it should be the "correct" information, like
for spitz the screen is 480x640 by default. Deal with it in packages that
wish to use rotation correctly. Not just this value makes it easy for my
magic background generator.

Maybe a MACHINE_DEFAULT_ROTATION is also needed.

Graeme





More information about the Openembedded-devel mailing list