aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix android buildGlenn Watson2015-08-282-98/+112
| |
* | Modified Windows key event handling to support modifier keys.Dylan Ede2015-08-262-10/+23
|/
* Do not crash in case of buggy EGL implementations that are missing ↵Pierre Krieger2015-08-241-8/+28
| | | | eglGetPlatformDisplay
* wayland: Resized eventVictor Berger2015-08-212-1/+15
|
* wayland: fix events Moved -> MouseMovedVictor Berger2015-08-211-1/+1
|
* Cleanup unused import stuffPeter Atashian2015-08-213-17/+10
| | | | | | Also support i686-pc-windows-msvc Signed-off-by: Peter Atashian <retep998@gmail.com>
* 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.
* Handle touch events on X11Matt Brubeck2015-08-181-2/+20
|
* Enable grave key on X11Colin Sherratt2015-08-171-1/+1
|
* wayland: properly handle 'decorated' option.Victor Berger2015-08-161-10/+14
|
* Update wayland backend to draw decorations.Victor Berger2015-08-162-28/+164
| | | | | | | | Integrate with wayland-window crate to draw decorations allowing resize & move of the window. Leaving the wayland backend as disabled until full usability is ensured.
* Prefer GLX over EGLZetok Zalbavar2015-08-141-3/+5
| | | | | | | | fixes #314 for me. I've "tested" change by running examples (which prior to change simply crashed), but since I did not run those examples successfuly ever before, I don't know whether they worked as intended.
* Merge pull request #567 from paulrouget/opengl-profile-selection-fixtomaka2015-08-131-6/+14
|\ | | | | Fix OpenGL profile selection
| * Fix OpenGL profile selectionPaul Rouget2015-08-111-6/+14
| |
* | Fix a rare crash in some X11 implementations (details below).Glenn Watson2015-08-111-15/+38
|/
* Correctly handle eglGetDisplayPierre Krieger2015-08-075-21/+98
|
* Get the list of extensions only oncePierre Krieger2015-08-071-28/+50
|
* Merge pull request #553 from tomaka/egl-defaulttomaka2015-08-021-3/+3
|\ | | | | Use EGL by default with X11
| * Use EGL by default with X11Pierre Krieger2015-07-281-3/+3
| |
* | Try libEGL.so.1 before libEGL.soPierre Krieger2015-07-281-1/+4
| |
* | Merge pull request #551 from tomaka/android-headlesstomaka2015-07-281-0/+40
|\ \ | | | | | | Implement headless contexts on android
| * | Implement headless contexts on androidPierre Krieger2015-07-271-0/+40
| |/
* / Load the EGL library in platform/windowsPierre Krieger2015-07-272-23/+12
|/
* Merge pull request #548 from tomaka/egl-pbuffertomaka2015-07-271-1/+30
|\ | | | | Add support for creating a pbuffer with EGL
| * Add support for creating a pbuffer with EGLPierre Krieger2015-07-271-1/+30
| |
* | Indicate the exact error when eglMakeCurrent or eglSwapBuffers failPierre Krieger2015-07-261-8/+6
|/
* Attempt to fix issues with sRGBPierre Krieger2015-07-251-0/+10
|
* 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