<div dir="ltr"><div><div><div><div>Hey all,<br><br>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?<br>
<br></div>My configure command is the following:<br>./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<br><br></div>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. <br>
<br></div>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.<br>
<br></div>Any help would be most appreciated!<br>Thanks,<br>Mike<br></div>