Closed
Bug 2060349
Opened 1 day ago
Closed 9 hours ago
Generalize PNativeLayerRemote to handle non-macOS surfaces
Categories
(Core :: Graphics, enhancement, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
To enable GPU process on more platforms, the NativeLayerRemote protocol needs to stop being macOS-specific. The IOSurfacePort is only meaningful for macOS/iOS. The NativeLayerRemote protocol needs a generalized surface union to accommodate other platforms.
| Assignee | ||
Updated•1 day ago
|
Assignee: nobody → bwerth
Severity: -- → S3
Priority: -- → P3
| Assignee | ||
Comment 1•1 day ago
|
||
This changes the macOS-specifc IOSurfacePort into a generic union
SurfaceTransfer, which is a union of platform-specific structures. The
SurfaceTransferMacOS struct has a single IOSurfacePort member. An
alternative hierarchy could define the SurfaceTransfer union with a
collection of platform-specific members. The chosen approach makes clear
which struct is associated with each platform.
This also fixes up usage sites in NativeLayerRemoteMac and in
NativeLayerRootRemoteMacParent.
Pushed by bwerth@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e26909764555
https://hg.mozilla.org/integration/autoland/rev/d6751e6f64c7
Change PNativeLayerRemote to use a SurfaceTransfer union. r=mstange
Comment 3•9 hours ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 hours ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•