On Fri, 6 Feb 2004, Filip Van Raemdonck wrote:

> On Thu, Feb 05, 2004 at 02:46:36PM -0800, Andrew P. Lentvorski, Jr. wrote:
> > I can create a glconfig by using the statement:
> >
> >         glconfig = gtk.gdkgl.Config(attrib_list = (gtk.gdkgl.RGBA,
> >                                                    gtk.gdkgl.DOUBLEBUFFER,
> >                                                    ))
> <...>
> > [EMAIL PROTECTED]:andrewl$ glxinfo
> > <lots of gunk deleted>
> >    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
> >  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
> > ----------------------------------------------------------------------
> > 0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
> > 0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
> this is doublebuffered -/^             /^
> but these two have no alpha channel --/
>
> So it seeing what you requested, it should be a different visual, not
> listed here. Unless there is none matching exactly your request.

Good observation.  I have omitted the next 22 visuals as I figured nobody
really wanted to see them.

In addition, visual id 0x23 can get returned for an RGBA request and the
alpha channel works fine.  I have checked this in C.  The bug appears to
be in glxinfo.

The original question still remains open, however.

-a
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to