32 bpp cursors?
hverbeet at gmail.com
Sat Feb 17 15:19:02 CST 2007
On 17/02/07, Duane Clark <dclark at akamail.com> wrote:
> Well, no server changes are needed just to implement 32 bits per pixel.
> There are rather simple changes needed in the file
> dlls/winex11.drv/mouse.c in create_cursor(), and the places that need to
> be changed are cleverly marked by "switch (ptr->bBitsPerPixel)" ;)
> I tried installing Google Sketchup, but could not get that to install.
> That said, it looks like 32 bit pixels use 8 bits each of RGB, plus an
> extra 8 bits of "alpha" (which apparently controls transparency). So
> probably you could duplicate the 24 bit case, read out the extra 8 bits
> and just throw them away for now. Standard X cursors don't support
> alpha, AFAIK.
The only thing that really needs cursors to be in the server is
passing cursor/icon handles around between processes.
More information about the wine-devel