This patch series implements the fast clear feature using meta operations. This series consists of a series of patches that add bits and pieces of infrastructure to control the custom state and the final patch uses all those to implement color fast clear and resolve.
The big ugly problem with doing the resolve in meta is that resolve gets called from a number of places deep inside the driver. We can't always go back and do high-level GL operations from those places, so we move the resolve call up into our dd::UpdateState implementation. This happens early enough in the draw path that we can still use meta. We also avoid getting called from FLUSH_VERTICES(), since we now do the resolve ad glBegin() time. Kristian _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev