[cairo-bugs] [Bug 11529] Performance of cairo is not good without XRender extension

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 11 23:20:41 PST 2007


------- Comment #36 from brian.lu at sun.com  2007-12-11 23:20 PST -------
(In reply to comment #35)
> Steps for running regression tests:
> 1) Go into the test directory of the cairo module
> 2) Run "make check"
> - compare the output with and without this patch.  The same number of tests 
>   should pass with & without the patch.
> Steps for running performance tests
> 1) Go into the perf directory of the cairo module
> 2) Run "make cairo-perf-diff-files" to build the cairo-perf-diff-files utility"
> 3) Change "#!/bin/sh" on the first line of cairo-perf-diff to "#!/bin/bash"
>    since this is needed to run it on Solaris

The latest cairo-perf-diff has changed to "#!/bin/bash", we don't need to do
this any more.

> 4) Run "make check" with and without your patch applied, redirect the output
>    to a file like this "make check > perf-without-patch.txt" and "make check >
>    perf-with-patch.txt"
I run the command on the latest cairo code base without these patches and got
the following error message:

X server does not have the Render extension.
Error: Failed to create target surface: xlib
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /export/home/brian/cairo-ws/cairo/perf
make: Fatal error: Command failed for target `check-am'

I checked the cairo-perf.c and found that cairo-perf can't run on an X system
without Render extension.

Is there any workaround?

Thanks a lot

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the cairo-bugs mailing list