: As far as I understand, the screen resolution and the pixtype have to be set : in the makefile and you compile the package to that settings.
No for both. The screen resolution is queried at runtime and used dynamically. Likewise, the pixel type is queried at runtime and a screen subdriver selected for drawing that bpp (bits per pixel). However, the particular subformat, e.g. RGB565 or RGB555 must be set at compile time. The same config entry also sets the internal storage size used for GrReadArea and the like. Currently, this is a bit confusing and I hope to change this in the 0.93 release, where the internal pixel size and subformat are specified seperately. : : If you supply binary packages you want the user to be able to select these : settings depending on his/her machine without recompiling. This should be no problem, the current nano-X server works this way by dynamically querying the kernel on linux. (see drivers/scr_fb.c) : : Is it possible to set these using an environment variable or else? nanox/srvmain.c uses -x # and -y # to specify the screen resolution when running on top of X11. Other options could easily be added to scr_fb.c, by reading environment variables. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org