gecko-dev/layout/painting
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
..
crashtests Bug 1413073 - Part 1: Add new crashtests for complex ASR cases. r=mstange 2017-11-10 13:16:36 +13:00
ActiveLayerTracker.cpp Bug 1416540 - Avoid unnecessary conversion to doubles in ActiveLayerTracker code. r=mstange 2017-11-12 18:37:33 -05:00
ActiveLayerTracker.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
BorderCache.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
BorderConsts.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DashedCornerFinder.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DashedCornerFinder.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DisplayItemClip.cpp Bug 1413629. Don't require a PresContext to apply a clip. r=mstange 2017-11-01 14:37:59 -04:00
DisplayItemClip.h Bug 1413629. Don't require a PresContext to apply a clip. r=mstange 2017-11-01 14:37:59 -04:00
DisplayItemClipChain.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DisplayItemClipChain.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DisplayItemScrollClip.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DisplayItemScrollClip.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DisplayListClipState.cpp Bug 1413073 - Part 3: Recompute ASR and clip-chains on wrap lists when merging. r=mstange 2017-11-10 13:16:55 +13:00
DisplayListClipState.h Bug 1413073 - Part 3: Recompute ASR and clip-chains on wrap lists when merging. r=mstange 2017-11-10 13:16:55 +13:00
DottedCornerFinder.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
DottedCornerFinder.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
FrameLayerBuilder.cpp Bug 1416540 - Convert a bunch of scaling code to avoid unnecessary double conversion. r=mattwoodrow 2017-11-12 18:37:33 -05:00
FrameLayerBuilder.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
LayerState.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
MaskLayerImageCache.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
MaskLayerImageCache.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
moz.build Bug 1404181 - Part 21: Add RetainedDisplayListBuilder with the code for doing partial display list builds, and merging it into an existing display list. r=mstange 2017-10-18 16:09:07 +13:00
nsCSSRendering.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
nsCSSRendering.h Bug 1413397 - Avoid empty border's fallback. r=kats 2017-11-01 17:30:04 +08:00
nsCSSRenderingBorders.cpp Bug 1409243 - Enable dotted and dashed border support for webrender; r=ethlin 2017-10-25 10:17:41 +08:00
nsCSSRenderingBorders.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsCSSRenderingGradients.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
nsCSSRenderingGradients.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsDisplayItemTypes.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsDisplayItemTypesList.h Bug 1407938 - Part1. Add nsDisplaySVGWrapper for webrender as a fallback display item. r=jrmuizel 2017-10-16 15:47:46 +08:00
nsDisplayList.cpp Bug 1416540 - Avoid unnecessary use of double-based types in GenerateAndPushTextMask. r=jfkthame 2017-11-12 18:37:32 -05:00
nsDisplayList.h Bug 1415989 - Do not use 'ShouldUseAdvancedLayer' for button type display items. r=jrmuizel 2017-11-10 11:41:15 +08:00
nsDisplayListInvalidation.cpp Bug 1412346 part 2: Split mode line into its own C++ comment & own line, in a few files within layout. r=jfkthame 2017-10-27 10:08:24 -07:00
nsDisplayListInvalidation.h Bug 1412346 part 2: Split mode line into its own C++ comment & own line, in a few files within layout. r=jfkthame 2017-10-27 10:08:24 -07:00
nsImageRenderer.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
nsImageRenderer.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PaintTracker.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PaintTracker.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
RetainedDisplayListBuilder.cpp Bug 1416448 - Don't update the ASR during merging for an empty container item, since we can't compute the ASR of the contents. r=miko 2017-11-13 09:02:48 +13:00
RetainedDisplayListBuilder.h Bug 1416448 - Don't update the ASR during merging for an empty container item, since we can't compute the ASR of the contents. r=miko 2017-11-13 09:02:48 +13:00