st/dri: Implement the new dri2 throttling extension
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 11 Oct 2011 13:15:21 +0000 (15:15 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 14 Oct 2011 07:52:57 +0000 (09:52 +0200)
commit23c41233ce9ac13ba60242f9e839d5b13d1ea803
treebd2b33e02a0bd1abc0d31589c8d10be2d8d45787
parent511dc295f82c61acefe026d0f4de43d4a31dbf90
st/dri: Implement the new dri2 throttling extension

But don't hook it up just yet until we figure out a good way to do that.
Also, we should, in the future, add driconf options to control what
throttling reasons should be honored, and the number of outstanding
swaps allowed.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/common/dri_drawable.h