Kovid Goyal
363afac8af
Fallback to eglGetDisplay() when eglGetPlatformDisplayEXT() returns EGL_NO_DISPLAY
2025-08-16 08:13:40 +05:30
Kovid Goyal
5ca22d660e
Nicer error handling when EGL context initialize fails
2025-08-16 08:04:48 +05:30
Kovid Goyal
caba27240b
Add some missing assertions
...
Port from upstream glfw: 38ec7abd3baffdd3ec4e6f8cbb5384cda8882ae3
2025-08-16 07:38:54 +05:30
Kovid Goyal
cb42fd82a4
EGL: Fix GLFW_CONTEXT_NO_ERROR on Mesa
...
Mesa EGL requires the context version to be set to 2.0 or greater before
EGL_CONTEXT_OPENGL_NO_ERROR_KHR in the attribute list.
Without this, context creation via Mesa EGL with
EGL_CONTEXT_OPENGL_NO_ERROR_KHR set fails with EGL_BAD_ATTRIBUTE.
Port from upstream glfw: eeeb56eb23c9a23866e8042fb23d7b0b4d96d106
2025-08-16 07:30:32 +05:30
Kovid Goyal
8e39041619
Add assertions for context function invariants
...
Port from upstream glfw
See 93d70cb6a8c9571b5b493936596633a1a8538cea
2025-08-16 07:27:20 +05:30
Kovid Goyal
de122ed727
Bind eglQuerySurface
2022-10-31 21:03:39 +05:30
Kovid Goyal
5ba887ff68
Wayland: Fix for bug in NVIDIA drivers that prevents transparency working
...
Fixes #5479
2022-09-10 11:57:18 +05:30
Kovid Goyal
fa823a37ae
Backport 6281f498c8
2022-06-23 13:00:28 +05:30
Luflosi
973d98457f
EGL: Add support for EGL_ANGLE_platform_angle
...
From upstream: 0dea8a4441 .
2020-06-30 00:34:32 +02:00
Luflosi
c39e9e9c61
EGL: Add support for EGL_EXT_platform_base
...
From upstream: aec9fae8f3 .
2020-06-26 12:39:17 +02:00
Luflosi
d7a7509da6
EGL: Replace native handle macros with functions
...
From upstream: d7f7b0e1b5 .
2020-06-26 12:17:13 +02:00
Kovid Goyal
8a178ebe55
Wayland: Apply the same framebuffer selection optimisation
...
Not as much of a win, since EGL only causes approx 1K getpid() calls of
which this optimization eliminates only half
2020-06-09 21:59:25 +05:30
Luflosi
46b5e4513a
Win32: Fix VS /W4 compile warnings
...
From upstream: a84a30ab63 .
2020-06-03 19:05:05 +02:00
Luflosi
ba201c4c92
Add curly braces
...
From upstream: 9486ec0c02 .
The upstream commit mainly changes some cmake stuff, which we don't use and only really adds curly braces to `egl_context.c` (and changes some formatting).
2019-12-18 18:12:48 +01:00
Luflosi
28bb123be8
Update the GLFW version number from 3.3 to 3.4
...
Closes https://github.com/kovidgoyal/kitty/issues/1884 .
From a337c56848 .
2019-08-02 11:00:16 -05:00
Luflosi
489f3e6c9d
Add C dialect reminders to each glfw source file
...
Reduces the difference to upstream.
From 56aad76b16 .
2019-07-20 21:07:27 -05:00
Luflosi
bdc4558a43
Update GLFW copyright years
...
Reduces the difference to upstream.
From ab118b2529 .
2019-07-20 00:30:13 -05:00
Kovid Goyal
841c907efc
Build glfw with all warnings enabled
2019-07-01 10:42:07 +05:30
Luflosi
fb98aa650d
Reduce the difference of glfw to upstream
...
This only changes some formatting, whitespace, etc.. There are no
changes to the functionality.
Let me know if you don't like some of those changes.
2019-06-20 21:40:59 +02:00
Kovid Goyal
47acc9ff2f
Get rid of GLFW_(TRUE|FALSE)
2019-06-08 08:14:30 +05:30
Kovid Goyal
fe62700825
Get rid of GLFWbool
2019-06-08 08:12:42 +05:30
Kovid Goyal
a2e47d2d0e
EGL: Warn if non-blocking swap buffers is not available
2019-03-21 09:46:46 +05:30
Kovid Goyal
9307486254
Initial import of glfw
2017-12-01 12:15:36 +05:30