mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
0c82587e52
Provide a set of coordinates APIs in LayerSession instead of exposing the raw viewport metrics, which are hard to use. This also lets us remove ImmutableViewportMetrics completely. The new APIs provide rectangular bounds in client or surface coordinates, and matrices to transform those coordinates to screen coordinates. This is done because the transformation to screen coordinates could (in the future) involve skew, rotation, etc, so it's up to the application to decide how to handle non-rectangular screen bounds. MozReview-Commit-ID: 8Yw8L63TmrQ --HG-- extra : rebase_source : 76954d32da9fb8435ec68ea53b6dc618f8cb0121 |
||
---|---|---|
.. | ||
android | ||
locales |