Vadim Zeitlin
049c4f6caa
Support IRIX version of OpenGL multi sampling constants.
...
Although OpenGL multi sampling extensions originated under IRIX, it doesn't
seem to use the standard names for the constants used and uses "SGI" suffix
for them instead of "ARB".
Add support for IRIX versions of GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB
and also check if these constants are defined at all to avoid compilation
errors if they are not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-28 11:08:54 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
c39d2e0a38
added multisampling (anti-aliasing) support to wxGLCanvas ( #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 00:12:12 +00:00
Vadim Zeitlin
b73b211736
fix the confusion in boolean attributes handling in pre-1.3 and 1.3 versions of GLX API (closes 4823)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:25:53 +00:00
Vadim Zeitlin
06e6496e0f
use GLX_DOUBLEBUFFER if no attributes were specified with GLX >= 1.3 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:01:14 +00:00
Vadim Zeitlin
3f20f7d8a3
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
5ec69e9666
made SetCurrent() and SwapBuffers() return boolean status indicator instead of void (slightly modified patch 1844090)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:48:03 +00:00
Vadim Zeitlin
85866f52b3
fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:35:43 +00:00
Vadim Zeitlin
a15107c002
fix bug in WX_GL_DOUBLEBUFFER handling introduced during the last great refactoring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:53:15 +00:00
Vadim Zeitlin
50c95f691c
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 12:30:30 +00:00
Vadim Zeitlin
498ace9e1f
Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:06:45 +00:00