[Mesa-dev] [PATCH v2 0/5] XA composite and perf improvements and fixes

Rob Clark robdclark at gmail.com
Tue Apr 8 13:48:48 PDT 2014


From: Rob Clark <robclark at freedesktop.org>

While still more of a stop-gap solution (until glamor) for freedreno,
with these few relatively simple changes I get a pretty big performance
boost (~40%) for xf86-video-freedreno.

Since the first iteration of these patches, I have:
 * re-worked the 'solid-fill src/mask' patch to always use SAMP[0..n]
   rather than hard-coding SAMP[0] to src and SAMP[1] to mask (to avoid
   having a NULL sampler[0]
 * Thomas's version of the 'cache render target surface' patch
 * Added a patch to fix some problems with xRGB -> a8 operations

With this, especially after the 'xrgb->a' patch, rendercheck is at least
not exploding.  Some tests are still failing, but that appears to be
freedreno issues which I am still looking into.  (Mostly problems with
some oddball formats.)

Rob Clark (4):
  st/xa: remove unneeded args
  st/xa: scissor to help tilers
  st/xa: handle solid-fill src/mask
  st/xa: handle xrgb->a better

Thomas Hellstrom (1):
  st/xa: Cache render target surface

 src/gallium/state_trackers/xa/xa_composite.c | 129 ++++++-----
 src/gallium/state_trackers/xa/xa_context.c   |  26 ++-
 src/gallium/state_trackers/xa/xa_priv.h      |  55 ++++-
 src/gallium/state_trackers/xa/xa_renderer.c  | 319 ++++++++++++++++-----------
 src/gallium/state_trackers/xa/xa_tgsi.c      |  73 ++++--
 src/gallium/state_trackers/xa/xa_yuv.c       |   2 +-
 6 files changed, 380 insertions(+), 224 deletions(-)

-- 
1.9.0



More information about the mesa-dev mailing list