Commit Graph

23321 Commits

Author SHA1 Message Date
Nathan Froyd
16ae3f9d1e Bug 1298134 - fix member initialization order in VRDisplayOculus; r=kip 2016-09-14 19:28:26 -04:00
Nathan Froyd
07545fef15 Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip 2016-09-14 19:28:26 -04:00
Kartikaya Gupta
463cd06d8d Bug 1302493 - Update the in-tree APZ documentation to reflect various changes since it was last updated. r=botond
MozReview-Commit-ID: Atu0RMSctq2
2016-09-14 07:54:46 -04:00
Kartikaya Gupta
ff457cf4f7 Bug 1269067 - Add a gtest to ensure that mouse drag blocks and wheel blocks don't interrupt each other. r=botond
MozReview-Commit-ID: F7FlcaTl4jl
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
51b88e5657 Bug 1289432 - Miscellaneous tweaks to address review comments. rs=botond
MozReview-Commit-ID: B57VOs7rdSH
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
dd5b4ca612 Bug 1289432 - Miscellaneous function renaming and documentation touchups. r=botond
MozReview-Commit-ID: IEUSxcIb0fN
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
fd5138db2a Bug 1289432 - Migrate remaining InputQueue code to use the new mQueuedInput structure instead of the block-based queue. r=botond
MozReview-Commit-ID: 41M1QGp8kcX
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
9e574c3e0d Bug 1289432 - Update a couple more functions to stop fishing around inside mInputBlockQueue. r=botond
MozReview-Commit-ID: TsIGZK43wb
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
5b33e5009a Bug 1289432 - Stop relying on the mEvents array inside the SetConfirmedTargetApzc implementations. r=botond
MozReview-Commit-ID: BG7BmQPa6g9
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
e9b2ac2229 Bug 1289432 - Drop the DispatchImmediate codepath. r=botond
Instead of having this special shortcut case that goes through MaybeHandleCurrentBlock
and DispatchImmediate, we can just add the input to the queue normally and call
ProcessInputBlocks() which effectively does the same thing. Doing it this way
also guarantees that mQueuedInputs is non-empty and mQueuedInputs[0] is the
input currently being processed. This is useful for future patches because it
will allow us to maintain the guarantee that the input block for the input
currently being processed can be readily accessed via GetCurrentInputBlock().

MozReview-Commit-ID: JuVbpsFLURo
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
f8d4e33b0b Bug 1289432 - Allow the CurrentBlock() and CurrentXXXBlock() functions to return null, and guard/assert at the callsites. r=botond
MozReview-Commit-ID: 77LWZBtAB9Y
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
43f18cb292 Bug 1289432 - Update checks for unprocessed events to use mQueuedInputs instead of checking the block is at the head. r=botond
MozReview-Commit-ID: GEHDHhkLPKe
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
e494dee6f9 Bug 1289432 - Switch over to using the mActiveXXXBlock in some places instead of fishing around in mInputBlockQueue. r=botond
Note that this patch has a subtle functional change because the mActiveXXXBlock
variables can remain non-null even if there are no blocks in mInputBlockQueue.
In fact, this patch contains the secret sauce that allows the input queue to
handle interleaved input events, because this ensures that the interleaved events
end up getting associated with the pre-existing active block rather than creating
a new one.

MozReview-Commit-ID: 7GkbSe9IaC4
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
19ed146d8d Bug 1289432 - Start populating the mQueuedInput array with queued input objects. r=botond
Most of the changes to InputBlockState.* are temporary and will be removed in a
future patch, once the transition to using mQueuedInputs is complete. However,
the code is useful as an intermediate step to verify that mQueuedInputs is
maintaining events in the same order and with the same lifetime as the old block-
based queue.

MozReview-Commit-ID: I8lVhMiT4hg
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
05d91128f8 Bug 1289432 - Introduce a skeleton QueuedInput class. r=botond
Note that this patch makes the InputData hierarchy polymorphic.

MozReview-Commit-ID: HrZ2KhHeDoy
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
4b8e63b75c Bug 1289432 - Have the InputQueue keep RefPtrs to the active block of each input type. r=botond
MozReview-Commit-ID: 36MatfdCVS8
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
eebba5eff4 Bug 1289432 - Use RefPtr instead of UniquePtr to hold the block state objects, since there will be multiple references to them soon. r=botond
MozReview-Commit-ID: BhWf1omgfoC
2016-09-14 07:54:36 -04:00
Edwin Flores
794b92fe7b Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert 2016-09-14 11:02:37 +01:00
Benoit Girard
fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Phil Ringnalda
7fc271e5f5 Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]
CLOSED TREE
2016-09-13 21:06:19 -07:00
Bill McCloskey
a430c0ac5b Bug 1287004 - Give PuppetWidgets in parent process a compositor bridge (r=mattwoodrow) 2016-09-13 20:06:44 -07:00
George Wright
2f9a23cf41 Bug 1297565 - Fine tune and update our assertions based on old assumptions which may no longer be valid with a GPU process r=dvander 2016-09-13 22:58:54 -04:00
David Anderson
b5c10b4d4e Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : 958b9b9cb6704d5b1d5096f63ef31fb0a8828009
2016-09-13 16:30:57 -07:00
David Anderson
07336b7d13 Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
David Anderson
62129d7cb4 Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
David Anderson
f80736e0c8 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
David Anderson
3da3b0f45c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 04516571d48f85a94d88a8eb424f8e41e04483ca
2016-09-13 16:30:56 -07:00
David Anderson
d1ef6f2696 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 1bdb57079ca7f3b4c2be6d1bcd5dd3f0ee0c92c1
2016-09-13 16:30:56 -07:00
David Anderson
82339b2d66 Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : bfadf1b91ad88503d4c37a6b4ac6dcc32cd78ca6
2016-09-13 16:30:56 -07:00
Jeff Muizelaar
05a47f9aef Bug 1298829. Move non-operator OVER handling to callback drawables. r=bas
This cleans up the code and makes us use an extra surface less.
2016-09-13 11:05:58 -04:00
Sotaro Ikeda
27cb0a7981 Bug 1300656 - Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel 2016-09-12 22:19:29 -07:00
Hiroyuki Ikezoe
f98523cf02 Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug
MozReview-Commit-ID: 6u7WtXwL3y3
2016-09-13 11:48:44 +09:00
Kartikaya Gupta
310bc9b9db Bug 1302128 - Fix a test so that it actually exercises the APZ layerization codepath it intends to exericse. r=botond
MozReview-Commit-ID: 81iyzNtVFuv

--HG--
extra : rebase_source : ebb63cd1f8fdf10aa45285eeec75895d6c432548
2016-09-12 11:48:47 -04:00
Timothy Nikkel
c630475661 Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond) 2016-09-12 00:19:08 -05:00
Carsten "Tomcat" Book
c81bda3e2d Merge mozilla-central to autoland 2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Manish Goregaokar
aad318e17a Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
MozReview-Commit-ID: CxHzbEzjLxT

--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Wes Kocher
c067786818 Merge m-c to inbound, a=merge CLOSED TREE 2016-09-08 15:28:31 -07:00
Wes Kocher
14246ed95a Backed out 7 changesets (bug 1298938) for mass leaks a=bustage CLOSED TREE
Backed out changeset d710b5ac1e13 (bug 1298938)
Backed out changeset df832e32e7aa (bug 1298938)
Backed out changeset 3f6883401be4 (bug 1298938)
Backed out changeset e43fc0029b90 (bug 1298938)
Backed out changeset 6dd0b4b22b23 (bug 1298938)
Backed out changeset 81e994db6b8c (bug 1298938)
Backed out changeset a757098353c6 (bug 1298938)
2016-09-08 13:28:14 -07:00
Wes Kocher
b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
David Anderson
525494dda4 Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : dc741004038c3ee4547d00959a35113f4e203ffc
2016-09-08 11:29:32 -07:00
David Anderson
dfe373c79e Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : ca2adf8e3a11e35633fdafd8a824e6528a3b7182
2016-09-08 11:29:32 -07:00
David Anderson
91559fcffe Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 47d1a0b3da521d81da9ffea7e259104b508b7415
2016-09-08 11:29:31 -07:00
David Anderson
435ec16468 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 1ea89a87362f86b7730f6a745dbcacb634806e07
2016-09-08 11:28:05 -07:00
David Anderson
f35fc93b1c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 841159573882b9341ca4cca575d27c8ff9e80650
2016-09-08 11:27:35 -07:00
David Anderson
c6665884b8 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 9ccc253894628c783bb74f96f9df5eae9a0469c0
2016-09-08 11:27:31 -07:00
David Anderson
0ea17f8b9f Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 13efa7415ef00ba9dc3ebcc4386b23a7b7d9a7f7
2016-09-08 11:27:26 -07:00
Jeff Gilbert
06b3ddf5fd Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
MozReview-Commit-ID: DMUoG23WTmr
2016-09-08 11:34:32 -07:00
Mason Chang
f76f0efdc8 Bug 1300025. Fix build bustage on non-windows. r=me. CLOSED TREE 2016-09-08 09:55:42 -07:00