[Mesa-dev] [PATCH 00/12] i965: Fast clear using meta

Kristian Høgsberg krh at bitplanet.net
Mon Aug 11 17:29:30 PDT 2014


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




More information about the mesa-dev mailing list