aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Disable compiler unstable warningsBryan Bell2015-01-221-0/+1
| | | | | To cleanup the compiler output when building, disable warnings about using unstable crates/features.
* Merge pull request #213 from tomaka/permanent-iteratorstomaka2015-01-191-8/+30
|\ | | | | Iterators returned by wait_events and poll_events are now persistent
| * Iterators returned by wait_events and poll_events are now persistentPierre Krieger2015-01-191-8/+30
| |
* | Add missing get_api stubs.Glenn Watson2015-01-191-0/+7
|/ | | | | | | Add hidpi_factor() support for retina displays. Fix Resize and MouseMoved events to handle retina displays. Fix inverted y position for MouseMoved events on mac. Fix initial painting on retina display.
* Change &mut self to &self in set_cursorBryan Bell2015-01-171-1/+1
|
* x11, android, win32: [ui]size, [u]int -> [ui]32Andrey Lesnikov2015-01-131-14/+14
|
* Merge pull request #192 from bjwbell/mouse-cursorstomaka2015-01-131-0/+62
|\ | | | | Add mouse cursor support
| * Code review commentsBryan Bell2015-01-131-0/+1
| | | | | | | | | | - Revert version back to 0.0.4 - Add comment that set_cursor has no effect on Android
| * Add mouse cursor supportBryan Bell2015-01-121-0/+61
| | | | | | | | | | | | | | Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors. Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function either does nothing or calls the "unimplemented!" macro.
* | Change uint/int to usize/isizeBryan Bell2015-01-121-14/+14
|/ | | | | From https://github.com/rust-lang/rfcs/pull/544 the types uint/int were renamed to usize/isize.
* Update to latest Rust nightlyAustin Bonander2015-01-081-3/+0
|
* fix for Iterator now using associated typesMike Dilger2015-01-051-3/+7
|
* Update for RustcPierre Krieger2015-01-031-3/+3
|
* Change the way that events are represented.Ty Overby2015-01-011-10/+11
| | | | | | | | | | The bulk of this commit is changing instances of Vec to RingBuf which is optimized for the push_back() / pop_front() strategy that is used internaly in the event system. The glutin custom iterators are now just wrappers around the RingBuf iterator type. This will bring the running time of iterator traversal from O(n^2) to O(n) because shifting-on-delete won't be performed.
* Add missing `with_*` functionsPierre Krieger2014-12-311-0/+35
|
* Add `build_strict` function on buildersPierre Krieger2014-12-311-0/+20
|
* Unify WindowBuilder and HeadlessRendererBuilder for easier implementationsPierre Krieger2014-12-311-29/+46
|
* Removed 'extern crate gl_generator'Andrey Lesnikov2014-12-261-2/+0
|
* Add experimental attribute since this API will need to be cleaned up.Glenn Watson2014-12-191-0/+2
|
* Add resize example, fix warnings, make callback an option so it can be removed.Glenn Watson2014-12-191-2/+2
|
* Add callback function to allow resize messages to be sent on mac.Glenn Watson2014-12-191-0/+10
|
* Introduce a WindowProxy for accessing a subset of functionalityGlenn Watson2014-12-171-0/+31
| | | | | | | 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.
* Update for RustcPierre Krieger2014-12-131-0/+1
|
* Avoid warning; if_let and tuple_indexing now part of language.Jakob Fries2014-12-081-2/+0
|
* Add get_api() functionPierre Krieger2014-12-071-0/+24
|
* Remove the dependency to compile_msgPierre Krieger2014-12-041-4/+3
|
* Use the winapi crate instead of our own ffiPierre Krieger2014-12-021-0/+2
|
* Implement multisampling for x11Pierre Krieger2014-11-271-0/+14
|
* Update for rustcPierre Krieger2014-11-261-2/+0
|
* Implement lists sharingPierre Krieger2014-11-241-10/+21
|
* Update for rustcPierre Krieger2014-11-191-1/+1
|
* Add support for the OpenGL debug flagTomaka172014-11-091-0/+22
|
* Use a proper error type for window creationTomaka172014-11-051-3/+17
|
* Update for changes in gl-rsTomaka172014-11-051-0/+16
|
* Retrieve the monitors and their info for osxDavid Partouche2014-11-041-0/+2
|
* Add visibility-related functions to windowTomaka172014-11-011-0/+30
|
* Fix default window nameTomaka172014-10-271-1/+1
|
* Add `with_vsync` to WindowBuilder, plus the win32 implementationTomaka172014-10-261-0/+12
|
* Merge pull request #65 from glennw/x-threadstomaka2014-10-241-0/+2
|\ | | | | Add an interface for providing system wide initialization options to the windowing system.
| * Add an interface for providing system wide initialization options to the ↵Glenn Watson2014-10-241-0/+2
| | | | | | | | | | | | windowing system. This allows setting up Linux based systems which use multithreaded OpenGL contexts.
* | Make platform data function as unsafe.Glenn Watson2014-10-241-1/+1
| |
* | Add accessor for underlying display handle on Linux. Although unimplemented ↵Glenn Watson2014-10-241-0/+8
|/ | | | on other platforms, this applies to at least android as well.
* Change implementations import systemTomaka172014-10-111-13/+8
|
* Implement headless renderingTomaka172014-10-091-0/+82
|
* Cocoa opens a window with OpenGL context insideDavid Partouche2014-10-061-0/+5
|
* Fix warningsPierre Krieger2014-10-051-1/+1
|
* Changed is_fullscreen to monitor.is_some()DavidPartouche2014-09-191-3/+0
|
* Added fullscreen support for X11David Partouche2014-09-191-0/+3
|
* Changed is_fullscreen to monitor.is_some()DavidPartouche2014-09-191-3/+0
|
* Added fullscreen support for X11David Partouche2014-09-191-9/+12
|