Transition from rectangles to min/max representation
Categories
(Core :: Graphics: WebRender, task, P4)
Tracking
()
People
(Reporter: nical, Assigned: nical)
References
(Regressed 1 open bug)
Details
Attachments
(12 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
euclid::Rect
uses an origin + size representation which is convenient in layout code but for most of what we do in WebRender, euclid::Box2D
's endpoints presentation is both more convenient (because we reason more inter of bounds than sizes), and more efficient as we do a lot of intersection/union/contain operations. Rect
internally converts to Box2D
for all of these.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
bugherder |
Assignee | ||
Comment 3•4 years ago
|
||
Comment 5•4 years ago
•
|
||
Backed out changeset 1758b632b964 (Bug 1711648) for causing wrench bustages in reftests/transforms/prim-suite.yaml
Backout link: https://hg.mozilla.org/integration/autoland/rev/e0bab92cd0a09695dedddb23b403df62c49d5cfb
Push with failures, failure log.
(Update): Also caused valgrid failures.
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D116400
Updated•4 years ago
|
Updated•4 years ago
|
Comment 9•4 years ago
•
|
||
Backed out for causing failures at grid-max-sizing-flex-002.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/47b00ca8b315e1b3ebab8cefdc6c01ee7bc03edd
Failure log: https://treeherder.mozilla.org/logviewer?job_id=341433042&repo=autoland&lineNumber=2382
There is also a Valgrind failure: https://treeherder.mozilla.org/logviewer?job_id=341431652&repo=autoland&lineNumber=64205
Assignee | ||
Comment 10•4 years ago
|
||
Somehow I failed to submit the latest version which adjusts the reftest expectations. The valgrind failure comes from unrelated code though.
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Backed out for causing wrench bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/708980b3ee4a78d2866f62a4a0b6ba0957bc06f9
Failure log: https://treeherder.mozilla.org/logviewer?job_id=341465771&repo=autoland&lineNumber=33662
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
Relanded, sorry for the wrongfull backout.
Comment 15•4 years ago
|
||
Backed out for causing valgrind bustages
- backout: https://hg.mozilla.org/integration/autoland/rev/7b76629289c93b4f12abe74df5d9951ec5b36bbd
- push: https://treeherder.mozilla.org/jobs?repo=autoland&revision=3d51bfaa0d8d8ed09d420bb1cad9b9f347dfaacd&selectedTaskRun=U5pJynXFRO-dRoKSevkH8A.0&searchStr=Linux%2Cx64%2Copt%2Cvalgrind-linux64-valgrind%2Fopt%2CV
- failure log: https://treeherder.mozilla.org/logviewer?job_id=341501677&repo=autoland&lineNumber=64184
This has started failing again once the changesets have been relanded: https://treeherder.mozilla.org/jobs?repo=autoland&fromchange=1c110c9d06c3f38dbee3d91d1ac30bad4f721cf2&searchStr=linux%2Cx64%2Copt%2Cvalgrind-linux64-valgrind%2Fopt%2Cv&tochange=32e3e98ca8474ded656e7d6eb877fa1919e5355b&selectedTaskRun=U5pJynXFRO-dRoKSevkH8A.0
[task 2021-06-02T06:44:17.512Z] 06:44:17 INFO - 1:26.66 TEST-UNEXPECTED-FAIL | valgrind-test | Conditional jump or move depends on uninitialised value(s) at style::properties::shorthands::font::parse_into / style::properties::PropertyDeclaration::parse_into / style::properties::declaration_block::parse_property_declaration_list / ?!?
[task 2021-06-02T06:44:17.512Z] 06:44:17 INFO - 1:26.66 ==12420== Conditional jump or move depends on uninitialised value(s)
[task 2021-06-02T06:44:17.512Z] 06:44:17 INFO - 1:26.66 ==12420== at 0x15E6028F: style::properties::shorthands::font::parse_into+3663 (mod.rs:187)
[task 2021-06-02T06:44:17.512Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15E47FE8: style::properties::PropertyDeclaration::parse_into+1336 (properties.rs:43921)
[task 2021-06-02T06:44:17.512Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F18C4C: style::properties::declaration_block::parse_property_declaration_list+3132 (declaration_block.rs:1387)
[task 2021-06-02T06:44:17.513Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F21B13: <style::stylesheets::rule_parser::NestedRuleParser as cssparser::rules_and_declarations::QualifiedRuleParser>::parse_block+131 (rule_parser.rs:649)
[task 2021-06-02T06:44:17.513Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F0D39B: cssparser::rules_and_declarations::parse_qualified_rule+1643 (rule_parser.rs:331)
[task 2021-06-02T06:44:17.513Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F2CD0C: style::stylesheets::stylesheet::StylesheetContents::from_str+2828 (rules_and_declarations.rs:400)
[task 2021-06-02T06:44:17.513Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x158A6627: Servo_StyleSheet_FromUTF8Bytes+455 (glue.rs:1565)
[task 2021-06-02T06:44:17.513Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139F74B9: mozilla::StyleSheet::ParseSheetSync(mozilla::css::Loader*, nsTSubstring<char> const&, mozilla::css::SheetLoadData*, unsigned int, mozilla::css::LoaderReusableStyleSheets*)+217 (checkouts/gecko/layout/style/StyleSheet.cpp:1248)
[task 2021-06-02T06:44:17.514Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E3C5B: mozilla::css::Loader::ParseSheet(nsTSubstring<char> const&, mozilla::css::SheetLoadData&, mozilla::css::Loader::AllowAsyncParse)+555 (checkouts/gecko/layout/style/Loader.cpp:1524)
[task 2021-06-02T06:44:17.514Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139F2511: mozilla::css::StreamLoader::OnStopRequest(nsIRequest*, nsresult)+561 (checkouts/gecko/layout/style/StreamLoader.cpp:143)
[task 2021-06-02T06:44:17.514Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x11FE1844: nsSyncLoadService::PushSyncStreamToListener(already_AddRefed<nsIInputStream>, nsIStreamListener*, nsIChannel*)+372 (checkouts/gecko/dom/base/nsSyncLoadService.cpp:360)
[task 2021-06-02T06:44:17.514Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E2E66: mozilla::css::Loader::LoadSheet(mozilla::css::SheetLoadData&, mozilla::css::Loader::SheetState, mozilla::css::Loader::PendingLoad)+1990 (checkouts/gecko/layout/style/Loader.cpp:1291)
[task 2021-06-02T06:44:17.515Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E5D44: mozilla::css::Loader::LoadChildSheet(mozilla::StyleSheet&, mozilla::css::SheetLoadData*, nsIURI*, mozilla::dom::MediaList*, mozilla::css::LoaderReusableStyleSheets*)+1204 (checkouts/gecko/layout/style/Loader.cpp:2013)
[task 2021-06-02T06:44:17.515Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D46AC: LoadImportSheet(mozilla::css::Loader*, mozilla::StyleSheet*, mozilla::css::SheetLoadData*, mozilla::css::LoaderReusableStyleSheets*, mozilla::StyleCssUrl const&, already_AddRefed<RawServoMediaList>)+188 (checkouts/gecko/layout/style/GeckoBindings.cpp:1512)
[task 2021-06-02T06:44:17.515Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x158A674E: <geckoservo::stylesheet_loader::StylesheetLoader as style::stylesheets::loader::StylesheetLoader>::request_stylesheet+62 (stylesheet_loader.rs:62)
[task 2021-06-02T06:44:17.515Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F0E2AA: cssparser::rules_and_declarations::parse_at_rule+3018 (rule_parser.rs:274)
[task 2021-06-02T06:44:17.515Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x15F2C9DC: style::stylesheets::stylesheet::StylesheetContents::from_str+2012 (rules_and_declarations.rs:391)
[task 2021-06-02T06:44:17.516Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x158A6627: Servo_StyleSheet_FromUTF8Bytes+455 (glue.rs:1565)
[task 2021-06-02T06:44:17.516Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139F74B9: mozilla::StyleSheet::ParseSheetSync(mozilla::css::Loader*, nsTSubstring<char> const&, mozilla::css::SheetLoadData*, unsigned int, mozilla::css::LoaderReusableStyleSheets*)+217 (checkouts/gecko/layout/style/StyleSheet.cpp:1248)
[task 2021-06-02T06:44:17.516Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E3C5B: mozilla::css::Loader::ParseSheet(nsTSubstring<char> const&, mozilla::css::SheetLoadData&, mozilla::css::Loader::AllowAsyncParse)+555 (checkouts/gecko/layout/style/Loader.cpp:1524)
[task 2021-06-02T06:44:17.516Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139F2511: mozilla::css::StreamLoader::OnStopRequest(nsIRequest*, nsresult)+561 (checkouts/gecko/layout/style/StreamLoader.cpp:143)
[task 2021-06-02T06:44:17.517Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x11FE1844: nsSyncLoadService::PushSyncStreamToListener(already_AddRefed<nsIInputStream>, nsIStreamListener*, nsIChannel*)+372 (checkouts/gecko/dom/base/nsSyncLoadService.cpp:360)
[task 2021-06-02T06:44:17.517Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E2E66: mozilla::css::Loader::LoadSheet(mozilla::css::SheetLoadData&, mozilla::css::Loader::SheetState, mozilla::css::Loader::PendingLoad)+1990 (checkouts/gecko/layout/style/Loader.cpp:1291)
[task 2021-06-02T06:44:17.517Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E6466: mozilla::css::Loader::InternalLoadNonDocumentSheet(nsIURI*, mozilla::css::StylePreloadKind, mozilla::css::SheetParsingMode, mozilla::css::Loader::UseSystemPrincipal, mozilla::Encoding const*, nsIReferrerInfo*, nsICSSLoaderObserver*, mozilla::CORSMode, nsTSubstring<char16_t> const&)+678 (checkouts/gecko/layout/style/Loader.cpp:2106)
[task 2021-06-02T06:44:17.517Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139E614B: mozilla::css::Loader::LoadSheetSync(nsIURI*, mozilla::css::SheetParsingMode, mozilla::css::Loader::UseSystemPrincipal)+219 (checkouts/gecko/layout/style/Loader.cpp:2027)
[task 2021-06-02T06:44:17.518Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D7AF9: mozilla::GlobalStyleSheetCache::LoadSheet(nsIURI*, mozilla::css::SheetParsingMode, mozilla::css::FailureAction)+89 (checkouts/gecko/layout/style/GlobalStyleSheetCache.cpp:545)
[task 2021-06-02T06:44:17.518Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D6CE5: LoadSheetURL (checkouts/gecko/layout/style/GlobalStyleSheetCache.cpp:497)
[task 2021-06-02T06:44:17.518Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D6CE5: mozilla::GlobalStyleSheetCache::XULSheet()+85 (dist/include/mozilla/UserAgentStyleSheetList.h:36)
[task 2021-06-02T06:44:17.518Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D77AD: mozilla::GlobalStyleSheetCache::GlobalStyleSheetCache()+189 (checkouts/gecko/layout/style/GlobalStyleSheetCache.cpp:239)
[task 2021-06-02T06:44:17.518Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x139D8717: mozilla::GlobalStyleSheetCache::Singleton()+39 (checkouts/gecko/layout/style/GlobalStyleSheetCache.cpp:447)
[task 2021-06-02T06:44:17.519Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x1200F428: mozilla::dom::Document::FillStyleSetUserAndUASheets()+24 (checkouts/gecko/dom/base/Document.cpp:3001)
[task 2021-06-02T06:44:17.519Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x1201BD6C: FillStyleSet (checkouts/gecko/dom/base/Document.cpp:3065)
[task 2021-06-02T06:44:17.519Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x1201BD6C: mozilla::dom::Document::CreatePresShell(nsPresContext*, nsViewManager*)+124 (checkouts/gecko/dom/base/Document.cpp:6624)
[task 2021-06-02T06:44:17.519Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x13A93B76: nsDocumentViewer::InitPresentationStuff(bool)+102 (checkouts/gecko/layout/base/nsDocumentViewer.cpp:705)
[task 2021-06-02T06:44:17.519Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x13A93A89: nsDocumentViewer::InitInternal(nsIWidget*, nsISupports*, mozilla::dom::WindowGlobalChild*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, bool, bool, bool)+1193 (checkouts/gecko/layout/base/nsDocumentViewer.cpp:910)
[task 2021-06-02T06:44:17.520Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x13A935D7: nsDocumentViewer::Init(nsIWidget*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::dom::WindowGlobalChild*)+23 (checkouts/gecko/layout/base/nsDocumentViewer.cpp:681)
[task 2021-06-02T06:44:17.520Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x148133AA: nsDocShell::SetupNewViewer(nsIContentViewer*, mozilla::dom::WindowGlobalChild*)+714 (checkouts/gecko/docshell/base/nsDocShell.cpp:8265)
[task 2021-06-02T06:44:17.520Z] 06:44:17 INFO - 1:26.66 ==12420== by 0x14812EF2: nsDocShell::Embed(nsIContentViewer*, mozilla::dom::WindowGlobalChild*, bool, bool)+50 (checkouts/gecko/docshell/base/nsDocShell.cpp:5779)
[task 2021-06-02T06:44:17.520Z] 06:44:17 INFO - 1:26.66 ==12420== Uninitialised value was created by a stack allocation
[task 2021-06-02T06:44:17.520Z] 06:44:17 INFO - 1:26.66 ==12420== at 0x15E5F44D: style::properties::shorthands::font::parse_into+13 (font.rs:301)
[task 2021-06-02T06:44:17.521Z] 06:44:17 INFO - 1:26.66 ==12420==
Assignee | ||
Comment 16•4 years ago
|
||
The problem here is that there is a valgrind supression for this error but it is set on the exact signature of the generic function and that signature contains a hash generated by rustc that changes when some crate dependencies changes.
Assignee | ||
Comment 17•4 years ago
•
|
||
There is a valgrind suppression on a generic signature containing the hash of rust types. The hash can change when crate dependencies are updated.
Comment 18•4 years ago
|
||
Comment 19•4 years ago
|
||
bugherder |
Assignee | ||
Comment 20•4 years ago
|
||
Assignee | ||
Comment 21•4 years ago
|
||
Depends on D116733
Assignee | ||
Comment 22•4 years ago
|
||
Depends on D116734
Comment 23•4 years ago
|
||
Comment 24•4 years ago
|
||
bugherder |
Assignee | ||
Comment 25•4 years ago
|
||
Assignee | ||
Comment 26•4 years ago
|
||
Depends on D117290
Assignee | ||
Comment 27•4 years ago
|
||
Depends on D117291
Assignee | ||
Comment 28•4 years ago
|
||
Depends on D117292
Comment 29•4 years ago
|
||
Comment 30•4 years ago
|
||
Backed out 6 changesets (Bug 1711648) for causing build bustages.
Backout link
Push with failures
Failure Log
Comment 31•4 years ago
|
||
Comment 32•4 years ago
|
||
Comment 33•4 years ago
|
||
Backed out 6 changesets (Bug 1711648) for causing crashes in FrameBuilder.
Backout link: https://hg.mozilla.org/integration/autoland/rev/86f991c484b5da6b66c55869634b8eb830956642
Push with failures, failure logs: wpt, mochitest plain.
Comment 34•4 years ago
|
||
Comment 35•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4236adac136f
https://hg.mozilla.org/mozilla-central/rev/348357d42d90
https://hg.mozilla.org/mozilla-central/rev/9cab55e23f41
https://hg.mozilla.org/mozilla-central/rev/a8d1613dc2a0
https://hg.mozilla.org/mozilla-central/rev/8c8df8e29ab2
https://hg.mozilla.org/mozilla-central/rev/1e0d4123efb1
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 36•4 years ago
|
||
Updated•4 years ago
|
Comment 37•4 years ago
|
||
Comment 38•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Description
•