c9344d6c5b
Fix T58776, T58030: pressure sensitivity on Linux not working for some tablets.
2018-12-05 14:02:37 +01:00
5c3955452b
Merge branch 'master' into blender2.8
2018-12-04 19:48:21 +01:00
Niels
8908670623
Fix T58466: bug in macOS GHOST_GetSwapInterval.
...
No user level changes since this function is not used in active code.
2018-12-04 18:44:42 +01:00
0f5b53ba4d
Revert "Win32: Use the nicer looking blender-drawn confirmation message box when"
...
This reverts commit 60d6eb0b5d .
There is already a full patch (D3118) by brecht for this, will leave it up to him.
2018-11-30 23:29:32 +01:00
60d6eb0b5d
Win32: Use the nicer looking blender-drawn confirmation message box when
...
quitting with unsaved changes, instead of an ugly messagebox
2018-11-30 21:11:59 +01:00
a2e209f20a
Merge branch 'master' into blender2.8
2018-11-24 23:44:17 +01:00
7c19d9e9af
Fix X11 tablet pen and eraser distinction being wrong in some cases.
...
This extends the earlier fix to use the latest logic from Wine's wintab.c,
to better handle eraser detection.
2018-11-24 23:24:32 +01:00
059c119719
Merge branch 'master' into blender2.8
2018-11-25 08:01:53 +11:00
e5bc9fae54
Fix penpressure for tablets that use libinput on linux
2018-11-24 18:26:20 +01:00
55e719ec35
Merge branch 'master' into blender2.8
2018-11-14 17:21:34 +11:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
793d5cb7fd
Merge branch 'master' into blender2.8
2018-10-09 10:41:13 +11:00
76f640c27d
Cleanup: spelling
2018-10-09 09:29:14 +11:00
786870e26f
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
...
This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.
2018-10-01 08:35:32 +02:00
0722981e99
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
...
This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.
2018-09-30 19:33:41 +02:00
4de1e673a4
Merge branch 'master' into blender2.8
2018-09-27 14:51:33 +02:00
2a63e062b0
Tests: add --no-window-focus to open window without focus.
...
This is useful to run OpenGL tests while continuing to do other tasks
without windows constantly popping up in the foreground.
2018-09-27 12:21:48 +02:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
3f2090f401
Merge branch 'master' into blender2.8
2018-08-31 13:00:19 +02:00
9492522db5
Fix T56618: crash when typing certain characters on Linux.
2018-08-31 12:43:39 +02:00
871b7ba892
Merge branch 'master' into blender2.8
2018-08-28 19:15:08 +02:00
Colby Klein
31c99c0c4e
Fix pen tablet stuck on Windows for some non-Wacom tablets.
...
Differential Revision: https://developer.blender.org/D3573
2018-08-26 23:19:31 +02:00
4fcca6a0ab
GHOST: Make win32 errors more readable on some drivers
2018-08-14 21:38:13 +02:00
e4b68befa2
Merge branch 'master' into blender2.8
2018-08-08 17:56:56 +10:00
697d4b227e
Ghost/X11: correct function signature
2018-08-08 17:54:41 +10:00
6fbd210b91
Merge branch 'master' into blender2.8
2018-08-08 11:05:08 +10:00
931a279f44
Cleanup: use static variables
2018-08-08 11:00:57 +10:00
95e490889d
macOS GHOST: use non-deprecated functions for coordinates
2018-08-07 21:53:02 +03:00
030297209f
Fix T54799: NDOF events not dispatched on windows.
...
Caused by commit rB785e8a636a29
2018-08-07 11:41:55 -03:00
60499ff25d
GHOST: Fix SDL backend.
...
We use a hidden window for each offscreen context we need.
On X11 (linux) it does not show any other windows in the OS task bar
but it might be the case on other operating systems (untested).
2018-07-27 16:28:44 +02:00
b3b4b9fb8c
Fix WITH_HEADLESS build.
2018-07-20 15:25:47 +02:00
5852420023
Merge branch 'master' into blender2.8
2018-07-16 17:34:10 +02:00
e6af8758c8
Ghost: Fix memory leak happening with keyboard mapping access
...
So far only noticed system de-initialization doesn't perform full
object free. So rather harmless but yet stupid.
2018-07-16 17:32:57 +02:00
7f5e4a819c
GHOST/Windows: don't prefer swap copy method.
...
This is no longer needed with the new offscreen draw method, so use whatever
is default and hopefully fastest. Fixes console warnings in some setups that
don't have swap copy.
2018-07-10 17:48:48 +02:00
0bfc06b7b7
Merge branch 'master' into blender2.8
2018-07-10 11:23:10 +02:00
719629f2aa
GHOST: Fix memory leak in X11 DPI query
...
The X resource database is to be explicitly destroyed. This fixes 46 bytes
leak per every window DPI query (which happens a lot on window move/resize
and even on areas resize).
Unfortunately, this does not fully fix the leak since the known leak:
https://bugs.freedesktop.org/show_bug.cgi?id=94604
2018-07-10 10:59:06 +02:00
433e3db8d8
Revert "GHOST: Delay opengl context initialization"
...
This reverts commit 128926a41b .
2018-07-03 13:36:04 +02:00
6c9fe9cd8c
Revert "GHOST: WGL: Delay context initialization for offscreen contexts."
...
This reverts commit 800c3c5ca5 .
# Conflicts:
# intern/ghost/intern/GHOST_ContextWGL.cpp
2018-07-03 13:36:04 +02:00
d78bcf9055
Revert "GHOST: Fix uninitialized var"
...
This reverts commit 27b6734022 .
2018-07-03 13:36:04 +02:00
7a8403dbb0
Revert "GHOST: Fix uninitialized values."
...
This reverts commit aca403c819 .
2018-07-03 13:36:04 +02:00
9bd0c63382
Merge branch 'master' into blender2.8
2018-06-29 08:05:38 +02:00
af36dd4664
Cleanup: trailing newlines
2018-06-29 08:02:49 +02:00
2fa231a86b
Ghost: Fix F12 render on windows.
...
createOffscreenContext left the new context bound to the calling thread
causing a race condition with the background thread doing the actual
rendering. see T55555 for a more detailed description of the problem.
this patch changes the behavior of createOffscreenContext to restore the
context to the calling context.
Reviewers: fclem
Differential Revision: https://developer.blender.org/D3499
2018-06-23 11:37:35 -06:00
8c77c36539
Ghost: Fix offline OGL render on windows.
...
rBe0c088f8fb5a introduced offline rendering support on windows, sadly it was trying to use the desktop window for getting a context, which given SetPixelFormat can only be called once for any given HDC was an unfortunate choice.
This patch uses a temporary hidden window for getting the opengl context.
Reviewers: mano-wii
Differential Revision: https://developer.blender.org/D3481
2018-06-18 18:10:45 -06:00
2e09b277d5
Revert "GHOST: GLX: Remove XInitThreads"
...
This reverts commit 7529690df3 .
I tried to put manually add threading protection to GHOST around
Xlib calls but that did not fix the crashes. So reverting that
for now despite the performance implication on some system.
2018-06-14 18:17:28 +02:00
aca403c819
GHOST: Fix uninitialized values.
2018-06-11 17:07:52 +02:00
7529690df3
GHOST: GLX: Remove XInitThreads
...
This was needed because we were sharing opengl contexts across multiple
threads. With the recent refactor this should be no longer needed.
2018-06-11 17:23:06 +02:00
27b6734022
GHOST: Fix uninitialized var
...
Was causing crash on startup.
2018-06-11 17:04:59 +02:00
800c3c5ca5
GHOST: WGL: Delay context initialization for offscreen contexts.
...
Same as 128926a41b but for windows.
2018-06-11 13:06:54 +02:00