gecko/layout/base
Brian Birtles 07bc4e1535 Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.

This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
..
crashtests Add U+2029 PARAGRAPH SEPARATOR and other characters with bidi type Segment Separator and Paragraph Separator to the characters we convert to whitespace before passing text to the Bidi engine. Bug 847242, r=roc 2014-03-05 21:04:36 +02:00
tests Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
ActiveLayerTracker.cpp
ActiveLayerTracker.h
DisplayItemClip.cpp
DisplayItemClip.h
DisplayListClipState.cpp
DisplayListClipState.h
FrameLayerBuilder.cpp (no bug) Remove whitespace at end of line in FrameLayerBuilder. (whitespace-only, DONTBUILD) 2014-03-20 14:49:27 +08:00
FrameLayerBuilder.h Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron 2014-03-21 09:16:20 +08:00
FramePropertyTable.cpp
FramePropertyTable.h
GeometryUtils.cpp Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
GeometryUtils.h Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Makefile.in
MaskLayerImageCache.cpp
MaskLayerImageCache.h
moz.build Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame 2014-03-13 00:39:33 -07:00
nsBidiPresUtils.h Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-11 13:23:50 -07:00
nsCaret.cpp Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc 2014-03-17 16:54:30 +08:00
nsCaret.h Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc 2014-03-17 16:54:30 +08:00
nsChangeHint.h
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
nsCSSFrameConstructor.h (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
nsCSSRendering.cpp Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron 2014-02-18 14:14:31 -08:00
nsCSSRendering.h
nsCSSRenderingBorders.cpp
nsCSSRenderingBorders.h
nsDisplayItemTypes.h
nsDisplayItemTypesList.h Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats 2014-02-14 21:59:23 +13:00
nsDisplayList.cpp Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky 2014-03-22 05:59:58 +08:00
nsDisplayList.h Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc 2014-03-20 18:23:16 -05:00
nsDisplayListInvalidation.cpp
nsDisplayListInvalidation.h
nsDocumentViewer.cpp Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
nsFrameManager.cpp Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
nsFrameManager.h
nsFrameManagerBase.h
nsFrameTraversal.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow 2014-03-02 16:22:29 -06:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE. 2014-03-20 16:34:25 -04:00
nsLayoutUtils.h Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE. 2014-03-20 16:34:25 -04:00
nsPresArena.cpp
nsPresArena.h
nsPresContext.cpp (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
nsPresContext.h (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
nsPresShell.cpp (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
nsPresShell.h Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron 2014-03-21 09:16:20 +08:00
nsPresState.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp
nsRefreshDriver.h
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp
nsStyleSheetService.h
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug 2014-03-17 15:56:53 +09:00
PositionedEventTargeting.h
RestyleManager.cpp Bug 828173 bustage fix for non-unified builds: add using declaration. 2014-03-04 21:05:18 -08:00
RestyleManager.h Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron 2014-03-21 09:16:20 +08:00
RestyleTracker.cpp
RestyleTracker.h
ScrollbarStyles.h
StackArena.cpp
StackArena.h
Units.h Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn 2014-03-10 17:56:59 -04:00
UnitTransforms.h Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn 2014-03-10 17:56:59 -04:00