Changeset 141427 in webkit


Ignore:
Timestamp:
Jan 31, 2013 9:36:46 AM (11 years ago)
Author:
fmalita@chromium.org
Message:

[Skia] Update SkiaImageFilterBuilder's brightness matrix to match Chromium's implementation
https://bugs.webkit.org/show_bug.cgi?id=107841

Reviewed by Stephen White.

Update Skia's brightness filter to match the spec after http://trac.webkit.org/changeset/139770.

No new tests: covered by existing tests (currently disabled pending rebaseline).

  • platform/graphics/filters/skia/SkiaImageFilterBuilder.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141426 r141427  
     12013-01-31  Florin Malita  <fmalita@chromium.org>
     2
     3        [Skia] Update SkiaImageFilterBuilder's brightness matrix to match Chromium's implementation
     4        https://bugs.webkit.org/show_bug.cgi?id=107841
     5
     6        Reviewed by Stephen White.
     7
     8        Update Skia's brightness filter to match the spec after http://trac.webkit.org/changeset/139770.
     9
     10        No new tests: covered by existing tests (currently disabled pending rebaseline).
     11
     12        * platform/graphics/filters/skia/SkiaImageFilterBuilder.cpp:
     13
    1142013-01-31  Andrey Lushnikov  <lushnikov@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/filters/skia/SkiaImageFilterBuilder.cpp

    r134467 r141427  
    4040{
    4141    memset(matrix, 0, 20 * sizeof(SkScalar));
    42     matrix[0] = matrix[6] = matrix[12] = matrix[18] = 1;
    43     matrix[4] = matrix[9] = matrix[14] = amount * 255;
     42    matrix[0] = matrix[6] = matrix[12] = amount;
     43    matrix[18] = 1;
    4444}
    4545
Note: See TracChangeset for help on using the changeset viewer.