Gecko:CrossProcessLayers: Difference between revisions

m
Line 55: Line 55:
= Important cases on fennec =
= Important cases on fennec =


<s>Will the browser process need to see all layers in a content process, or just a single container/image/screen layer?</s>  We always want video in their own layers to decouple framerate from content- and browser-process main-thread work.  So at minimum, we need to publish a tree consisting of a layer "below" the video and a layer "above" the video.  Need plan for optimal performance (responsiveness and frame rate) for the following cases.
<s>Will the browser process need to see all layers in a content process, or just a single container/image/screen layer?</s>  We always want video in their own layers to decouple framerate from content- and browser-process main-thread work.  So at minimum, we need to publish a tree consisting of a layer "below" the video, the video layer, and a layer "above" the video.  Need plan for optimal performance (responsiveness and frame rate) for the following cases.


* '''Panning''': browser immediately translates coords of container layer before delivering event to content process.  Content (or browser) later uses event to update region painting heuristics.  
* '''Panning''': browser immediately translates coords of container layer before delivering event to content process.  Content (or browser) later uses event to update region painting heuristics.  
Confirmed users
699

edits