Confirmed users
85
edits
| Line 1: | Line 1: | ||
= | = Async Pan/Zoom Controller = | ||
== Introduction == | == Introduction == | ||
The ''' | The '''Async Pan/Zoom Controller (APZC)''' is a platform component that allows panning and zooming to be performed asynchronously (on the compositor thread rather than the main thead). | ||
For '''zooming''', this means that the APZC reacts to a pinch gesture immediately and instructs the compositor to scale the already-rendered layers at whatever resolution they have been rendered (so e.g. text becomes more blurry as you zoom in), and meanwhile sends a request to Gecko to re-render the content at a new resolution (with sharp text and all). | For '''zooming''', this means that the APZC reacts to a pinch gesture immediately and instructs the compositor to scale the already-rendered layers at whatever resolution they have been rendered (so e.g. text becomes more blurry as you zoom in), and meanwhile sends a request to Gecko to re-render the content at a new resolution (with sharp text and all). | ||