> > Thanks! > > What are your modifications to fbdev.c? I guess just a few to add > the format.
Not much, just checks for color format and the following assignments: + case DSPF_BGR555: + var.red.length = 5; + var.green.length = 5; + var.blue.length = 5; + var.red.offset = 0; + var.green.offset = 5; + var.blue.offset = 10; + break; > You should not branch the system module for this. > > I didn't get that? Can you explain a bit please ? > > The pixel format list is getting too big to be builtin into the library > completely. I prefer modules rather than ifdefs, which requires more > effort, but also enables dynamic format registration via 3rd party > modules. > > So are you willing to accept this patch in the mainline or suspend till things get in the way as you describe... Regards, -- Semih Hazar _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
