aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add is_current functionPierre Krieger2015-03-041-0/+5
|
* Add a guard for the calls to MakeCurrent during initializationPierre Krieger2015-03-011-0/+1
|
* Add wrappers for safer error recovery during initializationPierre Krieger2015-03-011-29/+47
|
* Fix various warningsPierre Krieger2015-03-011-3/+2
|
* Removed as_slice_with_nul as CString now derefs to a CStrmitchmindtree2015-02-221-1/+1
|
* RingBuf -> VecDeque for other platforms, as_slice_with_nul -> as_bytes_with_nulmitchmindtree2015-02-221-2/+2
|
* expose the platform-specific window handle (currently Win only)Ryan Stewart2015-02-201-0/+4
|
* Don't call MakeCurrent(null, null) when destroyingPierre Krieger2015-02-181-1/+2
|
* Merge pull request #277 from tomaka/win32-callbacktomaka2015-02-161-0/+1
|\ | | | | Extract callback from win32/init.rs to its own module
| * Extract callback from win32/init.rsPierre Krieger2015-02-161-0/+1
| |
* | Extract win32 HeadlessContext to a "headless" modulePierre Krieger2015-02-161-34/+2
|/
* Fix poll_events() blocking on win32tomaka2015-02-111-1/+1
|
* Merge pull request #70 from tomaka/fix-iteratorstomaka2015-02-101-40/+50
|\ | | | | Use platform-specific iterators instead
| * Win32: use platform-specific iterators insteadTomaka172015-02-101-40/+50
| |
* | Implement win32 initialization in a cleaner wayPierre Krieger2015-02-101-9/+5
|/
* Upgrade to latest winapiPeter Atashian2015-01-251-14/+17
| | | | Signed-off-by: Peter Atashian <retep998@gmail.com>
* Add missing get_api stubs.Glenn Watson2015-01-191-0/+4
| | | | | | | 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.
* x11, android, win32: [ui]size, [u]int -> [ui]32Andrey Lesnikov2015-01-131-12/+12
|
* Fix OS X & Win32 buildsBryan Bell2015-01-121-1/+1
|
* Add mouse cursor supportBryan Bell2015-01-121-0/+4
| | | | | | | 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.
* Update for RustcPierre Krieger2015-01-081-6/+6
|
* Update for RustcPierre Krieger2015-01-051-4/+4
|
* Update for RustcPierre Krieger2015-01-031-2/+3
|
* Change the way that events are represented.Ty Overby2015-01-011-8/+9
| | | | | | | | | | 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.
* Unify WindowBuilder and HeadlessRendererBuilder for easier implementationsPierre Krieger2014-12-311-15/+8
|
* Update for changes in Send/Sync traitsPierre Krieger2014-12-301-1/+10
|
* Fix win32 build without the "window" featurePierre Krieger2014-12-201-1/+0
|
* 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/+6
|
* Change todo to unimplementedGlenn Watson2014-12-191-1/+1
|
* Introduce a WindowProxy for accessing a subset of functionalityGlenn Watson2014-12-171-0/+14
| | | | | | | 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.
* Add get_api() functionPierre Krieger2014-12-071-0/+10
|
* Use the winapi crate instead of our own ffiPierre Krieger2014-12-021-30/+32
|
* Implement multisampling for x11Pierre Krieger2014-11-271-3/+3
|
* Implement lists sharingPierre Krieger2014-11-241-4/+6
|
* Update for rustcPierre Krieger2014-11-191-2/+2
|
* Add support for the OpenGL debug flagTomaka172014-11-091-4/+5
|
* Use a proper error type for window creationTomaka172014-11-051-3/+3
|
* Add visibility-related functions to windowTomaka172014-11-011-2/+14
|
* Remove call to glFlush() before swap_buffersTomaka172014-10-291-3/+0
| | | | | | We may not want to call `swap_buffers` in the same thread as the current thread, so we're moving the call to `glFlush` out of the scope of glutin.
* Add `with_vsync` to WindowBuilder, plus the win32 implementationTomaka172014-10-261-3/+3
|
* Revert "Add `platform_display` impls for win32 and android"tomaka2014-10-251-1/+1
|
* Add `platform_display` impls for win32 and androidTomaka172014-10-241-1/+2
| | | | Fix the cocoa function
* Add accessor for underlying display handle on Linux. Although unimplemented ↵Glenn Watson2014-10-241-0/+4
| | | | on other platforms, this applies to at least android as well.
* Update for rustc and gl-rsTomaka172014-10-221-5/+5
|
* Fix win32 window not closing when destroying itTomaka172014-10-111-0/+1
|
* Fix win32 window not having a destructor in headless modeTomaka172014-10-111-1/+0
|
* Fix warnings while compiling for win32Tomaka172014-10-111-1/+2
|
* Implement headless renderingTomaka172014-10-091-2/+37
|
* Use the gl_generator macro to generate the bindings for WGLTomaka172014-09-121-6/+7
|