Bug 930476 - Show paint markers for async frames. r=ehsan
authorBenoit Girard <b56girard@gmail.com>
Mon, 04 Nov 2013 17:04:51 -0500
changeset 153428 301830ddbfb2c77ff6b581cff1d144c4c4effa8a
parent 153427 bad6c063b01f64a18986a847d71346cacf51a788
child 153429 6379c1cb6fa7ad4d0171517c02b36100412c7ed6
push id35798
push userb56girard@gmail.com
push dateMon, 04 Nov 2013 22:05:31 +0000
treeherdermozilla-inbound@301830ddbfb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs930476
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 930476 - Show paint markers for async frames. r=ehsan
gfx/layers/ipc/CompositorParent.cpp
--- a/gfx/layers/ipc/CompositorParent.cpp
+++ b/gfx/layers/ipc/CompositorParent.cpp
@@ -496,16 +496,17 @@ CompositorParent::ScheduleComposition()
   } else {
     ScheduleTask(mCurrentCompositeTask, 0);
   }
 }
 
 void
 CompositorParent::Composite()
 {
+  profiler_tracing("Paint", "Composite", TRACING_INTERVAL_START);
   PROFILER_LABEL("CompositorParent", "Composite");
   NS_ABORT_IF_FALSE(CompositorThreadID() == PlatformThread::CurrentId(),
                     "Composite can only be called on the compositor thread");
   mCurrentCompositeTask = nullptr;
 
   mLastCompose = TimeStamp::Now();
 
   if (!CanComposite()) {