Date: Wed, 27 Apr 2005 07:05:50 -0700 (PDT) From: alain volmat Subject: [nanogui] [PATCH] optional FBLIN* support Hi all, this is a little patch (well .. the diff file is not that little ... ), which allows to compile only some of the framebuffer format (instead of ALL with current source). Well, to be honest, I'm not really proud of that patch. It's just playing a bit with preprocessor and finally just make the code harder to read. But anyway, still, I send this patch and so people can give their opinion about it or even send a better patch to make it more beautiful. Simple results are: (striped nano-X) with full support FRAMEBUFFER = Y FRAMEBUFFER_LIN1 = Y FRAMEBUFFER_LIN2 = Y FRAMEBUFFER_LIN4 = Y FRAMEBUFFER_LIN8 = Y FRAMEBUFFER_LIN16 = Y FRAMEBUFFER_LIN24 = Y FRAMEBUFFER_LIN32 = Y FRAMEBUFFER_LIN32ALPHA = Y -rwxrwxr-x 1 alain alain 334684 Apr 27 22:50 bin/nano-X with only 32bit linear support FRAMEBUFFER = Y FRAMEBUFFER_LIN1 = N FRAMEBUFFER_LIN2 = N FRAMEBUFFER_LIN4 = N FRAMEBUFFER_LIN8 = N FRAMEBUFFER_LIN16 = N FRAMEBUFFER_LIN24 = N FRAMEBUFFER_LIN32 = Y FRAMEBUFFER_LIN32ALPHA = N -rwxrwxr-x 1 alain alain 301468 Apr 27 22:48 nano-X Alain __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com filename=patch_fblin