Commit Graph
25 Commits
Author SHA1 Message Date
Nicholas Nethercote 3dbdcca05c Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange.
Because ProfilerMarkerPayload is the main type defined in these files, and
because the next patch is going to introduce ProfilerMarker.{h,cpp}, which
would be confusingly similar to the old names.
2017-04-27 07:36:19 +10:00
Kan-Ru Chen afb599ef1b Bug 1194751 - Part 4. Add ScreenManager and Screen classes. r=jimm,karlt,mconley
ScreenManager takes the common parts of ScreenManagerWin,
ScreenManagerGtk and ScreenManagerCocoa. It caches all screen
information in the new Screen class. The cache are updated when the OS
notifies there is a monitor config change; all changes will be pushed to
content processes via PContent (patch part 6.)

Screen is a pure data object. All platform dependent logic will be in
widget specific helper classes.

Each process will have a singleton ScreenManager object. Widget
specific helper object is held alive by the ScreenManager when
necessary, for example to receive updates from the OS.

The change to to VsyncDispatcher.cpp is due to unified-build bustage.

ScreenManager::ScreenForNativeWidget is not implemented because it
will be removed in patch part 6.

MozReview-Commit-ID: 5ezytAXSqHp
***
fixup

MozReview-Commit-ID: DQtq3UVZytA
2017-03-14 18:44:54 +08:00
Nicholas Nethercote d2434a7cc6 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
David Anderson 90d4a57c72 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
Kyle Huey b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
David Anderson 7b7cd394cc Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow) 2016-03-22 14:08:38 -04:00
Mason Chang a836bf262e Bug 1134385. Delete main thread assertion in CompositorVsyncDispatcher. r=kats 2015-04-20 17:28:25 -07:00
Mason Chang 54652d6291 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Mason Chang 9339190ff1 Bug 1098701. Part 2: Allow disabling thread assertions. r=kats 2015-01-23 11:19:53 -08:00
Mason Chang ea174cd871 Bug 1095242. Part 5: Unobserve vsync in RefreshTimerVsyncDispatcher. r=kats 2015-01-20 08:31:26 -08:00
Mason Chang 5e19380264 Bug 1095242. Part 4: Unobserve vsync in CompositorVsyncDispatcher. r=kats 2015-01-20 08:31:24 -08:00
JerryShih 659267f0dc Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats 2015-01-07 18:17:36 -08:00
Mason Chang f1b23cb38f Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Mason Chang 83e30a86e4 Bug 1101974. Part 5 - Refactor VsyncDispatcher to use VsyncSource. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang e99e2f2942 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Mason Chang a2a1612c87 bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-18 13:28:42 -08:00
Ryan VanderMeulen 53709e77d1 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang 7b935a0a43 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Mason Chang f29e5a2bfe Bug 552020. Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-14 08:31:04 -08:00
Mason Chang a74f8c5eae bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu 2014-10-29 13:37:06 -07:00
Ehsan Akhgari 22d38b6803 Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa 2014-10-27 08:57:36 -04:00
Mason Chang 695e5463e3 Bug 1048667. Small vsync framework. r=roc 2014-10-23 18:50:31 -07:00
Mason Chang 1e35ae2866 Bug 1085696. Part 2 Move widget/shared to /widget. r=roc 2014-10-23 10:16:47 -07:00