[Wayland] Allow to paint to offscreen surface before map
Categories
(Core :: Widget: Gtk, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(6 files)
|
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 |
[Wayland] Allow to paint to offscreen surface before map.
| Assignee | ||
Comment 1•6 months ago
|
||
It means to remove moz_container_wayland_is_waiting_to_show() and WaylandSurface::mIsReadyToDraw which should be always true.
| Assignee | ||
Comment 2•6 months ago
|
||
Updated•6 months ago
|
| Assignee | ||
Comment 3•6 months ago
|
||
| Assignee | ||
Comment 4•6 months ago
|
||
Let's land it in next cycle, after freeze.
| Assignee | ||
Comment 5•6 months ago
|
||
Comment 8•6 months ago
|
||
Backed out for causing valgrind failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/094757ccd72d8672311de6aebab5e4611d9505e4
| Assignee | ||
Comment 9•6 months ago
|
||
Thanks, will look at it.
| Assignee | ||
Comment 10•6 months ago
|
||
We need to update the memleak check for different signature:
https://searchfox.org/firefox-main/rev/c82adde571c24d89da3ef13f11245c8f572ba1e6/build/valgrind/x86_64-pc-linux-gnu.sup#261
It's a bug in Gtk3.
| Assignee | ||
Comment 11•6 months ago
|
||
| Assignee | ||
Updated•6 months ago
|
Comment 12•6 months ago
|
||
applied those patches over autoland and bookmarks menus (second level - wheh hoovering over folder ) disappeared again.
Comment 13•6 months ago
|
||
| Assignee | ||
Comment 14•6 months ago
|
||
(In reply to s.zharkoff from comment #12)
applied those patches over autoland and bookmarks menus (second level - wheh hoovering over folder ) disappeared again.
Will look at it, Thanks.
Comment 15•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f38b48f473af
https://hg.mozilla.org/mozilla-central/rev/4b375c234df0
https://hg.mozilla.org/mozilla-central/rev/140faab7b8ed
Comment 16•6 months ago
|
||
Updated•6 months ago
|
Comment 17•6 months ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/338a6e3364af
| Assignee | ||
Comment 18•6 months ago
|
||
Thanks. The regressions here are caused by removed ready-to-draw callback. It was replaced by regular callback & mIsVisible but we don't actually register VSync handlers / frame callbacks for popups so we're missing the state then for popups.
| Assignee | ||
Comment 19•6 months ago
|
||
| Assignee | ||
Comment 20•6 months ago
|
||
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 21•6 months ago
|
||
I hit another possible regression / crash when toplevel window is detached to a new one by D&D. Investigating now.
| Assignee | ||
Comment 22•6 months ago
|
||
Looks like we need to set / remove mGdkWindow by moz_container_realize / moz_container_unrealize where it's created/deleted.
| Assignee | ||
Comment 23•6 months ago
|
||
| Assignee | ||
Comment 24•6 months ago
|
||
There's one missing piece here - As mGdkWindow can be null (between unrealize/realize call) we may partially revert !mGdkWindow conditions from https://phabricator.services.mozilla.com/D271773 and investigate wl_surface usage derived from mGdkWindow/mContainer. AFAIK this change may affects D&D popups and titlebar on/off switch from customize.
D&D popup uses SW drawing to cairo surface derived from GtkWidget so we should be safe here. Titlebar on/off code preserves mContainer and realize/unrealize mShell only:
https://searchfox.org/firefox-main/rev/3728e0c87fc4fa87ddf0c7a8183f2dd2329be96a/widget/gtk/nsWindow.cpp#9149
But we should investigate these cases and put appropriate asserts there.
| Assignee | ||
Updated•6 months ago
|
Comment 25•6 months ago
|
||
Comment 26•6 months ago
|
||
Comment 27•6 months ago
|
||
Backed out for causing bustages at WaylandSurface.cpp.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/5068fbe918fa116948457aed600f93901916ab8f
Comment 29•6 months ago
|
||
Comment 30•5 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/56d739c47a29
https://hg.mozilla.org/mozilla-central/rev/34254848c695
https://hg.mozilla.org/mozilla-central/rev/b6c8a8b3ccc3
https://hg.mozilla.org/mozilla-central/rev/1a8f93c5ffe1
https://hg.mozilla.org/mozilla-central/rev/d5eec9e18b63
https://hg.mozilla.org/mozilla-central/rev/1507c17888dc
Updated•5 months ago
|
Description
•