From: Brian P. <bri...@tu...> - 2008-12-17 15:25:17
|
조성원 wrote: > Hi. > > > > I compiled Mesa-7.2 using swrast DRI on X11R7.4. > > > > Almost Mesa-demo apps(e.g : glxgear) works well but glxgears_pixmap > didn't work well. > > > > I debuged glxgear_pixmap and Mesa-7.2 source code. > > > > And I found which function is failed. > > > > Inside of glxgear_pixmap source code, make_window() calls > glXCreatePixmap() but glXCreatePixmap returns NULL. > > > > I traced glXCreatePixmap() and found that driCreateDrawable() in > drisw_glx.c makes problem. > > > > driCreateDrawable() checks 2nd arg xDrawable and 3th arg drawable is > same or not. > > > > --------------------------------------- > > if (xDrawable != drawable) > > return NULL; > > --------------------------------------- > > > > Because xDrawable and drawable is different driCreateDrawable() return NULL. > > > > glXCreatePixmap() is not supported in swrast DRI? or Mesa didn't support > glXCreatePixmap() ? > > > > Actually I also failed run glxgear_pixmap in R200 DRI(ubuntu 8.10 linuxbox). > > > > Can anybody help me please? I'm not sure that GLXPixmaps ever worked. Nowadays, pbuffers and Framebuffer Objects are the preferred way to go. -Brian |