Stefan Csomor
04ce16a870
bracketing opengl code that doesn't work on OpenGL ES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 17:13:27 +00:00
Stefan Csomor
ef0e92205a
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:17:41 +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
4aa59c3df6
no real changes, clarified the usage of WX_GL_DOUBLEBUFFER; documented it and other WX_GL_XXX constants lost during doxygen transition; simplified wxMSW code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 12:46:28 +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
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
35f1f4f7ea
changed wxGLContext::SetColour() argument from wxChar* to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 11:54:36 +00:00
Vadim Zeitlin
15b239c0eb
don't erase background in GL canvases to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:29:45 +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
Vadim Zeitlin
dc3065a56f
Big wxGL classes refactoring/cleanup:
...
1. Provide the same API, especially, but not limited to, wxGLCanvas and
wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 17:38:55 +00:00
Mart Raudsepp
f5318dd5d1
Fix code comment: Giuseppe Bilotta tells me that ALPHA does not refer to the blue buffer and glXChooseVisual manual agrees
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:30:42 +00:00
Vadim Zeitlin
2e35565ac8
disable wxGLCanvas for wxMGL and wxDFB which don't support it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 19:50:59 +00:00
Vadim Zeitlin
0643d43cad
move WX_GL_XXX constants from wx/*/glcanvas.h to wx/glcanvas.h (this makes them available for wxCocoa too); also only include <windows.h> via wx/msw/wrapwin.h and not directly for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 00:57:46 +00:00
Włodzimierz Skiba
4ff2699952
Be nice to eVC++ build process and don't include not existing files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 21:16:56 +00:00
Mart Raudsepp
1be7a35c5e
Include gtk1 headers for non-gtk2. I don't really like this CPP logic, or more exactly __WXGTK__ without __WXGTK20__
...
being GTK1, oh well.
Might have missed some.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 03:27:34 +00:00
Julian Smart
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
David Elliott
bd2af42857
wxCocoa: Added (mostly) stubs for wxGLCanvas and friends.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:23:59 +00:00
Włodzimierz Skiba
5d3e7b52d8
Source cleaning: whitespaces, tabs, FALSE/false, TRUE/true, -1/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 13:20:18 +00:00
Mattia Barbon
05e770c40e
Use glcanvas.cpp from wxX11 for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 19:25:45 +00:00
Václav Slavík
d8290dd058
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:18:19 +00:00
Mattia Barbon
e9e4acc519
Remove #ifdef __WXSTUBS__ from headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
83df96d63a
Reformatted Motif headers; added __WXX11__ symbol support to common headers;
...
added place-holding src/x11 and include/wx/x11 files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00
Václav Slavík
d7b766f5a8
compilation fix for wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:56:03 +00:00
Vadim Zeitlin
a308135449
applied (slightly modified) wxGLApp patch for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:01:34 +00:00
Vadim Zeitlin
6e711d5c09
applied patch 446836: removed qt headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:52:26 +00:00
Julian Smart
8b089c5e8c
Moved wxGLCanvas to more normal positions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00