[Mesa-users] Question about support for OpenGL 3.2 Core context

Ken Martin ken.martin at kitware.com
Tue Dec 15 08:50:06 PST 2015


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.

Thanks again!
Ken

On Mon, Dec 14, 2015 at 8:11 PM, Brian Paul <brianp at vmware.com> wrote:

> Hi Ken,
>
> 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.
>
> If you can apply/test, or at least look things over, that'd be great.
>
> The code isn't final, but should be testable.
>
> -Brian
>
>
> On 12/11/2015 06:22 PM, Ken Martin wrote:
>
>> Definitely, we can change our call. We just might have to add an #ifdef
>> to handle cases where people are building against an older version of
>> mesa so that we can handle both.
>>
>> Thanks
>> Ken
>>
>> On Fri, Dec 11, 2015 at 7:45 PM, Brian Paul <brianp at vmware.com
>> <mailto:brianp at vmware.com>> wrote:
>>
>>     On 12/11/2015 02:22 PM, Ken Martin wrote:
>>
>>         OK so the specific failure point appears to be OSMesa with
>>         llvmpipe. For
>>         some reason we are getting a 3.0 context instead of 3.2. I am
>>         not sure
>>         how to request a 3.2 context from OS mesa. We are just doing a
>>         OSMesaCreateContext(GL_RGBA,0) Is there an argument or build
>>         option to
>>         get 3.2?
>>
>>
>>     Hmm, I think we'll have to add a new version of OSMesaCreateContext
>>     to be able to specify a core profile so that GL 3.3 can be used.  If
>>     I do that, can you adapt your code to use the new entrypoint?
>>
>>     Otherwise, I'd have to hack something.  Maybe an env var.
>>
>>     -Brian
>>
>>
>>
>>
>> --
>> Ken Martin PhD
>> Chairman & CFO
>> Kitware Inc.
>> 28 Corporate Drive
>> Clifton Park NY 12065
>> 518 371 3971
>>
>> 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.
>>
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20151215/be2e854c/attachment.html>


More information about the mesa-users mailing list