Changeset 83912 in webkit


Ignore:
Timestamp:
Apr 14, 2011 4:31:51 PM (13 years ago)
Author:
bfulgham@webkit.org
Message:

2011-04-13 Brent Fulgham <bfulgham@webkit.org>

Reviewed by Martin Robinson.

[WinCairo] Implement ImageDiff Logic.
http://bugs.webkit.org/show_bug.cgi?id=58486

  • DumpRenderTree/win/ImageDiffCairo.cpp: Added. (strtof): (readFromData): (createImageFromStdin): (releaseMallocBuffer): (createDifferenceImage): (imageHasAlpha): (writeToData): (main):
  • DumpRenderTree/win/ImageDiff.vcproj: Updated for new ImageDiffCairo.cpp (excluding from Apple builds).
  • DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops: Use new ImageDiffWinCairoCommon.vsprops file.
  • DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops: Use new ImageDiffWinCairoCommon.vsprops file.
  • DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops: Added.
  • Scripts/old-run-webkit-tests: Make sure proper executable is built and executed for WinCairo port.
Location:
trunk/Tools
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r83908 r83912  
     12011-04-13  Brent Fulgham  <bfulgham@webkit.org>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [WinCairo] Implement ImageDiff Logic.
     6        http://bugs.webkit.org/show_bug.cgi?id=58486
     7
     8        * DumpRenderTree/win/ImageDiffCairo.cpp: Added.
     9        (strtof):
     10        (readFromData):
     11        (createImageFromStdin):
     12        (releaseMallocBuffer):
     13        (createDifferenceImage):
     14        (imageHasAlpha):
     15        (writeToData):
     16        (main):
     17        * DumpRenderTree/win/ImageDiff.vcproj: Updated for new
     18          ImageDiffCairo.cpp (excluding from Apple builds).
     19        * DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops: Use
     20          new ImageDiffWinCairoCommon.vsprops file.
     21        * DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops: Use
     22          new ImageDiffWinCairoCommon.vsprops file.
     23        * DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops: Added.
     24        * Scripts/old-run-webkit-tests: Make sure proper executable
     25          is built and executed for WinCairo port.
     26
    1272011-04-14  Ojan Vafai  <ojan@chromium.org>
    228
  • trunk/Tools/DumpRenderTree/win/ImageDiff.vcproj

    r82477 r83912  
    200200                <Configuration
    201201                        Name="Debug_Cairo_CFLite|Win32"
     202                        IntermediateDirectory="$(ConfigurationName)"
    202203                        ConfigurationType="1"
    203204                        InheritedPropertySheets=".\ImageDiffDebugCairoCFLite.vsprops"
     
    387388        <Files>
    388389                <File
     390                        RelativePath="..\win\ImageDiffCairo.cpp"
     391                        >
     392                        <FileConfiguration
     393                                Name="Debug|Win32"
     394                                ExcludedFromBuild="true"
     395                                >
     396                                <Tool
     397                                        Name="VCCLCompilerTool"
     398                                />
     399                        </FileConfiguration>
     400                        <FileConfiguration
     401                                Name="Release|Win32"
     402                                ExcludedFromBuild="true"
     403                                >
     404                                <Tool
     405                                        Name="VCCLCompilerTool"
     406                                />
     407                        </FileConfiguration>
     408                        <FileConfiguration
     409                                Name="Debug_All|Win32"
     410                                ExcludedFromBuild="true"
     411                                >
     412                                <Tool
     413                                        Name="VCCLCompilerTool"
     414                                />
     415                        </FileConfiguration>
     416                        <FileConfiguration
     417                                Name="Production|Win32"
     418                                ExcludedFromBuild="true"
     419                                >
     420                                <Tool
     421                                        Name="VCCLCompilerTool"
     422                                />
     423                        </FileConfiguration>
     424                </File>
     425                <File
    389426                        RelativePath="..\cg\ImageDiffCG.cpp"
    390427                        >
     428                        <FileConfiguration
     429                                Name="Debug_Cairo_CFLite|Win32"
     430                                ExcludedFromBuild="true"
     431                                >
     432                                <Tool
     433                                        Name="VCCLCompilerTool"
     434                                />
     435                        </FileConfiguration>
     436                        <FileConfiguration
     437                                Name="Release_Cairo_CFLite|Win32"
     438                                ExcludedFromBuild="true"
     439                                >
     440                                <Tool
     441                                        Name="VCCLCompilerTool"
     442                                />
     443                        </FileConfiguration>
    391444                </File>
    392445        </Files>
  • trunk/Tools/DumpRenderTree/win/ImageDiffDebugCairoCFLite.vsprops

    r82339 r83912  
    88      $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\debug.vsprops;
    99      $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\debug_wincairo.vsprops;
    10       .\ImageDiffCommon.vsprops"
     10      .\ImageDiffWinCairoCommon.vsprops"
    1111        >
    1212</VisualStudioPropertySheet>
  • trunk/Tools/DumpRenderTree/win/ImageDiffReleaseCairoCFLite.vsprops

    r82511 r83912  
    99      $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\release.vsprops;
    1010      $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\WinCairo.vsprops;
    11       .\ImageDiffCommon.vsprops"
     11      .\ImageDiffWinCairoCommon.vsprops"
    1212        >
    1313</VisualStudioPropertySheet>
  • trunk/Tools/Scripts/old-run-webkit-tests

    r83743 r83912  
    432432if (isAppleWinWebKit()) {
    433433    $dumpToolName .= "_debug" if configurationForVisualStudio() eq "Debug_All";
     434    $dumpToolName .= "_debug" if configurationForVisualStudio() eq "Debug_Cairo_CFLite";
    434435    $dumpToolName .= $Config{_exe};
    435436}
     
    439440my $imageDiffTool = "$productDir/ImageDiff";
    440441$imageDiffTool .= "_debug" if isCygwin() && configurationForVisualStudio() eq "Debug_All";
     442$imageDiffTool .= "_debug" if isCygwin() && configurationForVisualStudio() eq "Debug_Cairo_CFLite";
    441443die "can't find executable $imageDiffTool (looked in $productDir)\n" if $pixelTests && !-x $imageDiffTool;
    442444
Note: See TracChangeset for help on using the changeset viewer.