1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00
glfw/src
Camilla Löwy 9a87c2a4b4 Add feature available/implemented errors
This adds two new error codes: GLFW_FEATURE_UNAVAILABLE for when
a GLFW feature cannot be reasonably implemented on that platform, and
GLFW_FEATURE_UNIMPLEMENTED for when it can be but has not been yet.

This replaces the current situation where the Wayland code emitted
GLFW_PLATFORM_ERROR in both cases while the macOS code silently did
nothing.

If your application exits on any GLFW error, these error codes should at
least be easy to filter out from that behavior.

Ideally, GLFW_FEATURE_UNAVAILABLE should be rare and
GLFW_FEATURE_UNIMPLEMENTED should never be emitted at all.

Fixes #1692.
2020-06-02 17:18:18 +02:00
..
CMakeLists.txt Enable strict C99 for non-VS compilers 2019-12-16 12:48:32 +01:00
cocoa_init.m Cocoa: Finish launching NSApp in glfwInit 2020-03-12 01:56:35 +01:00
cocoa_joystick.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
cocoa_joystick.m Use the correct type in a for loop 2019-12-26 16:31:37 +01:00
cocoa_monitor.m Cocoa: Replace display link with IOKit query 2019-12-25 21:53:04 +01:00
cocoa_platform.h Use CALayer instead of NSView for EGLNativeWindowType 2020-05-22 17:37:44 +02:00
cocoa_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
cocoa_window.m Add feature available/implemented errors 2020-06-02 17:18:18 +02:00
context.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
egl_context.c Win32: Fix VS /W4 compile warnings 2020-05-26 21:37:20 +02:00
egl_context.h Replace some tabs with spaces 2019-06-16 16:57:09 +02:00
glfw_config.h.in Cocoa: Select Vulkan surface extension at runtime 2020-01-16 21:53:18 +01:00
glfw.rc.in Win32: Add VERSIONINFO resource to GLFW DLL 2019-12-11 21:02:08 +01:00
glx_context.c Remove pointless comments 2019-05-24 14:43:49 +02:00
glx_context.h Replace some tabs with spaces 2019-06-16 16:57:09 +02:00
init.c Add feature available/implemented errors 2020-06-02 17:18:18 +02:00
input.c Add more standard cursors 2019-11-28 22:24:00 +01:00
internal.h Cocoa: Select Vulkan surface extension at runtime 2020-01-16 21:53:18 +01:00
linux_joystick.c Convert some declarations to C99 style 2019-06-27 18:13:29 +02:00
linux_joystick.h Start 3.4 2019-04-16 23:08:39 +02:00
mappings.h Remove mappings for GUID used by different devices 2019-11-11 22:37:18 +01:00
mappings.h.in Start 3.4 2019-04-16 23:08:39 +02:00
monitor.c Fix comparison of video modes of equal area 2019-09-01 21:57:06 +02:00
nsgl_context.h NSGL: Remove problematic swap interval workaround 2019-12-20 09:46:48 +01:00
nsgl_context.m Cocoa: Fix call to NSWindow from non-main threads 2020-04-30 22:44:54 +02:00
null_init.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
null_joystick.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
null_joystick.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
null_monitor.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
null_platform.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
null_window.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
osmesa_context.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
osmesa_context.h Start 3.4 2019-04-16 23:08:39 +02:00
posix_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
posix_thread.h Start 3.4 2019-04-16 23:08:39 +02:00
posix_time.c Fix POSIX conformance issues for clock_gettime 2019-12-15 18:15:40 +01:00
posix_time.h Start 3.4 2019-04-16 23:08:39 +02:00
vulkan.c Cocoa: Add fully dynamic loading of Vulkan loader 2020-01-16 22:15:30 +01:00
wgl_context.c Remove pointless comments 2019-05-24 14:43:49 +02:00
wgl_context.h WGL: Remove unused constants 2020-02-10 17:44:57 +01:00
win32_init.c Fix typos 2019-09-16 12:30:25 +02:00
win32_joystick.c Win32: Fix VS /W4 compile warnings 2020-05-26 21:37:20 +02:00
win32_joystick.h Fix -Wextra-semi warnings 2019-10-17 20:09:38 +02:00
win32_monitor.c Win32: Add missing include for wcscmp 2019-12-15 18:37:57 +01:00
win32_platform.h Win32: Remove checks for pre-XP Windows 2020-05-20 17:59:10 +02:00
win32_thread.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_time.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
win32_window.c Win32: Remove checks for pre-XP Windows 2020-05-20 17:59:10 +02:00
window.c Win32: Add GLFW_WIN32_KEYBOARD_MENU 2019-11-11 22:37:18 +01:00
wl_init.c Fix POSIX conformance issues for clock_gettime 2019-12-15 18:15:40 +01:00
wl_monitor.c Add feature available/implemented errors 2020-06-02 17:18:18 +02:00
wl_platform.h Wayland: Don’t reload the cursor on every pointer motion 2019-11-21 13:52:37 +01:00
wl_window.c Add feature available/implemented errors 2020-06-02 17:18:18 +02:00
x11_init.c Use the correct type in a for loop 2020-05-26 20:19:14 +02:00
x11_monitor.c X11: Fix queries crashing if monitor disconnected 2020-01-16 23:52:39 +01:00
x11_platform.h X11: Fix X keycode ranges for XKB and core 2020-03-31 17:31:01 +02:00
x11_window.c X11: Clarify code flow for Clang static analysis 2020-05-19 17:59:18 +02:00
xkb_unicode.c Add C dialect reminders to each source file 2019-05-24 14:43:49 +02:00
xkb_unicode.h Start 3.4 2019-04-16 23:08:39 +02:00