thefiddler
00b531fdef
Fixed compilation warnings on Mono 3.4.0
2014-07-21 17:46:39 +02:00
Stefanos A.
d75a2ce439
[X11] Fix for issue #143
...
OpenTK will now use the same GLXFBConfig to create the INativeWindow
and IGraphicsContext on Linux/X11. This resolves an issue where OpenGL
3.x contexts could not be created on some graphics drivers (e.g.
nvidia binary.)
2014-07-19 20:39:17 +02:00
thefiddler
615df9201b
[OpenTK] Moved RelaxGraphicsMode to Utilities
...
This functionality is useful for all platform backends and is not
specific to the X11 backend.
2014-01-22 10:49:27 +01:00
thefiddler
0d1df41393
[X11] Improve GraphicsMode fallback (fixes issue #23 )
...
When the user requests a GraphicsMode that is not directly supported
by the GPU/drivers, we should relax the requested parameters until
we find a supported mode. An exception should only be thrown when
there is no usable mode.
This makes the X11 backend match the behavior of Windows. The SDL/X11
backend works a little bit differently, in that it falls back to the
a default mode directly if the requested mode is not available. There
is nothing we can do about that.
2013-12-27 14:01:21 +02:00
the_fiddler
88e6aceae0
Synced trunk with 1.0 branch.
2010-10-02 18:52:34 +00:00
the_fiddler
bca3751e8b
Synced with 1.0 branch.
2010-03-11 22:53:11 +00:00
the_fiddler
974641086c
Use more aggressive xlib locking following the advice of the multithreaded X manpages (needs work).
2009-11-02 22:37:13 +00:00
the_fiddler
c559de1956
* X11GraphicsMode.cs: Protect the mode queries with XLockDisplay()/XUnlockDisplay().
2009-09-25 08:28:51 +00:00
the_fiddler
6e7c2a2e3e
Suppressed documentation warnings and ensured public structures follow the class library design guidelines.
2009-08-11 21:11:39 +00:00
the_fiddler
f42775f482
Replaced tabs with spaces.
2009-07-19 16:09:46 +00:00
the_fiddler
77788d19a4
Implemented multisampling on X11.
2009-06-26 20:01:22 +00:00
the_fiddler
6bd0a26e19
* Platform/X11/X11GraphicsMode.cs: Major clean up. Refactored
...
ChooseFBConfig and ChooseVisual codepaths into different methods.
Fixed bug [#728 ].
2009-03-20 19:38:52 +00:00
the_fiddler
d2376ced1f
Use Glx.ChooseFBConfig instead of the deprecated Glx.ChooseVisual, if the first is available. This is necessary for OpenGL 3.0 contexts.
2009-03-07 07:16:46 +00:00
the_fiddler
a22019d890
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
the_fiddler
df3d5362c3
* Platform/X11/X11GraphicsMode.cs, Platform/X11/X11GLNative.cs,
...
Platform/X11/Structs.cs, Platform/X11/Functions.cs,
Platform/X11/API.cs: Working on WindowBorder and WindowState
support.
2008-05-03 16:33:00 +00:00
the_fiddler
63608b1dd7
Updates to GameWindow shutdown and X11 locking behavior.
2008-03-26 19:43:57 +00:00
the_fiddler
7473fe500e
Added support for higher mouse buttons under X11.
...
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler
ef16998dca
Use one display connection for all X11 communication. Seems to fix (not 100%) the crash problems encountered.
2008-03-24 13:12:02 +00:00
the_fiddler
49dbf3c40a
Initial commit.
2008-03-03 12:48:13 +00:00