Re: [PATCH] [2.5.21] CyberPro 32bit support and other fixes

From: Denis Oliver Kropp (dok@directfb.org)
Date: Sat Jun 15 2002 - 05:55:47 EST


Quoting James Simmons (jsimmons@transvirtual.com):
>
> > Why is the pseudo palette used anyway?
>
> Its a fast way for the console to grab the proper console index color to
> draw to the framebuffer. Otherwise we have to regenerate the color all the
> time. Plus it is always endian code for us :-)

I didn't mean the array of colors for the console, but the usage of
the hardware palette for modes != 8 bit.

> > There's no speed benefit and
> > applications running in true/direct color would look wrong.
>
> For userland no but for the kernel we do have a benifiet.

There's no speed benefit if you write "index|index|index" into the
framebuffer instead of "red|green|blue".

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------"

Convergence GmbH - 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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:33 EST