Commit graph

1811 commits

Author SHA1 Message Date
David Partouche
55ebd4935e Added fullscreen support for X11 2014-09-19 20:29:28 +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
tomaka
1ae81267f5 Merge pull request #35 from evant/master
Make x11 keyboard repeat detectable
2014-09-16 07:53:20 +02:00
Evan Tatarka
bcd3da1fcd make x11 keyboard repeat detectable 2014-09-15 19:11:23 -04:00
Tomaka17
991dc50a31 Remove unnecessary win32 linkage 2014-09-15 13:08:35 +02:00
Tomaka17
ee2349f272 Fix warnings in win32 ffi 2014-09-15 12:09:17 +02:00
Tomaka17
ce052484f7 Remove some unused imports 2014-09-13 09:04:47 +02:00
Tomaka17
f3e0c57158 Use gl_generator to generate EGL bindings for Android 2014-09-13 09:01:21 +02:00
Tomaka17
2af367b55c Use the gl_generator macro to generate the bindings for WGL 2014-09-12 15:51:43 +02:00
Tomaka17
3043cb2848 Remove old "egl" module 2014-09-12 15:20:59 +02:00
Tomaka17
0bb82e8467 Add basic support for Android 2014-09-11 18:28:07 +02:00
Tomaka17
d870fa7ffa Remove call to glViewport after win32 initialization 2014-08-22 11:26:47 +02:00
Tomaka17
d6fec79334 Cleanup temporary objects in case of error during creation on win32
See #10
2014-08-22 11:26:00 +02:00
Tomaka17
5c92587442 Fix & add some comments for win32 2014-08-22 11:21:12 +02:00
Tomaka17
6b45d1ca25 Not specifiying dimensions on win32 now results in CW_USEDEFAULT
Close #11
2014-08-22 11:19:19 +02:00
Tomaka17
761d82cd60 Remove forgotten debugging println
Closes #26
2014-08-22 10:57:31 +02:00
DavidPartouche
44c15bf6e6 Fixed broken build with latest rust update (use 'foo' = 'bar' syntax error) 2014-08-19 18:18:59 +02:00
Tomaka17
24dbe322f7 Track rust nightly 2014-08-15 16:12:40 +02:00
Tomaka17
4c1503dc32 Win32: no longer fails when calling swap_buffers on a closed window 2014-08-15 15:34:30 +02:00
Tomaka17
ae65b423dd Implement new events system 2014-08-13 17:23:03 +02:00
Tomaka17
3aab801f29 Implement Default for Window 2014-08-13 14:52:12 +02:00
Tomaka17
cd3fc3075a Fix #22
Thanks to @Anthiste
2014-08-12 21:21:06 +02:00
Tomaka17
32e9b5062c Add failure if SwapBuffers returns an error 2014-08-12 17:04:12 +02:00
Tomaka17
a8c056f83b Fixed compilation broken by #837efc54 2014-08-12 16:55:56 +02:00
Tomaka17
837efc5460 Fix attempt for #22 2014-08-12 11:01:18 +02:00
Tomaka17
53b9d6398c Remove dummy context creation for X11 2014-08-12 09:42:48 +02:00
Tomaka17
f452999b8c Minor fix in consistency for #[cfg]s 2014-08-12 09:17:23 +02:00
Tomaka17
391c4e525c Now using compile_msg crate instead of static_assert 2014-08-12 09:16:08 +02:00
Tomaka17
87d62e5b6f get_proc_address now returns a libc::c_void 2014-08-11 10:32:33 +02:00
Tomaka17
5f1d8dbedf Add flags when choosing pixel format 2014-08-07 18:51:27 +02:00
Tomaka17
acb0ab7cac Add default title for windows 2014-08-07 18:49:47 +02:00
Tomaka17
61781cf209 Call glViewport on windows init for win32
See #14
2014-08-07 18:48:34 +02:00
Pierre Krieger
01fd8b1d9e Now calling glViewport on X11 when the window is created
See #14
2014-08-07 18:13:52 +02:00
Pierre Krieger
e567d7f4fd set_position now takes ints
Fix #12
2014-08-07 18:07:48 +02:00
Pierre Krieger
3f69cbb189 Fix two warnings on X11 2014-08-07 18:05:51 +02:00
Pierre Krieger
cbf07d3190 Add some error detection 2014-08-07 18:05:18 +02:00
Pierre Krieger
d3e3590b84 Fix glXCreateContextAttrib always null 2014-08-07 18:03:56 +02:00
Pierre Krieger
76ebf39bcd Merge branch 'master' of https://github.com/tomaka/gl-init-rs 2014-08-07 17:54:04 +02:00
Pierre Krieger
5d997b618f Cleaner GL creation on X11 2014-08-07 17:53:41 +02:00
Pierre Krieger
2184e5e578 Minor style fix in X11 2014-08-07 17:36:48 +02:00
Pierre Krieger
c7aa219ef1 Now using glXChooseFBConfig 2014-08-07 17:35:26 +02:00
Tomaka17
d2bd19bc21 Doc now ignored for doctest 2014-08-07 09:33:28 +02:00
Felix S. Klock II
f1993be9ea Fix bugs from f4fb699b52 2014-08-03 18:30:31 +02:00
Tomaka17
d574f6f1bb Fix GL context not being destroyed on win32 2014-08-03 17:33:48 +02:00
Tomaka17
3c9565ad25 Fix closed flag not being immediatly set on win32 2014-08-03 17:27:48 +02:00
Tomaka17
48632619c9 Add static assert for platform not supported 2014-08-03 10:30:04 +02:00
Tomaka17
f4fb699b52 Add dummy implementation for OS/X 2014-08-03 09:25:30 +02:00
Tomaka17
52cccb8dda Add doc to crate root 2014-08-02 20:49:48 +02:00