Open
Bug 2097674
Opened 2 days ago
Updated 1 day ago
Stop using cairo surfaces on windows widget code
Categories
(Core :: Graphics, task, P3)
Core
Graphics
Tracking
()
ASSIGNED
People
(Reporter: emilio, Assigned: emilio)
References
Details
(Keywords: leave-open)
Attachments
(4 external files)
No description provided.
| Assignee | ||
Comment 1•2 days ago
|
||
This is in preparation for removing Cairo.
We can paint into DIB sections with Skia, and blit them to the window,
instead of wrapping the window DC in a cairo win32 surface.
This allows to simplify the fallback path in nsWindow::OnPaint(), used
for tooltips.
While at it it is trivial now to support EndRemoteDrawingInRegion on
InProcessWinCompositorWidget, so do so.
| Assignee | ||
Comment 2•2 days ago
|
||
It's unreachable after the previous change. We can just fall through to
gfxImageSurface worst-case, but all this code can go away real soon now.
| Assignee | ||
Comment 3•2 days ago
|
||
Can just use XP_WIN.
| Assignee | ||
Comment 4•2 days ago
|
||
It's basically the same, but on a shared file, so add support to that
and the other bits RemoteBackbuffer needs.
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/6e7ceea62815
https://hg.mozilla.org/integration/autoland/rev/a423bb21bed4
Don't use a cairo define to preload dwrite. r=win-reviewers,gstoll
| Assignee | ||
Updated•2 days ago
|
Keywords: leave-open
Comment 6•2 days ago
|
||
| bugherder | ||
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c2f7483bf3f6
https://hg.mozilla.org/integration/autoland/rev/35503636c158
Stop using cairo surfaces in the Windows widget code. r=gfx-reviewers,lsalzman
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2973a28e08d5
https://hg.mozilla.org/integration/autoland/rev/b60517e40d37
Remove gfxWindowsSurface. r=gfx-reviewers,aosmond
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ae7d310dbc3a
https://hg.mozilla.org/integration/autoland/rev/0364249faf39
Make RemoteBackbuffer reuse the new GdiBackBuffer. r=gfx-reviewers,lsalzman
Comment 10•1 day ago
|
||
| bugherder | ||
No longer regressions: 2098141
Comment 11•1 day ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•