Commit Graph

314 Commits

Author SHA1 Message Date
Brian Birtles
f4403c8f20 Bug 1180125 part 8 - Dispatch transition events from refresh driver; r=dbaron
This patch causes transition events to be dispatched as a separate step after
sampling the transitions. Eventually this will allow us to sample transitions
from their timeline (independently of where they came from and in potentially
any order) by separating the concepts of sampling and event dispatch.
2015-07-29 10:57:40 +09:00
Brian Birtles
880fd89013 Bug 1180125 part 1 - Queue and dispatch CSS animation events as a separate step; r=dbaron
This patch prepares the way for script-generated events by making
event dispatch a separate process that happens after sampling animations.
This will allow us to sample animations from their associated timeline
(removing the need for a further manager to tracker script-generated
animations).

Furthermore, once we sample animations from timelines the order in which they
are sampled is likely to be more or less random so by making event dispatch at
separate step, we have an opportunity to sort the events and dispatch in
a consistent and sensible order. It also ensures that event callbacks will
not be run until all animations (including transitions) have been updated
ensuring they see a consistent view of timing properties.

This patch only affects event handling for CSS animations. Transitions will
be dealt with in a subsequent patch.
2015-07-29 10:57:39 +09:00
Hiroyuki Ikezoe
8132cd81a4 Bug 1187811 - Remove unused epoch time from RunFrameRequestCallbacks. r=bkelly 2015-07-27 01:06:00 +02:00
Victor Porof
8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Ryan VanderMeulen
3ed56bb494 Merge m-c to fx-team. a=merge 2015-07-20 16:05:14 -04:00
Boris Zbarsky
a435429163 Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Victor Porof
c08ba2500f Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
81a5c929bd Bug 1183219 - Backed out last 5 changesets for bustage, r=me on a CLOSED TREE 2015-07-18 10:21:09 -04:00
Victor Porof
cddc9e87fc Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
58593a8714 Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Ting-Yu Lin
5d22ed8951 Bug 1182963 - Use nsTHashTable::Iterator in nsRefreshDriver. r=njn
--HG--
extra : commitid : JeCA0sg1XNf
extra : rebase_source : 5d7f3327b8f233d7db17466fbbe6da61d77a1cfe
2015-07-15 17:05:06 +08:00
Xidorn Quan
d441030372 Bug 1179939 - Avoid crash if we destroy the pres context during flushing style or layout. r=roc
--HG--
extra : source : 07bd43449a372800137d3e82ff1064196e23ea70
2015-07-13 09:32:04 +10:00
Xidorn Quan
e71f015f03 Bug 1168705 part 1 - Add mechanism for dispatching events with refresh driver tick. r=roc,khuey
--HG--
extra : source : 78c7ef9ca558520a50fa57492ad714922080459d
2015-07-02 19:12:31 +10:00
Andrea Marchesini
9914935915 Bug 1177764 - Use nsTObserverArray in APZCCallbackHelper, r=kats, r=dholbert 2015-06-26 13:20:10 -07:00
Daniel Holbert
48c763591d Bug 1175245: Convert nsRefreshDriver.cpp to use range-based "for" loops. r=tn 2015-06-17 14:36:40 -07:00
Daniel Holbert
754451fcc0 Bug 1175228: Skip profiler_tracing call for requestAnimationFrame callbacks, if we don't have any callbacks. r=BenWa 2015-06-16 12:56:10 -07:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Carsten "Tomcat" Book
5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Seth Fowler
6d33a9a76e Bug 1169880 - Recompute image visibility on a timer if layout or style flushes have occurred. r=tn 2015-05-29 23:50:51 -07:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jordan Santell
79b0646b65 Bug 1164338 - Move styles markers to be generated in DoProcessRestyles rather than when the Flush_Style queue is flushed. r=smaug,heycam 2015-05-18 16:03:04 -07:00
Eric Rahm
e1ce2b6323 Bug 1162673 - Part 1: Remove instances of #ifdef PR_LOGGING in layout. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:53:18 -07:00
Olli Pettay
bf115e16cf Backout Bug 1149555 because of tresize regression, a=backout
--HG--
extra : rebase_source : dba4dca78f80ac6971ef03d519abbd8fe6919ace
2015-05-08 20:12:41 +03:00
Daniel Holbert
3899eae2cc 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
Olli Pettay
bb9c4f4afa Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron
--HG--
extra : rebase_source : 4828758667591a52ef8d15fa4812c65475ca484f
2015-05-05 17:56:01 +03:00
Seth Fowler
ae663e5c87 Bug 1145439 (Part 1) - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-21 09:44:40 -07:00
Brian Birtles
4f7bf25c27 Bug 1154615 part 2 - Rename PendingPlayerTracker to PendingAnimationTracker; r=jwatt
This patch also updates the method names on PendingAnimationTracker but leaves
a number of local variables which will be fixed in a subsequent patch.

--HG--
rename : dom/animation/PendingPlayerTracker.cpp => dom/animation/PendingAnimationTracker.cpp
rename : dom/animation/PendingPlayerTracker.h => dom/animation/PendingAnimationTracker.h
2015-04-21 10:22:09 +09:00
Olli Pettay
c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay
eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Ryan VanderMeulen
a59888777c Backed out changeset 3366d180e8ee (bug 1145439) for test_scroll_event_ordering.html failures. 2015-04-09 22:59:10 -04:00
Seth Fowler
c432df0af0 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-09 17:52:23 -07:00
Wes Kocher
b485a53afc Backed out changeset b0de9cef013b (bug 1145439) for Gu orange 2015-04-03 14:11:11 -07:00
Seth Fowler
c2f0fefa86 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00
Mason Chang
4be73126b0 Bug 1145327 Part 1: Skip refresh driver ticks if the timestamp is in the past. r=birtles,vlad 2015-03-24 14:28:34 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Avi Halachmi
971e1cf05d bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Mason Chang
a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
pchang
973e75beb3 Bug 1137109 move the displaylist tracing inside nsViewManager::ProcessPendingUpdates, r=benwa, mattwoodrow 2015-03-03 18:01:16 +08:00
Mason Chang
fbd9897745 Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
JerryShih
551c73a023 Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent 2015-01-29 22:19:00 +01:00
Mason Chang
a2c0a65d52 Bug 1125999 Part 2: Compress vsync notifications in the parent process refresh driver. r=kats 2015-01-29 17:41:03 -08:00
JerryShih
c39c465850 Bug 1092978 - Handle VsyncRefreshTimer creation for nuwa. r=bent,cyu 2015-01-19 02:28:00 +01:00
JerryShih
f7e80df874 Bug 1121331 - Part3: VsyncChild actor and VsyncRefreshTimer creation. r=roc r=bent 2015-01-14 00:38:00 +01:00
JerryShih
5d843b5eb7 Bug 1121331 - Part2: Vsync aligned refresh timer. r=roc r=mchang 2015-01-14 00:38:00 +01:00
JerryShih
caec1fe4eb Bug 1118336. Extract timer rate function from RefreshDriverTimer into SimpleTimerBasedRefreshTimer. r=roc 2015-01-06 09:28:18 -08:00
Brian Birtles
fd8aff9c0e Bug 1113413 - Make refresh driver go back immediately when restored from test control; r=vlad 2015-01-06 10:56:02 +09:00
Brian Birtles
79e39d6e6a Bug 927349 part 16 - Do a full reflow when we have pending animations; r=jwatt
We want to time animations from when their first frame is painted. However,
interruptible reflow complicates this since, for a given set of pending
animations, some may be painted whilst others are not. To simplify this we
simply force an uninterruptible reflow when we have animations that are
waiting to start.
2014-12-22 09:35:41 +09:00
Mason Chang
93c2db129d Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow 2014-12-08 12:43:16 -08:00
Daniel Holbert
1ffe67355e Bug 1002632 part 2: Keep using internal refresh driver for SVG-in-opentype, for now. r=edwin 2014-12-04 12:13:37 -08:00
Daniel Holbert
e1da5a0144 Bug 1002632 part 1: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Olli Pettay
bed81b1fde Bug 1105089, try to have shorter ICC slices during animations, r=mccr8
--HG--
extra : rebase_source : bfe8cc2825b7cb2ec86f6e8f5ba590593e1c378b
2014-11-27 13:47:51 +02:00
Avi Halachmi
6436161a3d Bug 1100920 - telemetry probe for frames latency. r=roc 2014-11-18 14:47:32 +02:00
Robert O'Callahan
5fbde2a977 Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
--HG--
extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
2014-10-22 14:26:17 +13:00
Cameron McCormack
1ea00788ea Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky 2014-10-02 12:32:09 +10:00
Benoit Girard
f901a7393c Bug 1065122 - Browser crash when using Timeline & Profiler at the same time. r=pbrosset 2014-09-17 12:00:33 -04:00
Patrick Brosset
fb1884e4ec Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Carsten "Tomcat" Book
caccb79579 Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures 2014-09-09 11:15:18 +02:00
Patrick Brosset
4cc3ab22b1 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 09:48:36 +02:00
Ehsan Akhgari
60360fc645 Bug 1060985 - Fix more bad implicit constructors in layout; r=roc 2014-08-31 23:36:37 -04:00
Daniel Holbert
552a1eafab Backout c5aae1b3dc3f (bug 1002632) for breaking animations in SVG-in-opentype fonts. 2014-08-29 12:09:51 -07:00
Benoit Girard
d83f3e3d33 Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
815df95ef5 Bug 1053078 - Use a timeout instead of tick count for preventing refresh driver hangs since ASAP mode accumulates tick counts too quickly. r=roc
--HG--
extra : rebase_source : b19754d2b3e6731fb89d89ac093f144c8d786b07
2014-08-15 14:24:50 +12:00
Seth Fowler
983a3f905a Bug 913586 (Part 7) - Update Maybe users in layout. r=dbaron
--HG--
extra : rebase_source : 1bf45d1356d36269ca951b58ebf1e448313c55c5
2014-08-13 15:42:15 -07:00
Brian Birtles
a774eb935e Bug 1028511 - Don't let refresh driver time go backwards when changing timers; r=vlad
--HG--
extra : rebase_source : c01f7a7ba8c82282e5c00a81f7b2dc598bf2defa
2014-06-26 09:17:50 +09:00
Benoit Girard
fd2dfb49c6 Bug 1027433 - Reported throttled transaction to the profiler. r=mattwoodrow
--HG--
extra : rebase_source : 348571e878f4068247f8adfda284233b61b610b0
2014-06-18 21:21:39 -04:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Matt Woodrow
2036c6d1a8 Bug 854421 - Part 10: Resume the refresh driver if we miss too many ticks. r=vlad 2014-05-29 09:45:06 +12:00
Matt Woodrow
89a53598b1 Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc 2014-05-29 09:44:30 +12:00
Matt Woodrow
795c2136c0 Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad 2014-05-29 09:43:41 +12:00
Matt Woodrow
8b3992ab79 Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc 2014-05-29 09:42:17 +12:00
Matt Woodrow
bd4c48f570 Bug 854421 - Part 5: Add nsRefreshDriver API to track which transactions have completed composition. r=vlad 2014-05-29 09:42:17 +12:00
Matt Woodrow
563a383a1e Bug 854421 - Part 4: Flush out of date animations even if async animations are disabled since they could also be throttled by the refresh driver. r=dbaron 2014-05-29 09:42:16 +12:00
Benoit Girard
7bc6762bed Bug 926922 - Log reason for layout flushes in profiles. r=ehsan,bz
--HG--
extra : rebase_source : 5383b80a1d0d1ddb36351dea1ad44f27b93001a2
2014-04-22 14:13:00 -04:00
Daniel Holbert
ace7b853ee Bug 1002632: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Bobby Holley
3de1018bbe Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Olli Pettay
ab4411fee4 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Olli Pettay
124795557f Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Scott Johnson
e9101adf37 Bug 878935, Part 1: Add a "freeze" counter to nsRefreshDriver to keep track of how many times it was frozen. r=dbaron
--HG--
extra : rebase_source : 135e5d52fc7fe38bdf57ca2d103ff372d9011873
2013-12-19 16:38:35 -05:00
Bobby Holley
07df154678 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Birunthan Mohanathas
3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
cacf62c269 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Bobby Holley
cdf05d42a4 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book
076ec87e09 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Bobby Holley
901b658c25 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Markus Stange
30aeb02de9 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Benoit Girard
a735170d84 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ehsan Akhgari
c70da60ccf Bug 938114 - Build layout/base in unified mode; r=roc 2013-11-14 21:43:56 -05:00
Robert O'Callahan
4498074aeb Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron 2013-09-04 23:47:21 +12:00
Phil Ringnalda
fb73812f4a Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
c9000607c4 Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron
--HG--
extra : rebase_source : 561101da94824f4d6aba151a243f0e193ad7f83c
2013-09-04 23:47:21 +12:00
Benoit Girard
3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Ehsan Akhgari
f1fbe50293 Bug 924248 - Make nsIDocument.h go on a diet; r=jst
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Ehsan Akhgari
77b5078c36 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Robert O'Callahan
9243c99ebb Bug 906643. Part 1: Add nsRefreshDriver::Add/Remove/PostRefreshObserver so we can receive notifications when a refresh has occurred, without triggering one. r=dbaron
--HG--
extra : rebase_source : fbfdd2678f4561f421fda2eb17e9e7ae8754f8d3
2013-08-20 01:08:44 +12:00
Daniel Holbert
0ea468eaff Bug 913247 followup: Remove superfluous call to imagesToRefresh.Clear(). rs=bz 2013-09-06 10:57:40 -07:00
Daniel Holbert
d79f00f8b6 Bug 913247: Don't call imgIContainer::RequestRefresh during hashtable enumeration. r=jwatt 2013-09-06 09:48:26 +01:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Ehsan Akhgari
2621b190f1 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Robert O'Callahan
64c801d64f Bug 900785. Part 2: Make nsRefreshDriver use the WinUtils DWM APIs instead of loading the DLL itself. r=avih 2013-08-15 16:25:58 +12:00
Markus Stange
1213991850 Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Avi Halachmi
91d31fafd1 Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel 2013-08-02 23:29:57 +03:00
Milan Sreckovic
3dffde4a8d Bug 895003 - Introduce a second preference to control the chrome paint flashing - nglayout.debug.paint_flashing_chrome. r=roc
The original pref still controls content and chrome when set. The preference is now live, for content and chrome, the change will be seen on the next refresh. The cached value is now in nsPresContext, rather than nsRefreshDriver.
2013-07-22 11:51:38 -04:00
L. David Baron
a7c8d44db9 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Avi Halachmi
36ca537eb2 Bug 856427: Add vsync support at the refresh driver (Windows DWM). r=vlad 2013-05-29 13:31:16 +03:00
Joe Drew
003c8f3047 Bug 867758 - Synchronize the first time we call RequestRefresh() on an image with the time we call it on images with the same first frame delay, and set the animation start time on those images to the refresh driver's time stamp for accuracy. r=seth
--HG--
extra : rebase_source : ed68e52d1918a8d5ec014579ac01fef48338f3ca
2013-05-17 16:57:26 -04:00
Bobby Holley
cdde50556c Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Olli Pettay
987fa41833 Bug 873101 - Remove nsRefreshDriver::ClearAllImageRequests(), r=vlad
--HG--
extra : rebase_source : 0edc481e6d4f79b299747342dbfdb62564852cdc
2013-05-16 19:19:25 +03:00
Jonathan Watt
ab3b6bcd32 Bug 870816 - Replace DEBUG_INVALIDATIONS with a pref called nglayout.debug.invalidation. r=mattwoodrow 2013-05-14 00:47:02 +01:00
Boris Zbarsky
d8af1cb967 Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug 2013-05-01 23:44:11 -04:00
Boris Zbarsky
91ff6a36b8 Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc 2013-04-25 11:13:21 -04:00
Benoit Girard
042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Paul Rouget
3262a13c83 Bug 847890 - paint flashing for content only. r=roc 2013-03-12 11:01:00 -07:00
Ed Morley
5fb0293004 Backed out changeset eaf182f23c3a (bug 847890) for failures in test_bug847890_paintFlashing.html on a CLOSED TREE 2013-03-13 10:06:34 +00:00
Paul Rouget
b1db0cf9dc Bug 847890 - paint flashing for content only. r=roc 2013-03-12 11:01:00 -07:00
Robert O'Callahan
03283f8b15 Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
rename : build/mach_bootstrap.py => mach
extra : rebase_source : b83c1d09313bff62357eaa931eced0f72f838493
2013-02-28 00:50:27 +13:00
Ed Morley
260d9da13c Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Robert O'Callahan
5d1fd00ffe Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.

--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Bobby Holley
321002c62d Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Avi Halachmi
aea732eff7 Bug 842967 - Prevent refresh driver re-targeting the same timestamp. r=vladimir 2013-02-20 14:07:51 -05:00
Kartikaya Gupta
8c0cc0fece Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih 2013-01-23 00:52:19 -05:00
Phil Ringnalda
dfaf3bab2c Back out ecac2ce4eada (bug 828126) for busting b2g's arm 2013-01-13 17:48:33 -08:00
Kartikaya Gupta
3a5e8a2d07 Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih 2013-01-13 19:19:03 -05:00
Robert O'Callahan
aba980bcb4 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
4464dc950d Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
0bda13504b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Avi Halachmi
28ffc25c71 Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao 2013-01-03 21:53:15 -05:00
Vladimir Vukicevic
7949f643dc b=823091; 2nd tab in a window opens without animation (timers reporting wrong current time); r=roc,bz 2012-12-23 19:29:23 -05:00
Dão Gottwald
3e5deace1e Backed out changeset e14c7409ede7 2012-12-18 01:04:30 +01:00
Avi Halachmi
a1d09d0622 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar 2012-12-17 18:48:01 -05:00
Vladimir Vukicevic
780aec2bb7 b=821230; crash in nsRefreshDriver::SetHighPrecisionTimersEnabled during xpcom shutdown; r=ehsan 2012-12-14 12:47:57 -05:00
Vladimir Vukicevic
10aa9f5441 b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc,ehsan 2012-12-11 17:15:32 -05:00
Nicholas Cameron
c54f8d4754 Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Robert O'Callahan
bff2be0517 Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Mats Palmgren
2c25932a6c Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00