Mesa -- Compile with Static Libraries (Gallium Softpipe)
"Michael H. Bao" <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAGmKy0YkFpiS1GcmisHB_pru4f7k245mK2oBS3m1+ZmPHYqpDQ@mail.gmail.com> |
Hey all, I am trying to compile Mesa3d (v9.1.3 and I've tried with v9.1.4 too) and I've run into some issues. Everything compiles fine and I am able to generate the libEGL.a, libGLESv1_CM.a, and egl_gallium.a files and I am able to link them to my program and have my program compile fine. However I seem to be getting an error where the dispatch table is always the NoOp table. Is there anything I could be doing wrong? My configure command is the following: ./configure --enable-debug --enable-egl --enable-gles1 --enable-gallium-egl --disable-gallium-gbm --disable-gallium-llvm --with-gallium-drivers=swrast --enable-static --disable-dri --disable-shared I modify some Makefiles so that Gallium becomes a built-in driver for EGL by adding -D_EGL_BUILT_IN_DRIVER_GALLIUM and -D_EGL_MAIN=_eglBuiltInDriverGALLIUM in the appropriate Makefiles. I tried to debug the u_current_set function where the dispatch table gets set and when I get into it, the tbl variable is a pointer to the right dispatch table (as far as I can tell) and at that point _glapi_Dispatch is the no-op table. As I step through, I reach the line where u_current_table = **** is called and then after that, _glapi_Dispatch is still the no-op table so I'm kind of confused as to what is going on here. Any help would be most appreciated! Thanks, Mike _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users