On 06/26, Uli Schlachter wrote:
> Am 24.06.2016 um 00:26 schrieb [email protected]:
> > Xvfb :3 &
>
> I don't know what the default screen size for Xvfb is, but I suggest to also add
> "-screen 0 1280x1024x24" as an argument. Instead of a bit depth of 8 (just 256
> colors!), you will then get something useful instead. This will possibly also
> fix most (all?) of your problems.
Thank you, that helped a lot. With the xcb target, I have 7 FAILs left
(when using a fresh CAIRO_REF_DIR, and 24 bit Xvfb). Any ideas why these
are failing?
Testing record1414x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
8 pixels differ (with maximum difference of 32) from reference image
8 pixels differ (with maximum difference of 32) from reference image
OUTPUT: output/record1414x-paint-alpha-clip-mask.xcb.argb32.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record1414x-paint-alpha-clip-mask.xcb.argb32.out.png
DIFFERENCE: output/record1414x-paint-alpha-clip-mask.xcb.argb32.diff.png
TEST: record1414x-paint-alpha-clip-mask TARGET: xcb FORMAT: argb32 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record1414x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
8 pixels differ (with maximum difference of 49) from reference image
8 pixels differ (with maximum difference of 49) from reference image
OUTPUT: output/record1414x-paint-alpha-clip-mask.xcb.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record1414x-paint-alpha-clip-mask.xcb.rgb24.out.png
DIFFERENCE: output/record1414x-paint-alpha-clip-mask.xcb.rgb24.diff.png
TEST: record1414x-paint-alpha-clip-mask TARGET: xcb FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record2x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
9 pixels differ (with maximum difference of 59) from reference image
9 pixels differ (with maximum difference of 59) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb.argb32.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb.argb32.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb.argb32.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb FORMAT: argb32 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record2x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
6 pixels differ (with maximum difference of 56) from reference image
6 pixels differ (with maximum difference of 56) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb.rgb24.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb.rgb24.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record2x-paint-alpha-clip-mask with xcb-window& target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 29) from reference image
4 pixels differ (with maximum difference of 29) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb-window& FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record90-paint-alpha-clip-mask with xcb-window& target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 57) from reference image
4 pixels differ (with maximum difference of 57) from reference image
OUTPUT: output/record90-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record90-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
DIFFERENCE: output/record90-paint-alpha-clip-mask.xcb-window&.rgb24.diff.png
TEST: record90-paint-alpha-clip-mask TARGET: xcb-window& FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record-paint-alpha-clip-mask with xcb-window target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 34) from reference image
4 pixels differ (with maximum difference of 34) from reference image
OUTPUT: output/record-paint-alpha-clip-mask.xcb-window.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record-paint-alpha-clip-mask.xcb-window.rgb24.out.png
DIFFERENCE: output/record-paint-alpha-clip-mask.xcb-window.rgb24.diff.png
TEST: record-paint-alpha-clip-mask TARGET: xcb-window FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Script I ran:
Xvfb -screen 0 1280x1024x24 :3 &
git clean -xfd
./autogen.sh --prefix=$HOME/install --enable-gl --enable-xcb
make
DISPLAY=:3 CAIRO_TEST_TARGET=xcb make test
cp -a test/output/ $HOME/source/cairo-ref.xcb.xvfb.1
git clean -xfd
./autogen.sh --prefix=$HOME/install --enable-gl --enable-xcb
make
DISPLAY=:3 CAIRO_REF_DIR=$HOME/source/cairo-ref.xcb.xvfb.1 CAIRO_TEST_TARGET=xcb make test
cp -a test/output/ $HOME/source/cairo-ref.xcb.xvfb.2
--
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.