[Mesa-users] Question about support for OpenGL 3.2 Core context
Brian Paul
brianp at vmware.com
Mon Dec 14 17:11:44 PST 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa.patch
Type: text/x-patch
Size: 10703 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20151214/0edeb12f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demos.patch
Type: text/x-patch
Size: 1531 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20151214/0edeb12f/attachment-0001.bin>
More information about the mesa-users
mailing list