Glenn Watson
9dc5689eef
Introduce a WindowProxy for accessing a subset of functionality
...
from other threads. This currently provides a way for other threads
to wakeup a blocked event loop on X11. Other platforms have stub
functions that need to be implemented. This is similar to
the functionality of glfwPostEmptyEvent.
2014-12-17 14:50:05 +10:00
Glenn Watson
583506dca0
Fix some rustc warnings
2014-11-24 07:36:13 +10:00
Glenn Watson
c9e1912eb7
Add support for with_visibility(), show(), hide() on X11.
2014-11-18 10:27:45 +10:00
Glenn Watson
ad54e01a91
Fix resize event on X11. Without this change, resizing window larger than initial size doesn't work.
2014-10-28 13:34:47 +10:00
Glenn Watson
97c471dc05
Add an interface for providing system wide initialization options to the windowing system.
...
This allows setting up Linux based systems which use multithreaded OpenGL contexts.
2014-10-24 19:58:19 +10:00
Tomaka17
2ff393fe62
Update for rustc and gl-rs
2014-10-22 11:23:21 +02:00
Tomaka17
0d0c14e6ec
Update for gl-rs
2014-10-21 08:11:08 +02:00
Pierre Krieger
bb22087d1c
Use gl-rs's GLX bindings for x11
2014-10-13 11:36:01 +02:00
Tomaka17
c316c86e7c
Update for rustc f9fc49c06 2014-10-10 00:07:08 +0000
2014-10-10 17:52:47 +02:00
Tomaka17
e565bfeb13
Implement headless rendering
2014-10-09 15:55:42 +02:00
Pierre Krieger
fe245e2929
Fix warnings
2014-10-05 15:54:37 +02:00
Tomaka17
ea957ce1d7
Fix compilation warnings
2014-09-23 08:01:18 +02:00
DavidPartouche
ac74db979c
Get the monitors attached to the display, and their resolution for X11
2014-09-19 20:28:14 +02:00
DavidPartouche
bd3b06e1a5
Changed is_fullscreen to monitor.is_some()
2014-09-19 20:28:11 +02:00
David Partouche
b149fca83d
Added fullscreen support for X11
2014-09-19 20:26:41 +02:00
Evan Tatarka
bcd3da1fcd
make x11 keyboard repeat detectable
2014-09-15 19:11:23 -04:00
Pierre Krieger
5d997b618f
Cleaner GL creation on X11
2014-08-07 17:53:41 +02:00
Pierre Krieger
c7aa219ef1
Now using glXChooseFBConfig
2014-08-07 17:35:26 +02:00
Pierre Krieger
eee9e298ba
Implement set_window_position for x11
2014-08-02 12:47:32 +02:00
Pierre Krieger
26fec195d5
Implement ReceivedCharacter for X11
2014-07-31 18:44:44 +02:00
Pierre Krieger
59b4d23d58
Add mouse buttons press/release events for X11
2014-07-31 17:33:46 +02:00
Pierre Krieger
0d45c7fcb4
Fix warning in X11 ffi
2014-07-31 17:25:56 +02:00
Pierre Krieger
0c76ff8771
Add get_position and get_inner_size for X11
2014-07-31 17:01:58 +02:00
Pierre Krieger
67349d717a
Better events handling on X11
2014-07-28 15:06:38 +02:00
Pierre Krieger
c1da2b1273
Work on input support for X11
2014-07-28 14:41:12 +02:00
Pierre Krieger
433c5b956e
Implement CursorPositionChanged event for X11
2014-07-28 13:25:28 +02:00
Pierre Krieger
5764b9c243
Implement resize events on X11
2014-07-28 13:16:55 +02:00
Pierre Krieger
356394cc75
Better cleanup in X11 destruction
2014-07-27 15:49:43 +02:00
Pierre Krieger
bd0ae7476c
Work on X11 events
2014-07-27 15:21:42 +02:00
Pierre Krieger
4028b925d3
X11 implementation
2014-07-27 15:10:58 +02:00