Commit graph

2824 commits

Author SHA1 Message Date
Tomaka17 3043cb2848 Remove old "egl" module 2014-09-12 15:20:59 +02:00
Tomaka17 451b754e79 Add triangle to example 2014-09-12 10:20:15 +02:00
Tomaka17 3cad622ee8 Examples now using a support module to draw 2014-09-12 08:53:31 +02:00
tomaka 6b834baeda Merge pull request #30 from tomaka/android
Basic support for Android
2014-09-11 18:32:29 +02:00
Tomaka17 0bb82e8467 Add basic support for Android 2014-09-11 18:28:07 +02:00
tomaka c0c43f4138 Update README.md 2014-09-07 20:28:43 +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
tomaka ec8cbce624 Merge pull request #25 from DavidPartouche/master
Fixed broken build with latest rust update (use 'foo' = 'bar' syntax err...
2014-08-19 19:23:16 +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 ca83db39c7 Rename gl-init-rs to gl_init
Fix #20
2014-08-13 13:42:59 +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 c3a73bd68e Remove deps/gl 2014-08-11 10:27:29 +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 da5e372719 Multiwindow example now creates a third window 2014-08-07 18:15:09 +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
Tomaka17 2fdcc1840b Examples now call glViewport 2014-08-07 09:32:13 +02:00
Tomaka17 92f90220a4 Fix events handling in examples 2014-08-07 08:53:21 +02:00
tomaka 752c721ae1 Merge pull request #13 from pnkfelix/fsk-fix-osx-dummy-impl
Fix bugs in OS X dummy impl
2014-08-03 18:39:00 +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 c0912c9ec4 Add example for multiple simultaneous examples 2014-08-03 17:23:08 +02:00
tomaka 3ea19e0fa2 Update README.md 2014-08-03 11:43:57 +02:00
Tomaka17 48632619c9 Add static assert for platform not supported 2014-08-03 10:30:04 +02:00