Open Bug 2097674 Opened 2 days ago Updated 1 day ago

Stop using cairo surfaces on windows widget code

Categories

(Core :: Graphics, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Keywords: leave-open)

Attachments

(4 external files)

No description provided.

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.

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.

It's basically the same, but on a shared file, so add support to that
and the other bits RemoteBackbuffer needs.

Blocks: 2097700
Keywords: leave-open
Regressions: 2098141
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: