commit | 11351f0c8a88ae84ec397c7f9abb4a83c64b2cfc | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | Tue Jan 20 11:07:10 2009 +0100 |
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | Tue Jan 20 11:07:10 2009 +0100 |
tree | 49fec1bacdfdbb5bd21c9a78c4cc70c12040d1fd | |
parent | a5b5bc9f95f381ac61e29e2b2f2001c4135e54ef [diff] |
dri1: Add a macro to validate two dri drawables in one go. Dri drivers often may validate first a write drawable and then a read drawable ("readable"). However, the hardware lock may be unlocked when validating the readable, causing the write drawable status to be stale. Drivers should use this macro instead when validating two drawables.