-
commit-queue@webkit.org authored
Reviewed by Adam Roben. [GTK] Implement pixel dump support for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=58242 * GNUmakefile.am: Reference the new ImageDiff GNUmakefile. 2011-06-22 Martin Robinson <mrobinson@igalia.com> Reviewed by Adam Roben. [GTK] Implement pixel dump support for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=58242 * GNUmakefile.am: Added new Cairo specific image handling files to the build. * Shared/API/c/cairo/WKImageCairo.cpp: Copied from Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp. (WKImageCreateCairoSurface): Added (WKImageCreateFromCairoSurface): Added * Shared/API/c/cairo/WKImageCairo.h: Copied from Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp. 2011-06-22 Martin Robinson <mrobinson@igalia.com> Reviewed by Adam Roben. [GTK] Implement pixel dump support for WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=58242 * DumpRenderTree/gtk/GNUmakefile.ImageDiff.am: Added. * GNUmakefile.am: Separate out the ImageDiff bits of the GNUmakefile. * Scripts/old-run-webkit-tests: Update to add support for the GTK+ port. * WebKitTestRunner/GNUmakefile.am: Added Cairo specific files to the build. * WebKitTestRunner/TestInvocation.cpp: Moved this code to the platform-independent file so that we can share it across platforms. (WTR::TestInvocation::compareActualHashToExpectedAndDumpResults): * WebKitTestRunner/TestInvocation.h: Updated method list. * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added Cairo implementation. * WebKitTestRunner/cg/TestInvocationCG.cpp: (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Updated to use new helper. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9d027e4d