mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1897584 - Fix incorrect order of transformation in TileCacheInstance::pre_update. r=gw
Depends on D211850 Differential Revision: https://phabricator.services.mozilla.com/D211851
This commit is contained in:
parent
91349b1356
commit
f1a93849e9
@ -2200,8 +2200,7 @@ impl TileCacheInstance {
|
||||
}
|
||||
|
||||
// Use that compositor transform to calculate a relative local to surface
|
||||
// TODO(nical): this looks wrong. It should probably be `local_to_device.then(&raster_to_device.inverse())`.
|
||||
let local_to_raster = local_to_device.pre_transform(&raster_to_device.inverse());
|
||||
let local_to_raster = local_to_device.then(&raster_to_device.inverse());
|
||||
|
||||
const EPSILON: f32 = 0.001;
|
||||
let compositor_translation_changed =
|
||||
|
Loading…
Reference in New Issue
Block a user