aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement Window.set_inner_size on X11.Daggerbot2015-07-231-3/+3
|
* Add aarch64-unknown-linux-gnu supportAkos Kiss2015-07-231-2/+2
| | | | | | * Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them)
* Filter invalid FBConfigsPierre Krieger2015-07-221-0/+16
|
* Merge pull request #536 from tomaka/fix-using-freed-memorytomaka2015-07-221-2/+3
|\ | | | | Fix calling XFree before reading from memory
| * Fix calling XFree before reading from memoryPierre Krieger2015-07-221-2/+3
| |
* | Only listen for mouse events from master devicesRobert Knight2015-07-221-1/+1
|/ | | | | | | | | | | | | | XInput2 has a concept of master and slave devices, where a slave device is the actual physical device, attached to a master device representing the cursor or keyboard focus. See http://who-t.blogspot.co.uk/2009/05/xi2-recipes-part-1.html Mouse events were being received from both the master and slave devices, but we are only interested in events from the master device. Fixes #533
* Add CreationError::NoAvailablePixelFormatPierre Krieger2015-07-202-2/+2
|
* Add CreationError::OpenGlVersionNotSupportedPierre Krieger2015-07-205-13/+16
|
* Add CreationError::RobustnessNotSupportedPierre Krieger2015-07-205-7/+7
|
* Merge pull request #530 from tomaka/glx-enumeratetomaka2015-07-191-81/+47
|\ | | | | Enumerate the FBConfigs instead of calling glxChoose
| * Enumerate the FBConfigs instead of calling glxChoosePierre Krieger2015-07-191-81/+47
| |
* | Merge pull request #529 from tomaka/fix-win32tomaka2015-07-191-1/+1
|\ \ | |/ |/| Fix the windows build
| * Fix the windows buildPierre Krieger2015-07-191-1/+1
| |
* | Merge pull request #527 from tomaka/split-glxtomaka2015-07-196-203/+285
|\ \ | | | | | | Correct window creation on X11
| * | Correct window creation on X11Pierre Krieger2015-07-196-203/+285
| |/
* / Fix EGL context creationPierre Krieger2015-07-191-3/+10
|/
* Merge pull request #523 from tomaka/egl-splittomaka2015-07-195-63/+112
|\ | | | | Split creating an EGL context in two parts
| * Split creating an EGL context in two partsPierre Krieger2015-07-185-63/+112
| |
* | Merge pull request #510 from robertknight/x11_xinput2tomaka2015-07-185-91/+406
|\ \ | |/ |/| Use XInput2 for event handling
| * Address code review feedbackRobert Knight2015-07-131-31/+24
| | | | | | | | | | | | | | | | * Fix an issue where PollEventsIterator::next() would fail to return keyboard input and mouse events immediately but instead only return them on the next call to next() * Inline process_generic_event() and queue_event()
| * Report focus in/out events under X11Robert Knight2015-06-281-2/+6
| | | | | | | | Fixes #377
| * X11 - Ignore scroll events that happen outside of Glutin windowsRobert Knight2015-06-282-4/+15
| | | | | | | | | | | | | | | | | | | | | | Scroll deltas are calculated in X11 by comparing the current and previous absolute values for the scroll axis when a scroll motion event is received. If the user scrolls whilst the cursor is outside of the window then an incorrect delta is reported when the cursor re-enters the window. Fix this by resetting the last-seen axis values whenever the cursor re-enters the window.
| * Remove XInput2 code for handling keyboard eventsRobert Knight2015-06-282-58/+35
| | | | | | | | | | | | | | * For the moment we're still using plain core X11 events for handling keyboard activity, so remove the XInput2 code for that * Small refactoring of X11 input handling and documentation fixes
| * Use XInput2 for event handlingRobert Knight2015-06-285-86/+416
| | | | | | | | | | This provides smooth scrolling for touchpad devices and will enable support for touch events etc. in future.
* | Merge pull request #519 from tomaka/win32-errtomaka2015-07-091-20/+19
|\ \ | | | | | | Better win32 error messages
| * | Better win32 error messagesPierre Krieger2015-07-091-20/+19
| | |
* | | Merge pull request #511 from thelink2012/drop-win32tomaka2015-07-092-1/+24
|\ \ \ | |/ / |/| | [0.3] DroppedFile event for Win32
| * | DroppedFile event for Win32Denilson M. Amorim2015-06-232-1/+24
| | |
* | | Merge pull request #477 from rozaliev/feature/iostomaka2015-06-294-0/+777
|\ \ \ | |_|/ |/| | [WIP] ios support
| * | [add] content scaleEvgeny Rozaliev2015-06-082-7/+15
| | |
| * | [add] ios supportEvgeny Rozaliev2015-06-054-0/+769
| | |
* | | Ignore errors generated by SwapBuffers on windowsPierre Krieger2015-06-271-2/+5
| | |
* | | Fix fullscreen mode on X11Pierre Krieger2015-06-261-15/+31
| | |
* | | Merge pull request #500 from tomaka/no-errortomaka2015-06-263-22/+57
|\ \ \ | | | | | | | | Add support for the EGL_KHR_create_context_no_error extension
| * | | Add support for the EGL_KHR_create_context_no_error extensionPierre Krieger2015-06-253-22/+57
| | | |
* | | | Fix the discovery of the WGL_EXT_swap_control extensionPierre Krieger2015-06-251-3/+1
|/ / /
* | | Merge pull request #497 from tomaka/robustnesstomaka2015-06-235-34/+166
|\ \ \ | | | | | | | | Add with_robustness and handle robustness on all implementations
| * | | Add with_robustness and handle robustness on all implementationsPierre Krieger2015-06-225-34/+166
| | |/ | |/|
* / | Update wayland dependency to 0.2.Victor Berger2015-06-232-17/+21
|/ /
* | Merge pull request #488 from tomaka/rem-is-closedtomaka2015-06-177-60/+4
|\ \ | | | | | | Remove the is_closed function
| * | Remove the is_closed functionPierre Krieger2015-06-167-60/+4
| | |
* | | Merge pull request #486 from tomaka/context-errortomaka2015-06-1712-43/+87
|\ \ \ | | | | | | | | Handle errors from MakeCurrent and SwapBuffers
| * | | Handle errors from MakeCurrent and SwapBuffersPierre Krieger2015-06-1612-43/+87
| | | |
* | | | glx: Unbind the context if it's the current oneecoal952015-06-171-2/+4
| | | |
* | | | 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
|/ /
* | Merge pull request #484 from pinumbernumber/mastertomaka2015-06-161-1/+25
|\ \ | | | | | | Implement transparency for X11
| * | Implement transparency for X11pinumbernumber2015-06-141-1/+25
| | |
* | | 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-133-5/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | 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.