[Mesa-dev] [PATCH] gallium: Use base.stamp for all drawable invalidation checks.

2013-11-22 Thread Marek Olšák
Reviewed-by: Marek Ol??k Marek On Fri, Nov 22, 2013 at 5:20 AM, Keith Packard wrote: > Upper levels of the stack use base.stamp to tell when a drawable needs to be > revalidated, but the dri state tracker was using dPriv->lastStamp. Those two, > along with dri2.stamp, all get simultaneously

[PATCH] gallium: Use base.stamp for all drawable invalidation checks.

2013-11-21 Thread Keith Packard
Upper levels of the stack use base.stamp to tell when a drawable needs to be revalidated, but the dri state tracker was using dPriv->lastStamp. Those two, along with dri2.stamp, all get simultaneously incremented when a dri2 invalidate event was delivered, and so end up containing precisely the