Campbell Barton
9cea429f78
Fix T46431: Init glew before glx-context crashes
...
Initialize glxew before glew,
so we can check whats supported before creating the context.
This also removes need for mxIgnoreNoVersion.
2015-10-12 15:08:20 +11:00
Brecht Van Lommel
b098609186
Fix various compiler warnings.
2015-10-10 17:35:30 +02:00
Brecht Van Lommel
240f356166
Fix T45167: OS X inertial scrolling can lead to unexpected zooming.
...
Differential Revision: https://developer.blender.org/D1539
2015-10-10 14:00:02 +02:00
Brecht Van Lommel
a8dd0af8cf
Fix T46341: OS X trackpad and magic mouse gestures not working with 10.11 SDK.
...
Differential Revision: https://developer.blender.org/D1539
2015-10-10 14:00:02 +02:00
Campbell Barton
f42ae6c569
Fix/Workaround T46431: blender-softwaregl crashes
...
Order of initialization bug only impacted mesa's software-gl.
For now effectively revert support for glx-context-flags.
2015-10-10 19:39:35 +11:00
Brecht Van Lommel
d9d3a2a500
Fix T44605: OS X continuous grab issues.
2015-10-03 13:08:37 +02:00
Campbell Barton
84c44e026e
Fix leak in ContextGLX
2015-09-11 01:48:31 +10:00
Campbell Barton
d1d0f8eb1a
Cleanup: quiet warnings
2015-09-08 19:42:58 +10:00
Julian Eisel
ef629e0d50
Quiet warnings
...
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-04 01:04:37 +02:00
Campbell Barton
6e65185854
Fix for Ghost/OSX w/ core profile
2015-08-17 16:17:22 +10:00
Sergey Sharybin
dfc672f8bb
SCons: Fix for really nasty bug with polluting configuration environment
...
The issue was caused by the following construction:
def = env['SOMETHING']
defs.append('SOMETHING_MORE')
Since first assignment was actually referencing environment option it was totally
polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-08-04 18:06:28 +02:00
Dalai Felinto
527ee3f1f1
Fix T45632: motion blur (2d filter) not working - in OSX at least
...
This regression was introduced in Blende 2.73a when we went through a
ghost context refactoring :(
2015-07-31 16:45:05 -03:00
Antony Riakiotakis
ed3b19f46d
Ugly hack to avoid GLEW context error printing when initializing GLX.
2015-07-20 14:56:36 +02:00
Antony Riakiotakis
bd28c25f9b
Fix broken GLEW initialization. Initialize GLEW twice, once to get GLX
...
extensions, once to get final context extensions.
Not so nice because we get a warning on startup from GLEW, but at least
it GL extensions should work now.
2015-07-20 12:35:58 +02:00
Antony Riakiotakis
422ffd252a
Pixel format selection now favours a format with a number of samples
...
closer to the one requested on Windows.
Patch D1384 by Benoit Bolsee.
2015-07-20 10:59:30 +02:00
Campbell Barton
86e6d6695e
GHOST/X11: Support GLX-Context flags
...
GHOST_ContextGLX was incomplete, ignoring profile-mask and profile-flags.
2015-07-20 13:32:20 +10:00
Campbell Barton
cd91fd655d
GHOST: use simple stack array for glx attributes
2015-07-20 11:45:42 +10:00
Campbell Barton
98bf205c39
GHOST: correct GLX flag w/ WITH_GL_PROFILE_CORE
...
note that this is currently ignored, but better at least build for now.
2015-07-20 11:32:49 +10:00
Campbell Barton
ecb3e0fe73
Cleanup: whitespace & break placement
2015-07-18 19:03:22 +10:00
Campbell Barton
086ae3ea04
Cleanup: whitespace, wrong indent level
2015-07-18 18:42:59 +10:00
Campbell Barton
72565fbf30
Cleanup: style, spelling
2015-07-06 17:45:11 +10:00
Antony Riakiotakis
626a287c89
Support debug contexts on win32
2015-07-02 20:06:02 +02:00
Antony Riakiotakis
00808eb39a
Make OpenGL debug contexts a flag --debug-gpu instead of a compile time
...
option.
This makes sense, since contexts get created at runtime, there is little
reason to require recompilation for this.
Only works on linux currently, will be doing more OSs later
2015-07-02 19:30:17 +02:00
Campbell Barton
d9046ccbd4
Cleanup: doxygen comments
2015-07-01 16:30:26 +10:00
Campbell Barton
45b2218341
User Prefs for NDOF dead-zone
...
D1344 with edits
2015-07-01 13:45:19 +10:00
Sergey Sharybin
9cefd5612d
GHost: Attempt to fix compilation error on older OSX systems
...
The issue was caused by using NotificationCenter which is only available
since 10.9 so trying to build blender on OSX with 10.7 SDK would fail.
Now it should be possible to build blender with SDK 10.7 and at the same
time official builds should still be doing proper weak-linking to a
notification center.
2015-06-14 14:36:05 +02:00
Antony Riakiotakis
dea3f7f5ff
GHOST get rid of unused warnings
2015-05-29 15:13:47 +02:00
Campbell Barton
f3161c97a6
Ghost/X11: allow creating windows to fail
...
Would exit, problematic for setting stereo3d modes which aren't always supported.
2015-05-28 18:46:15 +10:00
Campbell Barton
3dd346c2a1
Cleanup: warning
2015-05-28 18:46:14 +10:00
Campbell Barton
569a2035c7
GHOST: flush event printer output
2015-05-26 18:51:51 +10:00
Campbell Barton
f01c6e185f
Cleanup: typos
2015-05-23 22:38:47 +10:00
Campbell Barton
5d30c23c35
doxygen: corrections/updates
...
Also add depsgraph & physics
2015-05-20 14:12:22 +10:00
Brecht Van Lommel
c641a5563f
Fix T44612: add support for mouse button 6 and 7 on OS X.
2015-05-05 21:52:09 +02:00
Campbell Barton
d1f9fcaabc
Cleanup: style
2015-04-13 22:08:51 +10:00
Mike Erwin
55b7a8c027
ndof: fix Linux device detect regression
2015-04-12 19:58:17 -04:00
Campbell Barton
1b72ad0c3d
GHOST: don't instantiate assert arg
...
When debugging is disabled, function calls in an assert should never run.
2015-04-09 13:55:46 +10:00
Antony Riakiotakis
40984f6c86
Fix annoying warning in GHOST when ASSERT_ABORT is off
2015-04-08 13:00:46 +02:00
Campbell Barton
45e2366148
Cleanup: remove unused defines
2015-04-08 15:09:20 +10:00
Campbell Barton
808ea6271a
Cleanup: confusing if statements & alignment
2015-04-08 12:24:52 +10:00
Benoit Bolsee
d3388f0c7a
Fix compilation error in Win Debug.
2015-04-06 23:17:18 +02:00
Campbell Barton
a1c2b1a8a8
Fix T44265: Win32 error checking GL version
2015-04-05 09:57:10 +10:00
Campbell Barton
00f732f268
Fix T44266: win32 delete's malloc'd memory
2015-04-05 06:54:34 +10:00
Campbell Barton
e84b0e4c35
Ghost: update tests for recent changes
2015-04-04 17:21:18 +11:00
Sergey Sharybin
90f645855a
GHost: Code cleanup, prepare for strict C++ flags
2015-03-27 18:23:31 +05:00
Severin
6e72f06069
Fix duplicated IME input
...
AFAIK a few IMEs were affected by this so I guess we can now add a
few more IMEs to the "officially supported" list.
Patch by @randon (thanks again!), minor edits by me.
2015-03-26 21:16:43 +01:00
Jens Verwiebe
059d5bc809
OSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in dragndrop, backport to 2.74
2015-03-22 19:29:42 +01:00
Jens Verwiebe
8e9c9fde42
OSX/GHOST: need one more release in error case
2015-03-21 17:15:38 +01:00
Jens Verwiebe
0582aa6f13
Partly fix T44025, pixelFormat retain was left, for 2.74 backport
2015-03-20 17:57:35 +01:00
Campbell Barton
63ab5b0883
Fix for building win32 headless
2015-03-21 02:17:27 +11:00
Mike Erwin
f138666f68
cleanup: Mac #include
...
Don’t need all of Cocoa, or any of Carbon here.
2015-03-17 01:18:52 -04:00