Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 96636477ac Bug 1435022 - Remove more unused stuff. r=sotaro
MozReview-Commit-ID: I5XEUT9dmPT

--HG--
extra : rebase_source : 3aa150d3a5605d8b8aa80106b0fdbe386ae704b6
2018-02-01 16:29:08 -05:00
Kartikaya Gupta f56bc3a093 Bug 1435022 - Remove useless code (mExpectedComposeStartTime is never assigned). r=sotaro
MozReview-Commit-ID: LEgR6JFy0Ys

--HG--
extra : rebase_source : 6c46a9868c219ab655eee4d7674ffe86a4fe4a01
2018-02-01 16:29:07 -05:00
Kartikaya Gupta 42289b31e8 Bug 1435022 - Clean up GetLastComposeTime. r=sotaro
MozReview-Commit-ID: CEaz01FyjSs

--HG--
extra : rebase_source : 44c92477f6374764e084249bae74639c3706b5c0
2018-02-01 16:29:06 -05:00
Kartikaya Gupta 425b9f8598 Bug 1435022 - Document some methods. r=sotaro
MozReview-Commit-ID: CItOABKtjRl

--HG--
extra : rebase_source : 702981068a9176f98e66d7466d5ced742a2a9e6a
2018-02-01 16:28:53 -05:00
Kartikaya Gupta 7a2ef4343b Bug 1435022 - Make the Composite function private and document/clean it. r=sotaro
MozReview-Commit-ID: 3UQKwwC3Fav

--HG--
extra : rebase_source : 19737ed1c2ab40d7656257adbac10626ace1d9e7
2018-02-01 16:28:53 -05:00
Kartikaya Gupta 00c2abf4c9 Bug 1435022 - Inline the SetNeedsComposite function. r=sotaro
SetNeedsComposite is only ever called from one place on the compositor
thread, but it has a bunch of generic boilerplate to handle being called
from any thread. If we inline it we don't need the extra boilerplate and
it's much simpler to follow the code.

MozReview-Commit-ID: E1AcMh80KsH

--HG--
extra : rebase_source : 717fe101a3b23e30f8443110de5b6bf1a84cddda
2018-02-01 16:28:53 -05:00
Kartikaya Gupta 88a5174812 Bug 1435022 - Minor cleanup on the Destroy function. r=sotaro
MozReview-Commit-ID: EnE6JKKmhgy

--HG--
extra : rebase_source : 49e11327c77968e649ae28bee7e5a72bc2a6f98a
2018-02-01 16:28:53 -05:00
Kartikaya Gupta b90ff6039c Bug 1435022 - Make a couple of functions private. r=sotaro
MozReview-Commit-ID: G6qC9TbIChQ

--HG--
extra : rebase_source : 53df609ead6de35621f923388d062f95042807d2
2018-02-01 16:28:52 -05:00
Kartikaya Gupta 2a7ee5280c Bug 1435022 - Inline a one-line function with a confusing name. r=sotaro
This function is exposed as public but only ever called from two places,
both of which are inside the class. It's confusing to have it as a
separate function because it just makes it harder to trace through the
code.

MozReview-Commit-ID: BC7mvOc9wo

--HG--
extra : rebase_source : 56e2c69e158685c106e01e78e31d2df67ea6128c
2018-02-01 16:28:52 -05:00
Kartikaya Gupta 28f8d7953e Bug 1435022 - Remove the ResumeComposition function from the vsync scheduler. r=sotaro
Having a resume function without a corresponding pause function seems
silly. And the implementation of the function is the same as doing a
force-compose, which is what the call site is intending to do. So we can
just remove this function and do a force-compose instead.

MozReview-Commit-ID: LimMYQhAuEk

--HG--
extra : rebase_source : f10e43c4c4a6f67162b1b473de6c23d8dbdc7a8f
2018-02-01 16:28:50 -05:00
Kartikaya Gupta 4a13ef1ec7 Bug 1435022 - Make ScheduleTask private and drop a useless argument. r=sotaro
MozReview-Commit-ID: 4bRjv1L7DLF

--HG--
extra : rebase_source : ccd8eea10a677681aed24c45ba69cf3eee93d657
2018-02-01 16:28:50 -05:00
Kartikaya Gupta a4734bc1f0 Bug 1435022 - Inline OnForceComposeToTarget and clarify the comment. r=sotaro
This function has only one call site and there's no need to make it
public.

MozReview-Commit-ID: 5o7B9KMyVqy

--HG--
extra : rebase_source : 38a915c19d48784ce086ebecd66b9f872ae03327
2018-02-01 16:28:49 -05:00
Daosheng Mu 7435a52362 Bug 1420940 - Part 2: Skip the VR task when running at other threads instead of canceling the task. r=dvander
MozReview-Commit-ID: 3axm3h7yMij
2017-12-09 14:48:56 +08:00
Daosheng Mu ceb0da875a Bug 1420940 - Separate dispatching VR events to an individual scope to avoid deadlock. r=dvander, r=kip
MozReview-Commit-ID: 7tpzUDNoShw
2017-12-03 13:19:33 -05:00
Daosheng Mu 204ca9c9df Bug 1415762 - Cancel VRListener task when CompositorVsyncScheduler is going to destroy; r=dvander
MozReview-Commit-ID: CB5JrDGZTu1

--HG--
extra : rebase_source : 4a6f65f4aaf2c11f2dad1a471f0cb219470f1dbe
2017-11-13 11:33:33 +08:00
Phil Ringnalda e0e1cf4354 Backed out 4 changesets (bug 1406327) for crashing other tests, crashing itself, and assertion failures
Backed out changeset 471c710b19b1 (bug 1406327)
Backed out changeset 5890bb3a0d97 (bug 1406327)
Backed out changeset 63c8ee57e38c (bug 1406327)
Backed out changeset 345972733daa (bug 1406327)

MozReview-Commit-ID: IwWx11QSuS4
2017-11-01 21:44:12 -07:00
Daosheng Mu a04c759f89 Bug 1406327 - Part 1: Shutdown VR listener thread when no VR content in seconds; r=dvander,kip
MozReview-Commit-ID: AnYJT8WBkI7

--HG--
extra : rebase_source : fff277f9801760fa00261283fbc1ca42b59a8fd8
2017-10-26 16:51:14 +08:00
Attila Craciun 77253e619f Backed out changeset 996d843e1eb8 (bug 1406327) for failing dom/vr/test/mochitest/test_vrController_displayId.html r=backout on a CLOSED TREE. 2017-11-01 11:15:09 +02:00
Daosheng Mu 1726d42a0c Bug 1406327 - Part 1: Shutdown VR listener thread when no VR content in seconds; r=dvander,kip
MozReview-Commit-ID: AnYJT8WBkI7

--HG--
extra : rebase_source : 5d336ca6f5fb9fbcfd993e5e699d363a22bbe304
2017-10-26 16:51:14 +08:00
Phil Ringnalda 1e756a27c8 Backed out 3 changesets (bug 1406327) for bustage in tests that run after the VM tests
Backed out changeset 1784a194ced8 (bug 1406327)
Backed out changeset 44cb5451bbde (bug 1406327)
Backed out changeset e1e57d418c14 (bug 1406327)

MozReview-Commit-ID: HUN1rEqAIWf
2017-10-31 22:33:41 -07:00
Daosheng Mu 2a5a8b7872 Bug 1406327 - Part 1: Shutdown VR listener thread when no VR content in seconds; r=dvander,kip
MozReview-Commit-ID: AnYJT8WBkI7

--HG--
extra : rebase_source : 5d336ca6f5fb9fbcfd993e5e699d363a22bbe304
2017-10-26 16:51:14 +08:00
Daniel Holbert 126bd9e1a4 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl

--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Coroiu Cristina 9ca76dcb7a Backed out changeset b7a07167905c::2932c914e223 (bug 1406327) for failing in dom/vr/test/mochitest/test_vrController_displayId.html r=backout a=backout on a CLOSED TREE
Backed out changeset 2932c914e223 (bug 1406327)
Backed out changeset cfbc6262a064 (bug 1406327)
Backed out changeset b7a07167905c (bug 1406327)
2017-10-30 14:51:52 +02:00
Daosheng Mu f6e2fb5654 Bug 1406327 - Part 1: Shutdown VR listener thread when no VR content in seconds; r=dvander,kip
MozReview-Commit-ID: AnYJT8WBkI7

--HG--
extra : rebase_source : 373040a7e578e79c4b2ab2bbda8c155c77fdbbc5
2017-10-26 16:51:14 +08:00
Daosheng Mu e41dc03f86 Bug 1392216 - Part 1: Create VR listener thread in GPU process; r=dvander,kip
MozReview-Commit-ID: Img0HT9ax90

--HG--
extra : rebase_source : ef3e2dac31f498454121639aa46657c0cd16f949
2017-10-05 18:12:45 +08:00
Sotaro Ikeda d513b931e0 Bug 1318780 - Split CompositorVsyncScheduleOwner to its own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
2016-11-20 17:14:32 -08:00
Sotaro Ikeda 133e28473a Bug 1317893 - Split CompositorVsyncScheduler to own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
2016-11-18 02:37:04 -08:00