stepasite
2014-05-07 10:22:48 UTC
When no attribList specified (attribList default value is NULL), wxGLCanvas
does not find best available attributes (as one would expect from the
toolkit).
On Windows, there are some default attributes (WX_GL_RBGA,
WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE=16),
but on Linux e.g. depth buffer is set to zero by default.
Not sure about the behavior on MAC OS X yet.
I am ware of wxGLCanvas::IsDisplaySuppported() that allows to check whether
attributes are supported and change (lower) them accordingly to hardware
capabilities. But I would expect that toolkit is able to do this
on its own at least for depth buffer.
Not sure whether this is meaningful for all attributes as hardware and
drivers change quite quickly, but I think having such algorithm for at
least depth buffer would be reasonable.
This is rather enhancement than a real bug.
Thanks in advance,
Pavel
does not find best available attributes (as one would expect from the
toolkit).
On Windows, there are some default attributes (WX_GL_RBGA,
WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE=16),
but on Linux e.g. depth buffer is set to zero by default.
Not sure about the behavior on MAC OS X yet.
I am ware of wxGLCanvas::IsDisplaySuppported() that allows to check whether
attributes are supported and change (lower) them accordingly to hardware
capabilities. But I would expect that toolkit is able to do this
on its own at least for depth buffer.
Not sure whether this is meaningful for all attributes as hardware and
drivers change quite quickly, but I think having such algorithm for at
least depth buffer would be reasonable.
This is rather enhancement than a real bug.
Thanks in advance,
Pavel
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users