[PATCH x11perf] Make sure that window fits into screen.
ext-pauli.nieminen at nokia.com
Fri Jan 28 05:15:02 PST 2011
On 28/01/11 13:59 +0100, ext Michel Dänzer wrote:
> On Fre, 2011-01-28 at 13:10 +0200, Rami Ylimäki wrote:
> > XGetImage request will correctly fail and terminate x11perf with a
> > BadMatch error if window is larger than its backing pixmap.
> > This change makes all tests from putimage10 to getimagexy500 work on
> > screens that are smaller than the default window size.
> The numbers are not comparable if the operation dimensions are
> different. It might be better to refuse tests that can't fit.
How about using manually redirect child window? That could allow creating
backing pixmap that is larger than screen size. But it will have some
performance impact because content won't be rendered to frame buffer. But at
least test could be repeated in-depend on desktop around the test.
More information about the xorg-devel