summaryrefslogtreecommitdiff
path: root/Xext/xcmisc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-03-16 20:44:48 -0700
committerEric Anholt <eric@anholt.net>2014-04-23 10:36:18 -0700
commit5062b4fadd977d044e54b53b7f3e02e466eac9a9 (patch)
treedff08cea6996d695e4a582da203b424bb4b23b12 /Xext/xcmisc.c
parent747160016ba2d0cd42ad6b174cbf927d67c01875 (diff)
glamor: Add glamor_transfer based glamor_get_image and glamor_put_image
These use the upload_boxes and download_boxes helpers to provide reasonably efficient image transfer. Fixes segfaults in Xephyr with x11perf -reps 1. Performance improvements: Improves -putimage10 by 548.218% +/- 88.601% (n=10). Improves -putimage500 by 3.71014% +/- 1.5049% (n=10). Improves -getimage10 by 8.37004% +/- 4.58274% (n=10). No statistically significant difference on -getimage500 (n=10). v2: Fix rebase failures, don't forget to check/prepare the gc in putimage fallbacks (changes by anholt). Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Xext/xcmisc.c')
0 files changed, 0 insertions, 0 deletions