From: <he...@ho...> - 2001-11-14 20:28:01
|
James Simmons writes: > > Hi folks. I finally hammered a newer api for framebuffer devices. I > adapted skeletonfb.c to show it off. Feedback welcomed. > > /* > * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device > * ... > /** > * xxxfb_imageblit - REQUIRED function. Can use generic routines if > * non acclerated hardware and packed pixel based. > * Copies a image from system memory to the screen. > * > * @info: frame buffer structure that represents a single frame buffer > * @image: structure defining the image. > * > * This drawing operation draws a image on the screen. It can be a > * mono image (needed for font handling) or a color image (needed for > * tux). > */ > void xxxfb_imageblit(struct fb_info *p, struct fb_image *image) > { > } Which bit ordering will be used? Leftmost = MSb (as in console fonts) or leftmost = LBb (as in XFree, at least in nVidia driver, which I'm familiar with)? -- Jindrich Makovicka |