Fw: radeon driver GLX pixmap support

Stephen Winiecki stevewin at us.ibm.com
Mon Feb 11 07:58:14 PST 2008


Michel Dänzer <michel at tungstengraphics.com> wrote on 02/11/2008 08:18:30 
AM:

> 
> On Fri, 2008-02-08 at 16:34 -0500, Stephen Winiecki wrote: 
> > It is my understanding that the current open source radeon driver does 
not 
> > have GLX pixmap support, but it is being worked on?  Can someone 
provide 
> > status or a pointer to discussion of this support being added?
> 
> The biggest roadblock is the pending DRI2 rework, and porting the radeon
> driver(s) to it.

Thanks for your response.  Can you provide a bit more detail on the actual 
issue?  Are you saying that without the new DRI2 implementation this 
function cannot be supported by the driver? 

> 
> > Also - someone told me that ARGB8888 cannot be configured in GLX (they 

> > were using PPC, Xorg 7.1.1).  Is this true?
> 
> Not per se - I'm typing this on a PowerBook running compiz with some
> partially translucent ARGB8888 windows. :) I'm using more or less
> current Git snapshots though, but this has been working at least since
> xserver 1.3 or thereabouts. We'd need to get more information about this
> problem.
Debian Etch is being used - xserver-xorg = 7.1.0-19, xserver-xorg-core = 
1.1.1-21.  So we may need an upgraded xserver for this to work?

In some test code, glXChooseVisual is failing when configured for RGBA8888 
as follows:

        int cfg_attr[] = {
                GLX_RGBA,
                GLX_DOUBLEBUFFER,
#ifdef RGBA8888
                // RGBA8888: 32bits per pixel
                GLX_BUFFER_SIZE, 32,
                GLX_RED_SIZE, 8,
                GLX_GREEN_SIZE, 8,
                GLX_BLUE_SIZE, 8,
                GLX_ALPHA_SIZE, 8,
#else
                // RGB565: 16bits per pixel
                GLX_BUFFER_SIZE, 16,
                GLX_RED_SIZE, 5,
                GLX_GREEN_SIZE, 6,
                GLX_BLUE_SIZE, 5,
#endif
                0
        };

        display = XOpenDisplay(NULL);

        visualInfo = glXChooseVisual(display, DefaultScreen(display), 
cfg_attr);
        if (!visualInfo) {
                printf("glXChooseVisual FAILED\n");
                exit(1);
        }




More information about the xorg mailing list