<div dir="ltr">Thanks a bunch Brian! As you heard it seems to work great and I'll get the changes into VTK to take advantage of it.<div><br></div><div>Thanks again!</div><div>Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 8:11 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ken,<br>
<br>
I'm attaching two patches, one against mesa which implements the new OSMesaCreateContextAttribs() function, and a second patch against mesa-demos which tests it with the osdemo.c program.<br>
<br>
If you can apply/test, or at least look things over, that'd be great.<br>
<br>
The code isn't final, but should be testable.<br>
<br>
-Brian<br>
<br>
<br>
On 12/11/2015 06:22 PM, Ken Martin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Definitely, we can change our call. We just might have to add an #ifdef<br>
to handle cases where people are building against an older version of<br>
mesa so that we can handle both.<br>
<br>
Thanks<br>
Ken<br>
<br>
On Fri, Dec 11, 2015 at 7:45 PM, Brian Paul <<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a><br>
<mailto:<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>>> wrote:<br>
<br>
On 12/11/2015 02:22 PM, Ken Martin wrote:<br>
<br>
OK so the specific failure point appears to be OSMesa with<br>
llvmpipe. For<br>
some reason we are getting a 3.0 context instead of 3.2. I am<br>
not sure<br>
how to request a 3.2 context from OS mesa. We are just doing a<br>
OSMesaCreateContext(GL_RGBA,0) Is there an argument or build<br>
option to<br>
get 3.2?<br>
<br>
<br>
Hmm, I think we'll have to add a new version of OSMesaCreateContext<br>
to be able to specify a core profile so that GL 3.3 can be used. If<br>
I do that, can you adapt your code to use the new entrypoint?<br>
<br>
Otherwise, I'd have to hack something. Maybe an env var.<br>
<br>
-Brian<br>
<br>
<br>
<br>
<br>
--<br>
Ken Martin PhD<br>
Chairman & CFO<br>
Kitware Inc.<br>
28 Corporate Drive<br>
Clifton Park NY 12065<br>
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><br>
<br>
This communication, including all attachments, contains confidential and<br>
legally privileged information, and it is intended only for the use of<br>
the addressee. Access to this email by anyone else is unauthorized. If<br>
you are not the intended recipient, any disclosure, copying,<br>
distribution or any action taken in reliance on it is prohibited and may<br>
be unlawful. If you received this communication in error please notify<br>
us immediately and destroy the original message. Thank you.<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>