diff options
author | Keith Packard <keithp@keithp.com> | 2014-03-16 20:44:48 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-04-23 10:36:18 -0700 |
commit | 5062b4fadd977d044e54b53b7f3e02e466eac9a9 (patch) | |
tree | dff08cea6996d695e4a582da203b424bb4b23b12 /glamor/Makefile.am | |
parent | 747160016ba2d0cd42ad6b174cbf927d67c01875 (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 'glamor/Makefile.am')
-rw-r--r-- | glamor/Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/glamor/Makefile.am b/glamor/Makefile.am index b7069e012..bde58b632 100644 --- a/glamor/Makefile.am +++ b/glamor/Makefile.am @@ -17,8 +17,8 @@ libglamor_la_SOURCES = \ glamor_glx.c \ glamor_glyphs.c \ glamor_polylines.c \ - glamor_putimage.c \ glamor_segment.c \ + glamor_image.c \ glamor_render.c \ glamor_gradient.c \ glamor_program.c \ @@ -34,7 +34,6 @@ libglamor_la_SOURCES = \ glamor_tile.c \ glamor_triangles.c\ glamor_addtraps.c\ - glamor_getimage.c\ glamor_copyplane.c\ glamor_glyphblt.c\ glamor_points.c\ |