X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2FChangeLog;h=93226ac7002fb8f88791efad32638000d6edb38c;hp=4114a2f52645846c9d821a71809a2db99a99e0c1;hb=dcc85c3cdfb81b5a44f00e56370d014882408667;hpb=acf8d5cb0bc6e5eed42a68cf3e343dc03ebade08 diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 4114a2f..93226ac 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,28 @@ +2017-04-04 Simon Fraser + + Do some minor FEColorMatrix code cleanup and optimization + https://bugs.webkit.org/show_bug.cgi?id=170474 + + Reviewed by Dean Jackson. + + Don't switch inside of a pixel processing loop; repeat the loop inside switch (filterType). + + Change matrix() and saturateAndHueRotate() to dereference the source pixels once, instead + of multiple times, which is faster. + + This kind of code benefits from aligning things with spaces for readability, so do so, + violating webkit style. + + Add some off-by-default performance logging code. + + Increases pixel processing performance from about 86ms per megapixel to 65ms per megapixel. + + * platform/graphics/filters/FEColorMatrix.cpp: + (WebCore::matrix): + (WebCore::saturateAndHueRotate): + (WebCore::effectType): + (WebCore::FEColorMatrix::platformApplySoftware): + 2017-04-06 Ryan Haddad Unreviewed, rolling out r215041.