0
0
forked from blender/blender
blender/intern/ghost
Campbell Barton cec4531dde Fix window creation error on wayland when EGL resource allocation fails
Quickly opening & closing windows could result in an error allocating
the EGL context.

In my tests the window would be created but not display (in GNOME)
hanging for a while although Blender could be usable again after a
while. However some users report this crashing (see #123096).

Change the behavior to match X11, where failure to set the context
makes the GHOSTWindow::getValid return false.

In my tests the Blender window is created after a short delay.
This may also resolve #123096.
2024-07-15 19:41:51 +10:00
..
intern Fix window creation error on wayland when EGL resource allocation fails 2024-07-15 19:41:51 +10:00
test Refactor: Require C++ for users of BLI_simd.h 2024-05-02 16:22:19 +02:00
CMakeLists.txt Revert "GHOST/Wayland: reference the stable tablet-v2 API" 2024-06-26 11:48:55 +02:00
GHOST_C-api.h Cleanup: spelling in comments 2024-05-04 15:24:46 +10:00
GHOST_IContext.hh Vulkan: Rewrite GHOST_ContextVK 2023-08-29 15:05:08 +02:00
GHOST_IEvent.hh Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
GHOST_IEventConsumer.hh Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
GHOST_ISystem.hh Cleanup: correct doc-strings for GHOST_GetMilliSeconds 2024-01-29 11:47:43 +11:00
GHOST_ISystemPaths.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
GHOST_ITimerTask.hh License headers: use SPDX-FileCopyrightText in intern/ghost 2023-06-14 17:42:15 +10:00
GHOST_IWindow.hh Cleanup: spelling in comments 2024-05-04 15:24:46 +10:00
GHOST_IXrContext.hh License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
GHOST_Path-api.hh Cleanup: Remove C++ ifdef checks in C++ headers 2024-03-26 04:56:03 +01:00
GHOST_Rect.hh Cleanup: make class doc-strings directly above classes 2023-07-25 14:11:42 +10:00
GHOST_Types.h WM: add a capability flag for physical trackpad direction 2024-04-26 21:26:49 +10:00