Comment 1 for bug 597094

Revision history for this message
In , Brian Rogers (brian-rogers) wrote :

19d8c0cf50e98909c533ebfce3a0dd3f72b755c1 is the first bad commit

commit 19d8c0cf50e98909c533ebfce3a0dd3f72b755c1
Author: Chris Wilson <email address hidden>
Date: Sun Nov 29 21:16:49 2009 +0000

    uxa: PutImage acceleration

    Avoid waiting on dirty buffer object by streaming the upload to a fresh,
    non-GPU hot buffer and blitting to the destination.

    This should help to redress the regression reported in bug 18075:

      [UXA] XPutImage performance regression
      https://bugs.freedesktop.org/show_bug.cgi?id=18075

    Using the particular synthetic benchmark in question on a g45:

    Before:
       9542.910448 Ops/s; put composition (!); 15x15
       5623.271889 Ops/s; put composition (!); 75x75
       1685.520362 Ops/s; put composition (!); 250x250

    After:
      40173.865300 Ops/s; put composition (!); 15x15
      28670.280612 Ops/s; put composition (!); 75x75
       4794.368601 Ops/s; put composition (!); 250x250

    which while not stellar performance is at least an improvement. As
    anticipated this has little impact on the non-fallback RENDER paths, for
    instance the current cairo-xlib backend is unaffected by this change.

    Signed-off-by: Chris Wilson <email address hidden>