aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Extract PixelFormatRequirements from BuilderAttribsPierre Krieger2015-09-211-5/+5
|
* Extract WindowAttributes from the BuilderAttribsPierre Krieger2015-09-211-6/+6
|
* Extract GlAttributes from BuilderAttribsPierre Krieger2015-09-211-4/+4
|
* add resizable mask to decoration-less windowsPaul Rouget2015-09-171-1/+2
|
* Add focus and defocus events on cocoa. Fixes #595Felix Kaaman2015-09-101-1/+25
|
* Do not call nextEventMatchingMask twicePaul Rouget2015-08-201-106/+108
| | | | | | | | | | | wait_event used to call nextEventMatchingMask twice. Once with untilDate:distantFuture, and dequeue:NO to wait until the next event but witout consuming it, and again with untilDate:distantPast and dequeue:YES to retrieve the event (via poll_events). For some reason, with osx 10.11, calling nextEventMatchingMask with dequeue:NO never returns if the user scrolls, freezing the app. So we now call nextEventMatchingMask only once, with dequeue:YES.
* Fix OpenGL profile selectionPaul Rouget2015-08-111-6/+14
|
* Add CreationError::NoAvailablePixelFormatPierre Krieger2015-07-201-1/+1
|
* Add CreationError::OpenGlVersionNotSupportedPierre Krieger2015-07-201-2/+2
|
* Add CreationError::RobustnessNotSupportedPierre Krieger2015-07-201-1/+1
|
* Add with_robustness and handle robustness on all implementationsPierre Krieger2015-06-221-0/+8
|
* Merge pull request #488 from tomaka/rem-is-closedtomaka2015-06-171-8/+0
|\ | | | | Remove the is_closed function
| * Remove the is_closed functionPierre Krieger2015-06-161-8/+0
| |
* | Merge pull request #486 from tomaka/context-errortomaka2015-06-171-2/+5
|\ \ | | | | | | Handle errors from MakeCurrent and SwapBuffers
| * | Handle errors from MakeCurrent and SwapBuffersPierre Krieger2015-06-161-2/+5
| | |
* | | Add transparency support for cocoa. Closes #472Felix Kaaman2015-06-161-1/+16
| |/ |/|
* | Make legacy functions crash on osx core contextsFelix Kaaman2015-06-161-0/+6
|/
* Report scroll deltas in lines for non-touch devices on OS XRobert Knight2015-06-141-2/+6
| | | | | | Scroll deltas on OS X may be reported either as pixel deltas to scroll by if supported by the device or line/row deltas otherwise.
* Express scroll deltas as either line or pixel deltasRobert Knight2015-06-131-1/+5
| | | | | | | | | | | | Depending on the platform and device, scroll deltas may either be represented as pixel deltas specifying the amount in pixels to scroll or they may be expressed in 'lines' or 'chunks' for low resolution devices (eg. a traditional mouse wheel). Pixel deltas are currently available on OS X. X11 currently supports only integer line deltas, though pixel deltas are available via XInput2. Windows supports fractional line deltas.
* Add OS version detection on cocoa for selecting latest gl version. Fixes #470Felix Kaaman2015-05-241-9/+17
|
* Fix vsync not being disabled by default in cocoaFelix Kaaman2015-05-231-4/+2
|
* Merge pull request #405 from tomaka/win32-wheeltomaka2015-05-061-1/+1
|\ | | | | [Breaking change] Fix mouse wheel value on win32 and return a f64 instead of i32 in the MouseWheel event
| * Rework MouseWheel event and fix the values on win32Pierre Krieger2015-04-291-1/+1
| |
* | Add cursor grabbing on cocoaFelix Kaaman2015-05-051-10/+8
| |
* | Remove the "headless" featurePierre Krieger2015-05-041-3/+0
| |
* | Fix further compilation of cocoaKevin Butler2015-05-021-7/+7
| |
* | Fix compilation of cocoaPierre Krieger2015-05-021-1/+0
| |
* | Introduced GlProfile enumDzmitry Malyshau2015-05-011-4/+5
| |
* | Implemented gl_core flagDzmitry Malyshau2015-04-301-15/+14
| |
* | Fix typo in cocoa moduleFelix Kaaman2015-04-301-1/+1
| |
* | Add a GlContext traitPierre Krieger2015-04-301-41/+44
| |
* | Add pixelformat for cocoa and remove individual color componentsFelix Kaaman2015-04-301-38/+102
|/
* Add multisampling for cocoa, fixes #145Felix Kaaman2015-04-271-33/+45
|
* Fix window position getters and setters on cocoaFelix Kaaman2015-04-241-4/+21
|
* Fix alert sounds on keypress on cocoaFelix Kaaman2015-04-241-4/+6
| | | | | Passing on keypress event to parent would make it think the event was not consumed and emit an alert sound.
* Create reorganizationPierre Krieger2015-04-241-0/+741