1. 07 May, 2020 1 commit
    • Timothy Nikkel's avatar
      Bug 1635658. Fix how CSS filters render with webrender that are represented as... · fe56adee
      Timothy Nikkel authored
      Bug 1635658. Fix how CSS filters render with webrender that are represented as component transfer when they are required to be represented as SVG filters. r=mstange a=pascalc
      
      The brightness, contrast, and invert css filters are represented as component transfer filters when they required to be represented as an svg filter (ie when an element has a combination of CSS and SVG filters specified).
      
      https://hg.mozilla.org/mozilla-central/rev/4f3360c4f104 (bug 1417699) used the value SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN for the function type in the G and B channels to specify that the R channel function should be used. As we know from https://hg.mozilla.org/mozilla-central/rev/a1ff0af83ad2 (bug 1605223) SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN is the value we get if the function is not specified, and by spec that is to be interpreted as the identity function.
      
      To fix this use a special function type that is not exposed to content, SVG_FECOMPONENTTRANSFER_SAME_AS_R, when we want to do this optimization. And then teach the webrender filter code to understand it.
      
      Differential Revision: https://phabricator.services.mozilla.com/D74189
      fe56adee
  2. 09 Mar, 2020 1 commit
    • Andrew Osmond's avatar
      Bug 1618345 - Enforce proper color management by splitting gfx::Color into... · 91b071ed
      Andrew Osmond authored
      Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
      
      gfx::Color is currently misused in many places. The DrawTargets expect
      the color space to be in device space, e.g. what we are actually going
      to draw using. Everything sitting above generally deals with sRGB, as
      specified in CSS. Sometimes we missed the conversion from sRGB to device
      space when issuing draw calls, and similarly sometimes we converted the
      color to device space twice.
      
      This patch splits the type in two. sRGBColor and DeviceColor now
      represent sRGB and device color spaces respectively. DrawTarget only
      accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
      the ToDeviceColor helper API. The reftests now pass with color
      management enabled for everything (e.g. CSS) instead of just tagged
      raster images.
      
      There will be a follow up patch to enable color management everywhere by
      default on all supported platforms.
      
      Differential Revision: https://phabricator.services.mozilla.com/D64771
      
      --HG--
      extra : moz-landing-system : lando
      91b071ed
  3. 29 May, 2019 1 commit
  4. 16 May, 2019 1 commit
  5. 27 May, 2019 2 commits
  6. 16 May, 2019 2 commits
    • Ciure Andrei's avatar
      Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002)... · 00a73f50
      Ciure Andrei authored
      Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages CLOSED TREE
      
      Backed out changeset 3bb3fafa62e2 (bug 1551991)
      Backed out changeset e12a979de502 (bug 1551991)
      Backed out changeset d81e4aa6bf0c (bug 1551991)
      Backed out changeset c354e61f2a34 (bug 1551991)
      Backed out changeset 37fd602bebc2 (bug 1551991)
      Backed out changeset 6c1f00cc30ca (bug 1551991)
      Backed out changeset 8a7a0329bdc3 (bug 1551991)
      Backed out changeset 86159475ddd3 (bug 1551991)
      Backed out changeset 35f91a9ea82a (bug 1529002)
      Backed out changeset 6798155e71dc (bug 1529002)
      Backed out changeset b90c2cf5b8c5 (bug 1550554)
      Backed out changeset 882ab9868c95 (bug 1550554)
      Backed out changeset b28a48e2ed21 (bug 1550554)
      Backed out changeset 2c31fe18eefd (bug 1550554)
      Backed out changeset 57f2362aa538 (bug 1550554)
      Backed out changeset 45f171b26e95 (bug 1550554)
      Backed out changeset 2e4b263c9410 (bug 1549593)
      00a73f50
    • Emilio Cobos Álvarez's avatar
  7. 20 Apr, 2019 1 commit
  8. 30 Nov, 2018 1 commit
  9. 19 Sep, 2018 3 commits
  10. 18 Jun, 2018 1 commit
  11. 17 Jul, 2018 1 commit
  12. 27 Oct, 2017 1 commit
  13. 19 Jun, 2018 1 commit
  14. 19 Oct, 2016 1 commit
  15. 09 Nov, 2015 1 commit
  16. 28 May, 2015 1 commit
  17. 21 Apr, 2015 1 commit
  18. 15 Sep, 2014 1 commit
  19. 15 Aug, 2014 1 commit
  20. 14 Aug, 2014 1 commit
  21. 25 Aug, 2014 4 commits
  22. 21 Aug, 2014 1 commit
  23. 20 Aug, 2014 1 commit
  24. 21 Aug, 2014 2 commits
  25. 06 Aug, 2014 1 commit
  26. 04 Sep, 2014 1 commit
  27. 19 Oct, 2016 1 commit