Use Shmems instead of SharedMemory in WebGL remoting
Categories
(Core :: Graphics: CanvasWebGL, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: handyman, Assigned: handyman)
References
Details
Attachments
(3 files)
IpdlQueue is still set up to create and send SharedMemory objects instead of Shmems, which won't work on Linux as FileDescriptors must be handled by the socket. This bug will change the operations in QueueParamTraits to use Shmem.
Assignee | ||
Comment 1•4 years ago
|
||
The old style of using SharedMemory objects was fine for Windows but was incompatible with Mac and Linux because the objects were not sent to the remote process with the proper socket scheme. This meant that shared memory could not be read by the destination process. Shmems are capable of this on all platforms so we use them instead.
Assignee | ||
Comment 2•4 years ago
|
||
Implements LookupSharedMemory and AllocShmem in IpdlQueue (and fixes a few minor build issues).
Depends on D74972
Assignee | ||
Comment 3•4 years ago
|
||
Implements LookupSharedMemory and AllocShmem in ProducerConsumerQueue (and fixes a few minor build issues).
Depends on D74973
Comment 4•4 years ago
|
||
The severity field is not set for this bug.
:jgilbert, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
The severity field is not set for this bug.
:jgilbert, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by daparks@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/864c987c5aa8 Part 1 - Refactor WebGL QueueParamTraits to use Push/PopShmem r=jgilbert https://hg.mozilla.org/integration/autoland/rev/f004c5cbfce3 Part 2 - Implement Shmem functionality in WebGL IpdlQueue r=jgilbert https://hg.mozilla.org/integration/autoland/rev/801f886cf1b6 Part 3 - Implement Shmem functionality in WebGL ProducerConsumerQueue r=jgilbert
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/864c987c5aa8
https://hg.mozilla.org/mozilla-central/rev/f004c5cbfce3
https://hg.mozilla.org/mozilla-central/rev/801f886cf1b6
Description
•