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 |
|
Pierre Krieger
|
eee9e298ba
|
Implement set_window_position for x11
|
2014-08-02 12:47:32 +02:00 |
|
Tomaka17
|
d08c94daac
|
Remove Iconified and NeedRefresh events
|
2014-08-02 12:43:48 +02:00 |
|
Tomaka17
|
2aeec39156
|
Remove #[exprimental] from make_current
|
2014-08-02 12:32:08 +02:00 |
|
Tomaka17
|
0152099c91
|
Correctly handling pixel format and fullscreen resolution on Win32
|
2014-08-02 12:23:05 +02:00 |
|
Tomaka17
|
b0d9d0b87f
|
Dimensions will now match the monitor's in case of fullscreen
|
2014-08-02 11:23:32 +02:00 |
|
Tomaka17
|
abceca1121
|
Add get_dimensions() to MonitorID
|
2014-08-02 11:17:49 +02:00 |
|
Tomaka17
|
dbaef704ad
|
Fix docs for Window
|
2014-08-02 11:07:29 +02:00 |
|
Tomaka17
|
bfc5d3e63d
|
with_monitor -> with_fullscreen
|
2014-08-02 11:04:48 +02:00 |
|
Tomaka17
|
8c074af9fc
|
Add support for specific OpenGL version for Win32
|
2014-08-02 11:03:09 +02:00 |
|
Tomaka17
|
49b0a20170
|
Now passing WindowBuilder to implwin::Window::new
|
2014-08-02 10:42:17 +02:00 |
|
Tomaka17
|
5dda167021
|
Add iterators for events and WindowBuilder
|
2014-08-02 08:29:37 +02:00 |
|
Tomaka17
|
959613870c
|
Now using wglCreateContextAttribs when available
|
2014-08-02 00:01:45 +02:00 |
|
Tomaka17
|
21c8ffab80
|
Mark hints as deprecated
|
2014-08-01 23:22:29 +02:00 |
|
Tomaka17
|
c1ecc06baf
|
Change the RegisterClass code.
Prevents an issue when creating multiple contexts.
|
2014-08-01 23:12:46 +02:00 |
|
Tomaka17
|
d93cea808d
|
Add documentation to the Win32 implementation
|
2014-08-01 23:02:26 +02:00 |
|
Tomaka17
|
19b8474c4a
|
Window is no longer NoSend
|
2014-07-31 20:56:56 +02:00 |
|
Tomaka17
|
14c59e8d81
|
Merge branch 'master' of http://github.com/tomaka/gl-init-rs
|
2014-07-31 20:55:55 +02:00 |
|
Tomaka17
|
fd20346829
|
Put GetMessage in the same thread as the window creation.
Fixes #6
|
2014-07-31 20:55:30 +02:00 |
|
Tomaka17
|
91b0eeae8d
|
Split win32/mod.rs
|
2014-07-31 20:14:36 +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 |
|