Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FYI: new X server in -current, among other X things



matthew green <mrg%eterna.com.au@localhost> wrote:
>
> with a normal build, you should at least be able to get
> a stack trace with function names, if not line numbers.

The last function name that I get is drmmode_init().

Comparing the updated source with the working version shows this:

 {
 #ifdef GLAMOR_HAS_GBM
     ScreenPtr pScreen = xf86ScrnToScreen(pScrn);
+    modesettingPtr ms = modesettingPTR(pScrn);
 
     if (drmmode->glamor) {
-        if (!glamor_init(pScreen, GLAMOR_USE_EGL_SCREEN)) {
+        if (!ms->glamor.init(pScreen, GLAMOR_USE_EGL_SCREEN)) {
             return FALSE;
         }
 #ifdef GBM_BO_WITH_MODIFIERS
-        glamor_set_drawable_modifiers_func(pScreen, get_drawable_modifiers);
+        ms->glamor.set_drawable_modifiers_func(pScreen, get_drawable_modifiers);
 #endif
     }
 #endif

It looks like not all the functions are getting setup in the glamor
struct by load_glamor(), I'm guessing because those functions are
not exported by libglamoregl.so.

Do we need to add more source files to this:

src/external/mit/xorg/server/xorg-server/hw/xfree86/glamor_egl/Makefile


Home | Main Index | Thread Index | Old Index