[xf86-video-nouveau] dri2: Enable BufferAge support

2015-05-09 Thread Mario Kleiner
On 01/19/2015 12:00 PM, Chris Wilson wrote: > For enable BufferAge support, we just have to be not using the > DRI2Buffer->flags field for any purpose (i.e. it is always expected to > be 0, as it is now) and to be sure to swap the flags field whenever we > exchange buffers. As nouveau does not

[xf86-video-nouveau] dri2: Enable BufferAge support

2015-01-19 Thread Chris Wilson
For enable BufferAge support, we just have to be not using the DRI2Buffer->flags field for any purpose (i.e. it is always expected to be 0, as it is now) and to be sure to swap the flags field whenever we exchange buffers. As nouveau does not exactly support TripleBuffer, we don't have to worry