target/dri-vmwgfx: Throttle dri clients by default.
authorThomas <thellstrom@vmware.com>
Wed, 15 Jun 2011 11:04:40 +0000 (13:04 +0200)
committerThomas <thellstrom@vmware.com>
Thu, 16 Jun 2011 14:25:17 +0000 (16:25 +0200)
Throttle pretty hard in order to prioritize user-space interactivity over
3D application speed. May revisit this later.

Signed-off-by: Thomas <thellstrom@vmware.com>
src/gallium/targets/dri-vmwgfx/target.c

index 1362851d6bef866d674db97eb83d2e621e241645..da50b8b8bda69d6d7c14818a06f0c82fec6dae1a 100644 (file)
@@ -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);