summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorThomas <[email protected]>2011-06-15 13:04:40 +0200
committerThomas <[email protected]>2011-06-16 16:25:17 +0200
commit82301ea011c8365cf270c86ed3db27cc7e41360f (patch)
tree109155bbac7e0d3c4df5002b93e3ebd63b837c9f /src/gallium/targets
parent9f2f5b3d7fd70663b98da5d302fcdfd5bc93db05 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri-vmwgfx/target.c1
1 files changed, 1 insertions, 0 deletions
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);