|
From: Geert U. <ge...@li...> - 2001-01-17 08:34:47
|
On Tue, 16 Jan 2001, James Simmons wrote:
> > How is this psuedo_palette used for new api?
>
> It is actually for the higher up fbcon layer. Traditional VTs only had
> psuedocolor modes so we have to fake it for video modes that don't have
> color maps. We can do things like:
>
> bgx = ((u16 *)p->dispsw_data)[attr_bgcol_ec(p, conp)];
^^^^^^^^^^^^^^
info->pseudo_palette
>
> Personally I hate it and wish their was another way around this.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
In 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
|