aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* Convert GLX to the new designPierre Krieger2015-09-212-37/+34
|
* Finish converting windows to the new designPierre Krieger2015-09-211-3/+9
|
* Switch WGL and part of win32 to the new systemPierre Krieger2015-09-213-64/+66
|
* Switch EGL to use only pf_reqs and openglPierre Krieger2015-09-215-26/+27
|
* Extract PixelFormatRequirements from BuilderAttribsPierre Krieger2015-09-211-5/+5
|
* Extract WindowAttributes from the BuilderAttribsPierre Krieger2015-09-218-33/+33
|
* Extract GlAttributes from BuilderAttribsPierre Krieger2015-09-218-39/+39
|
* Report the error from x11-rs when failing to open shared librariesPierre Krieger2015-09-202-8/+31
|
* Err when a X connection cannot be created instead of panickingPierre Krieger2015-09-202-5/+19
|
* 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
|
* Merge pull request #590 from tomaka/glx-non-conformanttomaka2015-09-041-3/+4
|\ | | | | No longer filter out non-conformant formats
| * No longer filter out non-conformant formatsPierre Krieger2015-08-301-3/+4
| |
* | Merge pull request #580 from mbrubeck/scroll-linestomaka2015-09-011-10/+11
|\ \ | |/ |/| Fix smooth-scrolling increment on some X11 devices
| * Read scroll axis info from all devicesMatt Brubeck2015-08-271-3/+2
| | | | | | | | | | When multiple scrolling devices are attached, XIAllMasterDevices does not include the scroll axes for all hardware devices.
| * Take XIScrollClassInfo::increment into accountMatt Brubeck2015-08-241-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the "Smooth Scrolling" section of [XI2Proto.txt][1]: > One unit of scrolling in either direction is considered to be equivalent to > one button event, e.g. for a unit size of 1.0, -2.0 on an valuator type > Vertical sends two button press/release events for button 4. Likewise, a > button press event for button 7 generates an event on the Horizontal > valuator with a value of +1.0. The server may accumulate deltas of less than > one unit of scrolling. From [What's new in XI 2.1 - smooth scrolling][2]: > The increment defines what delta the driver considers to be one scroll > event. For an increment of +5, each delta of 5 should be regarded as one > scroll unit down. For an increment of -3, each delta of 3 should be regarded > as one scroll unit up (i.e. inverted). [1]: http://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt [2]: http://who-t.blogspot.com/2011/09/whats-new-in-xi-21-smooth-scrolling.html This fixes scrolling with my Microsoft mouse in X11 on Debian 8.1.
* | Make it work on DragonFly/FreeBSDMichael Neumann2015-08-307-6/+9
| | | | | | | | Tested on DragonFly BSD. Should work similarily on FreeBSD.
* | Correct event typeMariusz Ceier2015-08-281-1/+1
| | | | | | | | | | KeymapNotify should not be handled by calling XRefreshKeyboardMapping. XRefreshKeyboardMapping expects XMappingEvent.
* | 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
| |