Summary: | wglCreateContextAttribsARB is missing in software rasterizer and does not work properly in gallium gdi target either | ||
---|---|---|---|
Product: | Mesa | Reporter: | turboloops |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | turboloops |
Version: | 10.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
turboloops
2014-03-04 23:26:16 UTC
The windows gdi target/driver only supports OpenGL 2.1. Where do you see that version 3.1 is supported on Windows in the docs? In any case, glGenFrameBuffers() should work with an OpenGL 2.1 context. In what way is that failing? Ok, so I can make the glGenFrameBuffers work now and also it seems to work better by just calling the wglCreateContextAttribs function with absolutely no attribs, just a pointer to zeroes. I would still like to know how to make it OpenGL 3.1 proper as the release documentation says. In the release notes of the newer versions it states that version OpenGL 3.1 is supported but the version returned is 2.1 by glGetString. Then it goes on to say that the 3.1 is available by creating a context that supports 3.1. I mean it does not say anything specific about Windows or Linux etc, so I was thinking now I could start running all the shaders and things using the software rasterizer which would help to build some other API. But the glGenFrameBuffers is good, and the error seems to be related to something in my code, but the wglCreateContextAttribsARB is a headache from any perspective when trying to get at OpenGL 3.1. I think you can just go ahead and close this report, I mean if it simply is not there then no problem. A table of supported stuff per target instead of Mesa version would be very cool for those looking to get busy on windows. I was browsing through the code and saw shaders and what seemed like swrast compilers so I just assumed from the release notes that OpenGL 3.1 was ready to go for the software rasterizer. My mistake. Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.