gecko-dev/layout
Kartikaya Gupta 92c112278f Bug 1416540 - Convert a bunch of scaling code to avoid unnecessary double conversion. r=mattwoodrow
The code in ComputeSuitableScaleForAnimation feeds its double-based
computation results into GetSuitableScale, which takes and returns
floats. Also the double-based computation that it's doing involves
calling UpdateMinMaxScale a bunch which explicitly uses the float
variant of std::min and std::max. And all of this is used from
ChooseScaleAndSetTransform which does other things like call a
"RoundToFloatPrecision" function, and casts the final values to
floats before setting the layer's prescale. So let's just use
floats all the way through.

MozReview-Commit-ID: BE3WC5hv89d

--HG--
extra : rebase_source : 987d9d69ec2a200ed68c59bae5fae1115713a94c
2017-11-12 18:37:33 -05:00
..
base Bug 1416540 - Convert a bunch of scaling code to avoid unnecessary double conversion. r=mattwoodrow 2017-11-12 18:37:33 -05:00
build Bug 1416174 - part 1 - OSFileConstants must be a singleton, r=smaug 2017-11-10 19:27:03 +01:00
doc
forms Bug 1415989 - Do not use 'ShouldUseAdvancedLayer' for button type display items. r=jrmuizel 2017-11-10 11:41:15 +08:00
generic Bug 1416699 - Add a space between #include and comment. r=jeremychen 2017-11-13 17:54:18 +08:00
inspector Bug 1412714 - Don't clone inner of XBL stylesheet in Servo. r=bz 2017-10-30 15:16:20 +11:00
ipc Bug 1415225 - Move the EventRegionsOverride field to be on RefLayers only. r=botond 2017-11-09 09:03:52 -05:00
mathml Bug 1411625 - Remove the constructor from gfxShapedText::CompressedGlyph to make it a trivial class, and provide a couple of convenience "factory" methods to create simple and complex glyph values. r=andi 2017-11-11 15:32:58 +00:00
media
painting Bug 1416540 - Convert a bunch of scaling code to avoid unnecessary double conversion. r=mattwoodrow 2017-11-12 18:37:33 -05:00
printing Bug 1412643 - revert part 3 of the changes from 1319423 to fix print selection; r=bobowen 2017-11-03 14:03:02 -04:00
reftests Bug 1396057: Update test expectations. r=me 2017-11-13 04:21:33 +01:00
style Bug 1408308: Reland the bindings so the build isn't busted, but we don't need to backout the servo bits. r=me 2017-11-13 06:33:46 +01:00
svg Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
tables Bug 1416699 - Add a space between #include and comment. r=jeremychen 2017-11-13 17:54:18 +08:00
tools Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
xul Bug 1413073 - Part 3: Recompute ASR and clip-chains on wrap lists when merging. r=mstange 2017-11-10 13:16:55 +13:00
moz.build