diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-01-08 01:45:12 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-01-08 01:51:38 +0300 |
commit | cd6c6ee1a54ec0eed33592bcb7e499ce5141d4ac (patch) | |
tree | f181314eb2afcb924490d53fe67b588a00088463 /source/blender/windowmanager/intern/wm_draw.c | |
parent | 2643b57f9789801a0da2aca166454f5f0fa0ee7e (diff) |
Fix T46993: UI lag in fullscreen mode on OS X / Intel graphics.
If anyone finds OS X UI drawing glitches with different graphics cards please
report them and I'll add an exception specifically for Intel, but in theory this
should work fine for all graphics cards.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_draw.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_draw.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index 8ace4ee19fb..d20cffe9382 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -864,15 +864,6 @@ static int wm_automatic_draw_method(wmWindow *win) /* ATI opensource driver is known to be very slow at this */ if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE)) return USER_DRAW_OVERLAP; - /* also Intel drivers are slow */ -#if 0 /* 2.64 BCon3 period, let's try if intel now works... */ - else if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_UNIX, GPU_DRIVER_ANY)) - return USER_DRAW_OVERLAP; - else if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_ANY)) - return USER_DRAW_OVERLAP_FLIP; - else if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_ANY)) - return USER_DRAW_OVERLAP_FLIP; -#endif /* Windows software driver darkens color on each redraw */ else if (GPU_type_matches(GPU_DEVICE_SOFTWARE, GPU_OS_WIN, GPU_DRIVER_SOFTWARE)) return USER_DRAW_OVERLAP_FLIP; |