Gecko:CrossProcessLayers: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 82: Line 82:


Video decoding fits into this model: decoders will be a slave S that's a thread in a content process, and the decoders publish updates directly to a master M that's the compositor process.  The content and browser main threads will publish special "placeholder" video layers that reference "real" layers in the compositor process.
Video decoding fits into this model: decoders will be a slave S that's a thread in a content process, and the decoders publish updates directly to a master M that's the compositor process.  The content and browser main threads will publish special "placeholder" video layers that reference "real" layers in the compositor process.
= Implementation =
The process architecture for the first implementation will look something like the following.
[[File:Cross-process-layers-v0.png|thumb|650px|v0 process architecture]]
(The big boxes are processes and the circles next to squiggly lines are threads.  <code>PFoo</code> refers to an IPDL protocol, and <code>PFoo(Parent|Child)</code> refers to a particular actor.)
Confirmed users
699

edits

Navigation menu