On Monday, July 06, 2015 11:33:10 AM Chris Wilson wrote: > Rather than allocating a fresh page every time we clear a buffer, keep > that page around between invocations by tracking the last used offset > and only allocating a fresh page when we wrap. > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > --- > src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-)
This looks okay to me. Do you have any performance data to justify the extra complexity?
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev