Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-21 14:44:46 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-21 14:44:46 +0400
commite3428ae73f04d8a85cd2ec9aa8dcf91eee1ec27c (patch)
tree78fbb71fc40b1a726137c1fd8729d626e83d75f5
parentedeef8bcd7af488bb11f03464d0bce7757eefcf8 (diff)
Change back automatic draw method to triple buffer for Intel cards, overlap is
not working reliable and flickering on various configurations, will try to find out what these are, but for now probably better to have correct than fast drawing.
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index 7e0ee7226c5..899c7728af9 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -686,9 +686,11 @@ 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;
+#if 0
/* also Intel drivers don't work well with this */
else if(GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY))
return USER_DRAW_OVERLAP;
+#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;