Commit graph

5625 commits

Author SHA1 Message Date
thefiddler
333503d70e Fixed compilation warnings on Mono 3.4.0 2014-07-21 17:48:14 +02:00
thefiddler
00b531fdef Fixed compilation warnings on Mono 3.4.0 2014-07-21 17:46:39 +02:00
thefiddler
7a064c382a [Examples] Fixed all warnings 2014-07-21 17:20:19 +02:00
thefiddler
98399c2f48 [Compat] Use Preserve Newest in dll.config
This speeds up compilation times significantly.
2014-07-21 16:55:07 +02:00
thefiddler
f0484879ef [ES][GL] Regenerated bindings 2014-07-21 16:53:36 +02:00
thefiddler
ffd7682eeb [ES][GL] Added missing documentation comments 2014-07-21 16:53:24 +02:00
thefiddler
093dd1d1ca [Bind] Fixed an issue where CLS-compliance was incorrectly overriden 2014-07-21 16:53:02 +02:00
thefiddler
e0a3b73130 Cleaned up the remaining obsolete warnings 2014-07-21 16:49:24 +02:00
thefiddler
461fbce45f Cleaned up a number of obsolete warnings 2014-07-21 16:39:58 +02:00
thefiddler
6d1149cccd [GL] BufferObjects and TextureUnit are not obsolete 2014-07-21 16:34:21 +02:00
thefiddler
c046584aaf [Bind] Implemented CLS-compliant checks for Enums 2014-07-21 16:25:21 +02:00
thefiddler
ead151ea4f Fixed a large number of warnings 2014-07-21 16:03:37 +02:00
thefiddler
bf65005e7b [Bind] Added Enum.Obsolete property 2014-07-21 16:02:56 +02:00
thefiddler
33c9fe5025 [ES] Marked obsolete enums as such 2014-07-21 16:02:32 +02:00
thefiddler
cab9e85386 [Bind] Enums can now be marked as obsolete 2014-07-21 16:02:18 +02:00
thefiddler
ec34d17b21 Fixed a large number of build warnings 2014-07-21 15:03:24 +02:00
thefiddler
6ab1a9db87 Use "Preserve Newest" option on OpenTK.dll.config
OpenTK.dll.config was previously set to be always copied to the
output directory. This caused constant rebuilds in Visual Studio.

Setting this to "Preserve Newest" improves build times
significantly.
2014-07-21 14:32:08 +02:00
Stefanos A
0f1776bdd0 [X11] Use the correct visual info for the context
This also fixes a potential NRE.
2014-07-20 11:31:02 +02:00
Stefanos A
6fa70263cb [X11] Fixed GLControl on nvidia binary drivers
Nvidia drivers fail in Glx.MakeCurrent() when using a 32bpp
visual on a window created with a 24bpp visual. Since we do
not know the actual visual until after the context is constructed,
the solution is to implicitly use 24bpp when 32bpp is requested.

The loss of the alpha channel does not have a user-visible effect,
since WinForms do not support translucent windows on X11.
2014-07-20 11:28:43 +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
a13a2f8e66 [X11] Workaround for issue #146
Windows are now unmapped before being destroyed.
2014-07-18 17:16:27 +02:00
thefiddler
786273dd19 [X11] Fixed OnMouseMove being called without mouse movement 2014-07-18 17:02:47 +02:00
thefiddler
00b5174f63 [Linux] Delay input device detection until a key is pressed 2014-07-18 11:23:28 +02:00
thefiddler
07d496d181 [Linux] Fixed OnMouseMove being called without movement 2014-07-18 10:13:45 +02:00
thefiddler
a38e267156 [Linux] Additional debugging info on shutdown 2014-07-18 10:05:13 +02:00
thefiddler
51c05ea1a5 [KMS] Correctly restore crtc on exit. 2014-07-18 10:04:57 +02:00
thefiddler
91055336c0 [Linux] Fixed minor typo 2014-07-18 09:45:04 +02:00
thefiddler
b1a31c08cc [Examples] Only use WinForms when supported. 2014-07-18 09:44:47 +02:00
thefiddler
b23d06eb46 [Linux] Fixed CursorVisible=false behavior 2014-07-18 09:22:12 +02:00
thefiddler
a30ec9003b [Linux] Fixed X11 vs KMS detection 2014-07-18 09:19:37 +02:00
thefiddler
4aa2dcf5a3 [Linux] Fixed compilation issue 2014-07-18 09:05:46 +02:00
thefiddler
21bcc5eae1 [Linux] Print libinput seat for each detected device 2014-07-18 09:02:01 +02:00
thefiddler
20747664f4 [KMS] VSync off causes a crash; force VSync on until fixed
VSync off leads to buffer starvation and a crash in
Egl.SwapBuffers. We need to understand why and fix that
before we can disable vsync.
2014-07-17 11:59:38 +02:00
thefiddler
4f037c882a [KMS] Print device names when adding input devices 2014-07-17 11:59:04 +02:00
thefiddler
36bb366638 [Linux] Improved mouse cursor behavior 2014-07-17 11:20:01 +02:00
thefiddler
fd6ff962a1 [Linux] Implemented CursorVisible 2014-07-17 09:45:13 +02:00
thefiddler
153522c0a4 [Linux] Implemented MouseCursor 2014-07-17 09:25:16 +02:00
thefiddler
015acba313 [KMS] Implemented INativeWindow.PointToClient/Screen 2014-07-16 14:51:14 +02:00
thefiddler
4c6bb7a38e [Linux] Corrected values for mouse move and scroll events 2014-07-16 14:28:28 +02:00
thefiddler
3881992bf7 [Linux] Implemented INativeWindow keyboard/mouse events
The mouse cursor is now confined to the display bounds.
2014-07-16 14:28:28 +02:00
thefiddler
e61b39a1a1 [Linux] Fixed GameWindow.ClientSize values. 2014-07-16 14:28:28 +02:00
thefiddler
bef4901659 [Linux] Implemented libinput IMouseDriver2 2014-07-16 14:28:27 +02:00
thefiddler
340d34b07b [Input] MouseState position is now stored in floating point
Several platforms provide subpixel accuracy for mouse position.
OpenTK can now take advantage of that.
2014-07-16 14:28:27 +02:00
thefiddler
c81833a201 [Examples] Reverted mistaken change 2014-07-16 14:28:27 +02:00
thefiddler
4406d2db0d [Linux] Fixed keyboard polling 2014-07-16 14:28:27 +02:00
thefiddler
468a8518cb [Linux] Fixed poll() in libinput event loop 2014-07-16 14:28:27 +02:00
thefiddler
67727d2e9b [Linux] Completed libinput keyboard driver implementation 2014-07-16 14:28:27 +02:00
thefiddler
c5abbe8030 [Linux] Implemented libinput keyboard input 2014-07-16 14:28:27 +02:00
thefiddler
4a53a5511a [Linux] Disabled TTY keyboard driver in favor of libinput
The TTY keyboard driver requires a robust cleanup method to avoid
hogging the keyboard/console after the process exists. Without
this, it does not make sense to use enable this driver.
2014-07-16 14:28:27 +02:00
thefiddler
e7bd311fbd [Linux] Improve checks for TTY 2014-07-16 14:28:27 +02:00