Re: Mesa + llvmpipe + wglCreateContextAttribsARB
Ken Martin <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CANXz0SYNsA9xQ4Y9kSAPht+07X5gsuNL8WRtj5AavcLvtbiBVA@mail.gmail.com> |
Thanks Brian, We were not providing a WGL_CONTEXT_PROFILE_MASK_ARB so it should be landing on core so I'm probably barking up the wrong tree. I'll see if I can track down a bit more on my end. Thanks so much for responding Ken On Thu, Sep 29, 2016 at 7:54 PM, Brian Paul <[email protected]> wrote: > On 09/29/2016 07:06 AM, Ken Martin wrote: > >> >> Howdy, >> >> Does someone here know if Mesa supports wglCreateContextAttribsARB ? We >> have someone deploying using Mesa to a Windows VM and they are running >> into issues that make me suspect that wglCreateContextAttribsARB is >> either not implemented or not correctly returning a >= 3.2 context. This >> is with llvmpipe as a renderer. If wglCreateContextAttribsARB is not >> implemented is there another way to get a 3.2 context from Mesa on >> windows that I should be looking at? >> >> Thanks a bunch! >> Ken >> > > wglCreateContextAttribsARB is supported. > > My first hunch is this is a core vs. compatibility profile issue. Since > Mesa only supports core profile for GL 3.2 and later, when you call > wglCreateContextAttribsARB() you have to specify the profile attribute as > core (WGL_CONTEXT_PROFILE_MASK_ARB = WGL_CONTEXT_CORE_PROFILE_BIT_ARB). > > -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. _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users