[...]
> +void fbcon_accel_clear(struct vc_data *vc, struct display *p, int sy, int sx,
> + int height, int width)
> +{
> + struct fb_info *info = p->fb_info;
> + struct fb_fillrect region;
> +
> + region.color = attr_bgcol_ec(p,vc);
> + region.dx = sx * fontwidth(p);
> + region.dy = sy * fontheight(p);
> + region.width = width * fontwidth(p);
> + region.height = height * fontheight(p);
> + region.rop = ROP_COPY;
> +
> + info->fbops->fb_fillrect(info, ®ion);
So now fb_fillrect.color is always the index into the console palette?
Is there any way to specify a color that's not in the console palette? This is
very useful in {true,direct}color modes.
How does imageblit work for the logo now, i.e. does an image contain console
palette indices too?
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.orgIn personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/