A simple accelerated GL compositor

Tomasz Torcz zdzichu at irc.pl
Sun Jul 9 03:45:33 PDT 2006


On Sat, Jul 08, 2006 at 11:39:33PM +0100, Felix Bellaby wrote:
> Tomasz Torcz wrote: 
> > > Could you try changing GLX_DRAWABLE_TYPE (line 1154) to GLX_PIXMAP_BIT
> > > (i.e. drop the redundant GLX_WINDOW_BIT) ? This _might_ get you past the
> > > ChooseFBConfig even with GLX_ALPHA_SIZE set to 1 (line 1152).
> > 
> >   Tried that, too. It doesn't work in way similar to very first failure.
> 
> Just so that I am sure that we are on the same wavelength, could you try
> setting up the fbc attributes as follows:
> 
> line 1051:
>  int fbc_attr_mirror[] = {
>     GLX_DOUBLEBUFFER,  False, 
>     GLX_DEPTH_SIZE,    0,
>     GLX_RED_SIZE,      1,
>     GLX_GREEN_SIZE,    1,
>     GLX_BLUE_SIZE,     1,
>     GLX_ALPHA_SIZE,    1,
>     GLX_RENDER_TYPE,   GLX_RGBA_BIT,
>     GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT,
>     None
>   };
> 
> line 1146:
>   int fbc_attr_root[] = {
>     GLX_DOUBLEBUFFER,  False, 
>     GLX_DEPTH_SIZE,    16,
>     GLX_RED_SIZE,      1,
>     GLX_GREEN_SIZE,    1,
>     GLX_BLUE_SIZE,     1,
>     GLX_ALPHA_SIZE,    1,
>     GLX_RENDER_TYPE,   GLX_RGBA_BIT,
>     GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT,
>     None
>   };

  Exits, hitting "return 1" in line 1166.

-- 
Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
zdzichu at irc.-nie.spam-.pl          Ziomale na życie mają tu patenty specjalne.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060709/9deb923f/attachment.pgp>


More information about the xorg mailing list