Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup unused import stuff | Peter Atashian | 2015-08-21 | 3 | -17/+10 |
| | | | | | | Also support i686-pc-windows-msvc Signed-off-by: Peter Atashian <retep998@gmail.com> | ||||
* | Do not call nextEventMatchingMask twice | Paul Rouget | 2015-08-20 | 1 | -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 X11 | Matt Brubeck | 2015-08-18 | 1 | -2/+20 |
| | |||||
* | Enable grave key on X11 | Colin Sherratt | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | wayland: properly handle 'decorated' option. | Victor Berger | 2015-08-16 | 1 | -10/+14 |
| | |||||
* | Update wayland backend to draw decorations. | Victor Berger | 2015-08-16 | 2 | -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 EGL | Zetok Zalbavar | 2015-08-14 | 1 | -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-fix | tomaka | 2015-08-13 | 1 | -6/+14 |
|\ | | | | | Fix OpenGL profile selection | ||||
| * | Fix OpenGL profile selection | Paul Rouget | 2015-08-11 | 1 | -6/+14 |
| | | |||||
* | | Fix a rare crash in some X11 implementations (details below). | Glenn Watson | 2015-08-11 | 1 | -15/+38 |
|/ | |||||
* | Correctly handle eglGetDisplay | Pierre Krieger | 2015-08-07 | 5 | -21/+98 |
| | |||||
* | Get the list of extensions only once | Pierre Krieger | 2015-08-07 | 1 | -28/+50 |
| | |||||
* | Merge pull request #553 from tomaka/egl-default | tomaka | 2015-08-02 | 1 | -3/+3 |
|\ | | | | | Use EGL by default with X11 | ||||
| * | Use EGL by default with X11 | Pierre Krieger | 2015-07-28 | 1 | -3/+3 |
| | | |||||
* | | Try libEGL.so.1 before libEGL.so | Pierre Krieger | 2015-07-28 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #551 from tomaka/android-headless | tomaka | 2015-07-28 | 1 | -0/+40 |
|\ \ | | | | | | | Implement headless contexts on android | ||||
| * | | Implement headless contexts on android | Pierre Krieger | 2015-07-27 | 1 | -0/+40 |
| |/ | |||||
* / | Load the EGL library in platform/windows | Pierre Krieger | 2015-07-27 | 2 | -23/+12 |
|/ | |||||
* | Merge pull request #548 from tomaka/egl-pbuffer | tomaka | 2015-07-27 | 1 | -1/+30 |
|\ | | | | | Add support for creating a pbuffer with EGL | ||||
| * | Add support for creating a pbuffer with EGL | Pierre Krieger | 2015-07-27 | 1 | -1/+30 |
| | | |||||
* | | Indicate the exact error when eglMakeCurrent or eglSwapBuffers fail | Pierre Krieger | 2015-07-26 | 1 | -8/+6 |
|/ | |||||
* | Attempt to fix issues with sRGB | Pierre Krieger | 2015-07-25 | 1 | -0/+10 |
| | |||||
* | Implement Window.set_inner_size on X11. | Daggerbot | 2015-07-23 | 1 | -3/+3 |
| | |||||
* | Add aarch64-unknown-linux-gnu support | Akos Kiss | 2015-07-23 | 1 | -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 FBConfigs | Pierre Krieger | 2015-07-22 | 1 | -0/+16 |
| | |||||
* | Merge pull request #536 from tomaka/fix-using-freed-memory | tomaka | 2015-07-22 | 1 | -2/+3 |
|\ | | | | | Fix calling XFree before reading from memory | ||||
| * | Fix calling XFree before reading from memory | Pierre Krieger | 2015-07-22 | 1 | -2/+3 |
| | | |||||
* | | Only listen for mouse events from master devices | Robert Knight | 2015-07-22 | 1 | -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::NoAvailablePixelFormat | Pierre Krieger | 2015-07-20 | 2 | -2/+2 |
| | |||||
* | Add CreationError::OpenGlVersionNotSupported | Pierre Krieger | 2015-07-20 | 5 | -13/+16 |
| | |||||
* | Add CreationError::RobustnessNotSupported | Pierre Krieger | 2015-07-20 | 5 | -7/+7 |
| | |||||
* | Merge pull request #530 from tomaka/glx-enumerate | tomaka | 2015-07-19 | 1 | -81/+47 |
|\ | | | | | Enumerate the FBConfigs instead of calling glxChoose | ||||
| * | Enumerate the FBConfigs instead of calling glxChoose | Pierre Krieger | 2015-07-19 | 1 | -81/+47 |
| | | |||||
* | | Merge pull request #529 from tomaka/fix-win32 | tomaka | 2015-07-19 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix the windows build | ||||
| * | Fix the windows build | Pierre Krieger | 2015-07-19 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #527 from tomaka/split-glx | tomaka | 2015-07-19 | 6 | -203/+285 |
|\ \ | | | | | | | Correct window creation on X11 | ||||
| * | | Correct window creation on X11 | Pierre Krieger | 2015-07-19 | 6 | -203/+285 |
| |/ | |||||
* / | Fix EGL context creation | Pierre Krieger | 2015-07-19 | 1 | -3/+10 |
|/ | |||||
* | Merge pull request #523 from tomaka/egl-split | tomaka | 2015-07-19 | 5 | -63/+112 |
|\ | | | | | Split creating an EGL context in two parts | ||||
| * | Split creating an EGL context in two parts | Pierre Krieger | 2015-07-18 | 5 | -63/+112 |
| | | |||||
* | | Merge pull request #510 from robertknight/x11_xinput2 | tomaka | 2015-07-18 | 5 | -91/+406 |
|\ \ | |/ |/| | Use XInput2 for event handling | ||||
| * | Address code review feedback | Robert Knight | 2015-07-13 | 1 | -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 X11 | Robert Knight | 2015-06-28 | 1 | -2/+6 |
| | | | | | | | | Fixes #377 | ||||
| * | X11 - Ignore scroll events that happen outside of Glutin windows | Robert Knight | 2015-06-28 | 2 | -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 events | Robert Knight | 2015-06-28 | 2 | -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 handling | Robert Knight | 2015-06-28 | 5 | -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-err | tomaka | 2015-07-09 | 1 | -20/+19 |
|\ \ | | | | | | | Better win32 error messages | ||||
| * | | Better win32 error messages | Pierre Krieger | 2015-07-09 | 1 | -20/+19 |
| | | | |||||
* | | | Merge pull request #511 from thelink2012/drop-win32 | tomaka | 2015-07-09 | 2 | -1/+24 |
|\ \ \ | |/ / |/| | | [0.3] DroppedFile event for Win32 | ||||
| * | | DroppedFile event for Win32 | Denilson M. Amorim | 2015-06-23 | 2 | -1/+24 |
| | | |