How to shift color bits in fbdev?
Gregoire Gentil
gregoire at gentil.com
Mon Mar 16 11:14:40 PDT 2009
Michel,
Problem fixed. Patching the line
*win++ = (*sha++)>>2;
in shadowUpdatePacked of shpacked.c made the trick. It was just adding
three characters!
Many thanks to Maarten and Daniel for their help though I didn't manage
to make it work with wfb. I don't know what I'm doing wrong on this
patch - The patch in the thread may be useful to somebody else perhaps.
Thanks to Michel for bringing the quick and dirty solution,
Grégoire
P.S.: Hey Michel, next time, please answer before the week-end. That
will spare me the 200 tries with xf86-video-fbdev on Saturday and Sunday
night when I'm successful at the first try with xorg-server ;-) ;-)
On Mon, 2009-03-16 at 07:58 +0100, Michel Dänzer wrote:
> On Son, 2009-03-15 at 11:08 -0700, Gregoire Gentil wrote:
> >
> > - the background is still with a darken opacity
> > - the problem around the transparent icons have disappeared
> > - the png background of the bottom panel has the exact perfect colors
> > (no opacity problem) and it's a complex png shading background.
> > - The icons in the start menu have 95% of the right colors.
>
> FWIW, if you aren't going to use hardware acceleration, then the shadow
> layer (and fixing up the pixel format in the shadowUpdate hook) is
> probably a better solution than wfb.
>
>
More information about the xorg
mailing list