aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-076-22/+100
|
* Get the list of extensions only oncePierre Krieger2015-08-071-28/+50
|
* Removed dot in error messageSven Nilsen2015-08-051-1/+1
| | | | Closes https://github.com/tomaka/glutin/issues/562
* Typo in error messageBraden Evans2015-08-041-1/+1
|
* Implement Display, Error for ContextErrorBraden Evans2015-08-041-1/+22
|
* 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-282-33/+40
|\ \ | | | | | | Implement headless contexts on android
| * | Implement headless contexts on androidPierre Krieger2015-07-272-33/+40
| |/
* | Headless contexts now create an EGL pbuffer on win32Pierre Krieger2015-07-271-8/+46
| |
* | Load the EGL library in platform/windowsPierre Krieger2015-07-273-26/+78
|/
* 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
|/
* Merge pull request #547 from tomaka/better-choicetomaka2015-07-251-19/+64
|\ | | | | Better choice for the pixel format
| * Better choice for the pixel formatPierre Krieger2015-07-251-19/+64
| |
* | Attempt to fix issues with sRGBPierre Krieger2015-07-251-0/+10
|/
* Keep existing function for backward compatibilitySven Nilsen2015-07-251-0/+14
|
* Split `get_inner_size`Sven Nilsen2015-07-251-1/+16
| | | | | | | | | Closes https://github.com/tomaka/glutin/issues/542 * Splits `get_inner_size` into `get_inner_size_points` and `get_inner_size_pixels` This is a breaking change.
* Fixed docs for `get_inner_size`Sven Nilsen2015-07-251-3/+2
| | | | Closes https://github.com/tomaka/glutin/issues/388
* 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 smaall TODOPierre Krieger2015-07-201-0/+1
|
* Add CreationError::NoAvailablePixelFormatPierre Krieger2015-07-203-3/+6
|
* Add CreationError::OpenGlVersionNotSupportedPierre Krieger2015-07-206-13/+19
|
* Add CreationError::RobustnessNotSupportedPierre Krieger2015-07-206-7/+10
|
* 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-198-204/+288
|\ \ | | | | | | Correct window creation on X11
| * | Correct window creation on X11Pierre Krieger2015-07-198-204/+288
| |/
* / 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.