gecko-dev/layout/base
L. David Baron c8c50385b3 Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).

I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310).  For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.)  I believe this shows that bug 972310 will remain fixed
with this patch.

I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
..
crashtests Bug 1140579 - Additional tests and code comment update. 2015-03-09 17:29:00 +00:00
tests Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
ActiveLayerTracker.cpp Bug 1151346 - Back out the important part again because of bug 1151889. 2015-04-21 16:41:58 -04:00
ActiveLayerTracker.h Bug 961871 - Part 4: Fix budget calculation by adding Maybe prerenderer and animate. r=roc 2014-10-21 21:55:55 -04:00
CaretAssociationHint.h Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn 2014-08-06 17:19:27 +12:00
DisplayItemClip.cpp Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc 2015-03-26 15:39:52 -07:00
DisplayItemClip.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
DisplayListClipState.cpp
DisplayListClipState.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
FrameLayerBuilder.cpp Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc 2015-05-06 08:52:20 +02:00
FrameLayerBuilder.h Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn 2015-04-30 14:54:48 -04:00
FramePropertyTable.cpp Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
FramePropertyTable.h Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
GeometryUtils.cpp Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
GeometryUtils.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
LayerState.h Bug 1048752. Part 10: Remove FrameLayerBuilder.h from nsDisplayList.h. r=tn 2014-08-06 17:19:25 +12:00
MaskLayerImageCache.cpp
MaskLayerImageCache.h Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
PositionedEventTargeting.h Bug 1078029 - Add code to reposition input event coordinates into the target frame. r=roc 2014-11-04 09:52:16 -05:00
RestyleLogging.h Bug 1073828 - Fix variable generation in RestyleLogging.h. r=dbaron 2014-09-28 19:19:26 +10:00
RestyleManager.cpp Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron 2015-04-29 14:47:15 +10:00
RestyleManager.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
RestyleTracker.cpp Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
RestyleTracker.h Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
RestyleTrackerInlines.h Bug 979133 - Add facility to log the restyle process. r=dbaron 2014-09-25 15:45:36 +10:00
ScrollbarStyles.cpp Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange 2014-02-04 14:54:22 +13:00
ScrollbarStyles.h Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange 2014-02-04 14:54:22 +13:00
SelectionCarets.cpp Bug 1156037 - SelectWord triggered by NS_MOUSE_MOZLONGTAP widget event doesn't move focus, r=tylin 2015-04-20 10:41:20 -04:00
SelectionCarets.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
StackArena.cpp
StackArena.h Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
TouchCaret.cpp Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
TouchCaret.h Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
TouchManager.cpp Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
TouchManager.h Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
UnitTransforms.h Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond 2015-04-11 22:03:00 -04:00
Units.h Bug 1150774 (Part 1) - Add helpers to simplify using typed units in ConfigureLayer. r=botond 2015-04-07 18:55:28 -07:00
WordMovementType.h Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn 2014-08-06 17:19:27 +12:00
moz.build Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
nsBidi.h Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
nsBidiPresUtils.cpp Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron 2015-05-04 09:52:53 +12:00
nsBidiPresUtils.h Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu 2015-04-08 11:22:34 +12:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 1024930 - Change text highlighting color. r=roc 2014-07-30 00:11:00 -04:00
nsCSSFrameConstructor.cpp Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert 2015-05-05 21:53:22 +00:00
nsCSSFrameConstructor.h Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert 2015-05-05 21:53:22 +00:00
nsCSSRendering.cpp Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
nsCSSRendering.h Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
nsCSSRenderingBorders.cpp Bug 1097438 - Restore the use of AntialiasMode::NONE in nsCSSBorderRenderer::DrawBorders(). r=roc 2014-11-12 02:56:12 +00:00
nsCSSRenderingBorders.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsCaret.cpp Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
nsCaret.h Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
nsChangeHint.h Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles 2015-02-19 21:22:05 +13:00
nsCompatibility.h
nsCounterManager.cpp Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron 2015-03-27 09:48:10 +11:00
nsCounterManager.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsDisplayItemTypes.h
nsDisplayItemTypesList.h Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
nsDisplayList.cpp Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
nsDisplayList.h Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
nsDisplayListInvalidation.cpp Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
nsDisplayListInvalidation.h Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
nsDocumentViewer.cpp Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp 2015-04-24 22:26:34 -04:00
nsFrameManager.cpp Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj. 2015-02-02 14:48:58 -08:00
nsFrameManager.h Bug 907396 - Frame manager support for display:contents. r=bzbarsky 2014-11-20 18:24:09 +00:00
nsFrameManagerBase.h Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
nsFrameTraversal.cpp Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsFrameTraversal.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsGenConList.cpp
nsGenConList.h Bug 1060985 - Fix more bad implicit constructors in layout; r=roc 2014-08-31 23:36:37 -04:00
nsIDocumentViewerPrint.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1144990 - Dump display items with class id and name, r=roc 2015-04-15 10:07:45 +08:00
nsLayoutHistoryState.cpp Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
nsLayoutUtils.cpp Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc 2015-05-06 08:52:20 +02:00
nsLayoutUtils.h Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc 2015-05-06 08:52:20 +02:00
nsPresArena.cpp Bug 1127201 (attempt 2, part 2) - Remove remaining uses of NS_ABORT_IF_FALSE. r=Waldo. 2015-02-09 17:05:37 -08:00
nsPresArena.h Bug 1077718 - Switch dynamic CounterStyle objects to use arena allocation. r=mats 2014-10-16 16:10:00 -04:00
nsPresContext.cpp Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug. 2015-04-22 10:58:33 -04:00
nsPresContext.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
nsPresShell.cpp Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
nsPresShell.h Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
nsPresState.h Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
nsQuoteList.cpp
nsQuoteList.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsRefreshDriver.cpp Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
nsRefreshDriver.h Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
nsStyleChangeList.cpp Bug 907396 - Make RestyleManager::RestyleElement and nsCSSFrameConstructor::MaybeRecreateFramesForElement deal with display:contents elements. r=bzbarsky 2014-11-20 18:24:10 +00:00
nsStyleChangeList.h Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
nsStyleSheetService.cpp
nsStyleSheetService.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00