[Mesa-dev] [Bug 100668] No pixel formats with WGL_SWAP_UNDEFINED_ARB && WGL_DOUBLE_BUFFER_ARB=true
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 12 23:08:55 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100668
Bug ID: 100668
Summary: No pixel formats with WGL_SWAP_UNDEFINED_ARB &&
WGL_DOUBLE_BUFFER_ARB=true
Product: Mesa
Version: 17.0
Hardware: x86 (IA32)
OS: Windows (All)
Status: NEW
Severity: major
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: genpfault at gmail.com
QA Contact: mesa-dev at lists.freedesktop.org
I'm using llvmpipe on Windows 7 x64, though LLVM & Mesa are built for 32-bit.
Requesting WGL_SWAP_UNDEFINED_ARB or WGL_SWAP_COPY_ARB in conjunction with
WGL_DOUBLE_BUFFER_ARB = TRUE results in wglChoosePixelFormatARB() returning
zero supported pixel formats.
These attributes work:
int pixel_attributes[] =
{
WGL_SUPPORT_OPENGL_ARB, TRUE,
WGL_DOUBLE_BUFFER_ARB, TRUE,
0
};
These do not:
int pixel_attributes[] =
{
WGL_SUPPORT_OPENGL_ARB, TRUE,
WGL_DOUBLE_BUFFER_ARB, TRUE,
WGL_SWAP_METHOD_ARB, WGL_SWAP_UNDEFINED_ARB,
0
};
This is causing ANGLE to fail to get a valid pixel format when using Mesa as
its OpenGL backend:
https://chromium.googlesource.com/angle/angle.git/+/master/src/libANGLE/renderer/gl/wgl/wgl_utils.cpp#35
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170412/17b4eba6/attachment.html>
More information about the mesa-dev
mailing list