- 07 May, 2020 1 commit
-
-
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
-
- 09 Mar, 2020 1 commit
-
-
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
-
- 29 May, 2019 1 commit
-
-
Emilio Cobos Álvarez authored
Had to implement some OwnedSlice bits that the canvas code used. Differential Revision: https://phabricator.services.mozilla.com/D31799
-
- 16 May, 2019 1 commit
-
-
Emilio Cobos Álvarez authored
Differential Revision: https://phabricator.services.mozilla.com/D30547 --HG-- extra : moz-landing-system : lando
-
- 27 May, 2019 2 commits
-
-
Brindusan Cristian authored
Backed out 3 changesets (bug 1552708, bug 1552878) for build bustages and compiler issues. CLOSED TREE Backed out changeset 9d4f178bfcbd (bug 1552878) Backed out changeset 80db9f845237 (bug 1552708) Backed out changeset 1bdbfbb5b342 (bug 1552708)
-
Emilio Cobos Álvarez authored
Had to implement some OwnedSlice bits that the canvas code used. Differential Revision: https://phabricator.services.mozilla.com/D31799 --HG-- extra : moz-landing-system : lando
-
- 16 May, 2019 2 commits
-
-
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)
-
Emilio Cobos Álvarez authored
Differential Revision: https://phabricator.services.mozilla.com/D30547
-
- 20 Apr, 2019 1 commit
-
-
longsonr authored
-
- 30 Nov, 2018 1 commit
-
-
Sylvestre Ledru authored
# ignore-this-changeset --HG-- extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
-
- 19 Sep, 2018 3 commits
-
-
Doug Thayer authored
Ran into a couple of test failures because I was leaving mAttributes empty for empty things like MergeAttributes, and only setting mType. Since mType is now redundant though, and since it's the only use of PrimitiveType, I figured I'd just remove it entirely. Depends on D4900 Differential Revision: https://phabricator.services.mozilla.com/D6209 --HG-- extra : moz-landing-system : lando
-
Doug Thayer authored
This replaces the hash map of attributes with a tagged union. In this case, all filter attributes will be stored in line, with the exception of some more complex attributes which have an internal nsTArray of floats. This should help avoid all the hashing and extra heap allocations. Depends on D4899 Differential Revision: https://phabricator.services.mozilla.com/D4900 --HG-- extra : moz-landing-system : lando
-
Doug Thayer authored
This is a more conservative optimization for bug 1417699. There's no reason we need to be copying these everywhere, so let's just go ahead and implement moves. Differential Revision: https://phabricator.services.mozilla.com/D4899 --HG-- extra : moz-landing-system : lando
-
- 18 Jun, 2018 1 commit
-
-
Chris Peterson authored
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b. MozReview-Commit-ID: 5UQVHElSpCr --HG-- extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4 extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
-
- 17 Jul, 2018 1 commit
-
-
Bas Schouten authored
-
- 27 Oct, 2017 1 commit
-
-
Daniel Holbert authored
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame This patch was generated automatically by the "modeline.py" script, available here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py For every file that is modified in this patch, the changes are as follows: (1) The patch changes the file to use the exact C++ mode lines from the Mozilla coding style guide, available here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line (2) The patch deletes any blank lines between the mode line & the MPL boilerplate comment. (3) If the file previously had the mode lines and MPL boilerplate in a single contiguous C++ comment, then the patch splits them into separate C++ comments, to match the boilerplate in the coding style. MozReview-Commit-ID: EuRsDue63tK --HG-- extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
-
- 19 Jun, 2018 1 commit
-
-
Dan Glastonbury authored
MozReview-Commit-ID: moE2CI7fT8 --HG-- extra : rebase_source : 7b64beccbd4c499d93567d62b913257dfa53c9fe
-
- 19 Oct, 2016 1 commit
-
-
Markus Stange authored
MozReview-Commit-ID: HwOJ8SFhkUq --HG-- extra : rebase_source : d3c4e8568513a0bf08d308f9f88232b19442ebd2
-
- 09 Nov, 2015 1 commit
-
-
Nicholas Nethercote authored
--HG-- extra : rebase_source : 7a0d71f4e7637d7142efe1ef5fa34aa4dbd9f998
-
- 28 May, 2015 1 commit
-
-
Markus Stange authored
Bug 1153845 - For CSS filters, make the primitive subregions big enough to contain the whole pre-filter visual overflow rect. r=roc The BBox of the SVG element only includes its contents, not the SVG element's background color.
-
- 21 Apr, 2015 1 commit
-
-
Nicolas Silva authored
-
- 15 Sep, 2014 1 commit
-
-
Markus Stange authored
Bug 1066270 - Replace the nsIFrame* argument to nsCSSFilterInstance with a shadowFallbackColor argument. r=roc
-
- 15 Aug, 2014 1 commit
-
-
Max Vujovic authored
Bug 948265 - Add NOT_IMPLEMENTED return value for each CSS filter in nsCSSFilterInstance. r=longsonr
-
- 14 Aug, 2014 1 commit
-
-
Max Vujovic authored
-
- 25 Aug, 2014 4 commits
-
-
Max Vujovic authored
-
Max Vujovic authored
-
Max Vujovic authored
-
Max Vujovic authored
-
- 21 Aug, 2014 1 commit
-
-
Max Vujovic authored
-
- 20 Aug, 2014 1 commit
-
-
Max Vujovic authored
-
- 21 Aug, 2014 2 commits
-
-
Max Vujovic authored
-
Max Vujovic authored
-
- 06 Aug, 2014 1 commit
-
-
Max Vujovic authored
Bug 948265 - Add nsCSSFilterInstance with support for adding CSS blur filters to filter graphs. r=mstange
-
- 04 Sep, 2014 1 commit
-
-
Max Vujovic authored
-
- 19 Oct, 2016 1 commit
-
-
Markus Stange authored
Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt, a=ritu MozReview-Commit-ID: HwOJ8SFhkUq --HG-- extra : source : 71e3cf76278380cac9d5217c86b8349df31f365c
-