<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - osmesa: Expose GL entry points for Windows build, via .def file"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92437">92437</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>osmesa: Expose GL entry points for Windows build, via .def file
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nigels.com@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=118837" name="attach_118837" title="git format-patch">attachment 118837</a> <a href="attachment.cgi?id=118837&action=edit" title="git format-patch">[details]</a></span>
git format-patch

As the GLEW maintainer, I've been looking to support OSMesa natively in GLEW,
when built in -DGLEW_OSMESA=1 mode.  I had some success with on Linux, but
linking with libOSMesa, rather than libGL.  However, the Windows scons build
does not export the OpenGL functions that GLEW needs, such as glGetString.

Linux:
$ nm -D /usr/lib/x86_64-linux-gnu/libOSMesa.so | grep glGetString
000000000026e620 T glGetString
0000000000270d40 T glGetStringi

I found that GLEW utilities glewinfo and visualinfo work on Windows with
OSMesa, given a patched osmesa.def, as attached.

- Nigel</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>