aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #703 from FredrikNoren/mastertomaka2016-01-181-83/+12
|\ | | | | Fix cocoa headless. Fixes #635
| * Construct cocoa headless context based on argsFredrik Noren2016-01-181-83/+12
| |
* | Adding os::macos.Johan Sköld2016-01-171-1/+1
|/ | | | Also implements platform_window() for cocoa.
* Reduce cursor warp delay with CGAssociateMouseAndMouseCursorPositionRuben Bakker2015-12-291-4/+6
|
* Implement set_cursor_position with CGWarpMouseCursorPositionRuben Bakker2015-12-281-4/+11
|
* Merge pull request #677 from tomaka/pftomaka2015-12-201-4/+16
|\ | | | | No longer manually enumerate pixel formats
| * Fix compilation on cocoaPierre Krieger2015-12-191-3/+3
| |
| * Update cocoa implementation with changes to pf_reqsPierre Krieger2015-12-191-4/+16
| |
* | Fix fullscreen on OS XMiranda Kastemaa2015-12-111-19/+17
|/
* Not implemented asserts to prevent silent failsAceeri2015-11-091-0/+4
|
* Remove public exports of gl_common and libcPierre Krieger2015-11-091-1/+1
|
* Lock objc version, add casts to appease libc pointer type conflict. Closes #654mitchmindtree2015-11-081-2/+2
|
* Remove the window feature entirelyPierre Krieger2015-10-031-4/+0
|
* Warning fixes for OS X.Josh Matthews2015-09-281-4/+3
|
* Rename MonitorID -> MonitorIdPierre Krieger2015-09-241-1/+1
|
* Merge pull request #606 from paulrouget/NSFullSizeContentViewWindowMasktomaka2015-09-231-8/+24
|\ | | | | Use NSFullSizeContentViewWindowMask for decoration-less windows
| * Use NSFullSizeContentViewWindowMask for decoration-less windowsPaul Rouget2015-09-231-8/+24
| |
* | Add #[inline] attributesPierre Krieger2015-09-231-0/+18
|/
* Remove BuilderAttribsPierre Krieger2015-09-211-8/+9
|
* Switch OS/X to new designPierre Krieger2015-09-211-15/+20
|
* 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
| |