From: Thomas Date: Wed, 15 Jun 2011 11:04:40 +0000 (+0200) Subject: target/dri-vmwgfx: Throttle dri clients by default. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82301ea011c8365cf270c86ed3db27cc7e41360f;p=mesa.git target/dri-vmwgfx: Throttle dri clients by default. Throttle pretty hard in order to prioritize user-space interactivity over 3D application speed. May revisit this later. Signed-off-by: Thomas --- diff --git a/src/gallium/targets/dri-vmwgfx/target.c b/src/gallium/targets/dri-vmwgfx/target.c index 1362851d6be..da50b8b8bda 100644 --- a/src/gallium/targets/dri-vmwgfx/target.c +++ b/src/gallium/targets/dri-vmwgfx/target.c @@ -19,6 +19,7 @@ create_screen(int fd) if (!screen) return NULL; + vmw_winsys_screen_set_throttling(screen, 10); screen = sw_screen_wrap(screen); screen = debug_screen_wrap(screen);