<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Hi --<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Earlier I had asked what version of OpenGL is supported by MacPorts' version of mesa, and then was distracted by other issues and never got to the next part of the question... 
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Mesa 17.1.6 nominally supports OpenGL 4.5, but glxinfo says it's only 2.1:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">>> port installed mesa<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">The following ports are currently installed:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">  mesa @17.1.6_0+osmesa+python27 (active)<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">>> glxinfo -B<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">name of display: /private/tmp/com.apple.launchd.BNMe1Dpa8w/org.macports:0<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">display: /private/tmp/com.apple.launchd.BNMe1Dpa8w/org.macports:0  screen: 0<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">direct rendering: Yes<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">OpenGL vendor string: ATI Technologies Inc.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">OpenGL renderer string: ATI Radeon HD 5770 OpenGL Engine<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">OpenGL version string: 2.1 ATI-1.68.20               <-----------------------------<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">OpenGL shading language version string: 1.20<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">What do I have to do to get at least version 3.2?   I'm using vtk 8.1.1 and it requires OpenGL 3.2 or later.   <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If I build vtk for Cocoa and install all ports with "+quartz -x11", then vtk works properly, using the OpenGL libraries provided by the system.  But that requires building all ports with "+quartz -x11", which is a pain, and not something
 that I can easily ask of other users of our software.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">    Steve <o:p></o:p></p>
</div>
</body>
</html>