Summary: | Feature request: implement wglMakeContextCurrentARB in Gallium | ||
---|---|---|---|
Product: | Mesa | Reporter: | Keith Kriewall <keith.kriewall> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | brianp, jfonseca |
Version: | 9.0 | ||
Hardware: | All | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Zip of wincopy for Windows |
Description
Keith Kriewall
2013-02-25 18:37:02 UTC
This sort of WGL extensions are quite tricky to get implemented right, because we have to workaround Microsoft OpenGL runtime and cheat it. Could you provide a simple test case for this? The mesa demo wincopy uses glMakeContextCurrent. If you need a test case beyond this, please let me know. mesademos/src/xdemos/wincopy.c is an X11 sample, not WGL. And to test this I'd really need a wglMakeContextCurrentARB. Please note that, spite the similarties between glXMakeContextCurrent and wglMakeContextCurrentARB the implementation of these are miles apart. A port of wincopy.c to WGL should be fine though. OK, we'll look at porting wincopy to Windows, or writing another test application. We're booked up for several days, but I'll get it to you ASAP. Created attachment 75990 [details]
Zip of wincopy for Windows
Wincopy ported to Windows is attached, as a Dev Studio 2010 solution/project and source. Build as debug or release, and run on any machine with reasonably recent video hardware to see the application run. Then copy the gallium Mesa3D library (either softpipe or llvmpipe drivers) into the Debug or Release folder with the *.exe, and run again. The program will fail on an assert for the missing wglMakeContextCurrentARB function.
Thanks, -Keith.
Is there an ETA for this feature? -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/974. |
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.