Commit Graph

8016 Commits

Author SHA1 Message Date
Randall Barker
8e2fb1b139 Bug 1276463 - Allow Android native fling animation to correctly handoff velocity r=botond 2016-06-09 12:36:23 -07:00
Carsten "Tomcat" Book
ffd9e007e6 Backed out changeset 1b8e6e22a983 (bug 1275694) for test failures in checkerboard-3.html 2016-06-09 08:54:34 +02:00
Matt Woodrow
695c044db9 Bug 1275694 - Use the presence of checkerboarding to decide when to override the clip rect rather than always using the client side visible rect. r=botond
--HG--
extra : rebase_source : 3d1785095b265bc3e2b51cf6ebb18f2538e3e62c
2016-06-09 16:36:12 +12:00
Wes Kocher
900af5349d Backed out changeset a85da8081c68 (bug 1176011) of OSX failures 2016-06-08 11:44:29 -07:00
George Wright
4a2717ba01 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-08 12:23:41 -04:00
Andi-Bogdan Postelnicu
2092648418 Bug 1278480 - prevent null pointer dereference. r=kats
MozReview-Commit-ID: LhntDa5Fqqi

--HG--
extra : rebase_source : b22e53908a68a099efe0afbd6cba5d0012f9b5c9
2016-06-08 16:12:37 +03:00
Nicholas Nethercote
4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830 Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.

--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
George Wright
75d2715f23 Bug 1278723 - Don't use ssse3_scale_data on targets that don't support SSSE3 r=jrmuizel 2016-06-07 20:52:45 -04:00
George Wright
20caba9bab Revert "Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical" on a CLOSED TREE
This reverts commit 5e29613bb6bc66d13bc63c4fab3a0130e801a058.
2016-06-07 17:37:59 -04:00
Kartikaya Gupta
4131eaf041 Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.

MozReview-Commit-ID: GBlgj6whi5T

--HG--
extra : rebase_source : 01cbbe8b90208a8dc5ab81ab9bdbd39d3bc8ee7a
2016-06-07 11:07:55 -04:00
Kartikaya Gupta
07d2a157f8 Bug 1273137 - Add the mHandledByAPZ flag to MouseInput as well. r=rbarker
MozReview-Commit-ID: EGEzIjvHbml

--HG--
extra : rebase_source : 9c9be98807a81e90fffa075a209346988a8fc614
2016-06-07 11:07:55 -04:00
Kartikaya Gupta
08a944bb46 Bug 1273137 - Add a mochitest that creates a drag block on a dispatch-to-content-region. r=rbarker
MozReview-Commit-ID: LRKyOUGvFP9

--HG--
extra : rebase_source : 791e27bad946b6e021df521fea335b7ec4b445f1
2016-06-07 11:07:55 -04:00
George Wright
7eeaa7b6cd Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-07 14:33:23 -04:00
JerryShih
73652c8a4f Bug 1133623 - check device-removed status when we have timeout. r=milan, r=bas 2016-06-06 20:10:00 +02:00
Benoit Girard
2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Botond Ballo
574fdad7e2 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : c875c84d8740bfeb6d0ebc8e7df35a173ee93c74
extra : intermediate-source : acd104ba0e8deb2c3e92b05e67f9520fcef551ab
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo
95cd52ff56 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : intermediate-source : f15df83c29a6e13263ca462b00ae561543b45ae1
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
23fcc090d1 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : intermediate-source : cd06b8e0f6dce55d662a96e9d3981d452047bc14
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo
e130e591c9 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : intermediate-source : e8361d5c43d2002d610f10fb638c368e43c3ea65
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Wes Kocher
086c164bf6 Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Thomas Zimmermann
4934adbfe6 Bug 1278202: Add missing method |GrallocTextureHostBasic::GetCompositor|, r=nical
MozReview-Commit-ID: 1WHSkS3qFLK
2016-06-06 19:52:17 +02:00
Benoit Girard
24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard
c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Jonathan Watt
c8d5762f34 Bug 1278239 - Remove gfxQuartzImageSurface. r=Bas 2016-05-27 19:43:34 +01:00
Botond Ballo
2e8d4b9af9 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : 22527c9c0222c923363681e46c09c201523e2c5e
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo
e9a73ef16a Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
c9bf1aead5 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo
d035901a55 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Nicholas Nethercote
ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Kartikaya Gupta
d70c25d580 Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values. r=rbarker
MozReview-Commit-ID: 4IjgCcufAL0

--HG--
extra : rebase_source : 15b74a5330f9055083f1553345b5686f95d7a9b3
2016-06-03 15:10:46 -04:00
Jeff Muizelaar
1c35e2ccda Bug 1276923. BasicCompositor: Properly transform the clip. r=mstange
We push the clip on the buffer while it has the original transform, and
then we overwrite the transform with something else. But the fast path
operates in device space and ignores the existing clip on the buffer, so
we need to know the original clip at the original transform.
2016-06-03 14:46:12 -04:00
Jonathan Watt
03036022ec Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Nathan Froyd
bee4b4445b Bug 1277649 - add override declarations for Android-specific codepaths; r=snorp
Adding these makes the compiler much happier.
2016-06-03 18:31:05 -04:00
Sebastian Hengst
d89a4dde4a Backed out changeset a09ad974b522 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst
806cf3797f Backed out changeset 8e6211a8cc26 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst
81c60dd743 Backed out changeset e2e57c225fd0 (bug 1276107) 2016-06-02 22:54:30 +02:00
Botond Ballo
d52b8378f1 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
f7f7c84f33 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo
cac77c7630 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Kaku Kuo
802fc0f1d8 Bug 1141979 - part4 - Add NVImage; r=jrmuizel
MozReview-Commit-ID: 9kacGnqHVRH

--HG--
extra : transplant_source : %D2%95%C2%5E%F40%0D%86.%CD%F7%236%E8%D3%D8%7Frv%99
2016-03-10 10:35:27 +08:00
Nicolas Silva
aeec29dd87 Bug 1272600 - Part 8 - Simplify the textures ReadLock on the content side. r=sotaro 2016-06-02 11:00:36 +02:00
Nicolas Silva
bdb76dfbb8 Bug 1272600 - Part 7 - Add some documentation to TextureReadLock. r=sotaro 2016-06-02 11:00:33 +02:00
Nicolas Silva
ae8b59dba1 Bug 1272600 - Part 6 - ReadUnlock BufferTextureHost as soon as its data is available. r=sotaro 2016-06-02 11:00:29 +02:00
Nicolas Silva
862fa6b263 Bug 1272600 - Part 5 - Make ImageHost store all timed images in CompositableTextureRef slots. r=sotaro 2016-06-02 11:00:27 +02:00
Nicolas Silva
a1868d5220 Bug 1272600 - Part 4 - Support TextureReadLock with all layer types. r=sotaro 2016-06-02 11:00:23 +02:00
Nicolas Silva
1d7c8451c8 Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro 2016-06-02 11:00:21 +02:00
Nicolas Silva
0a313355f8 Bug 1272600 - Part 2 - Store TextureReadLock into TextureClient/Host. r=sotaro 2016-06-02 11:00:17 +02:00
Nicolas Silva
e81b585b53 Bug 1272600 - Part 1 - Preliminary cleanups for the ReadLock patch queue. r=sotaro 2016-06-02 11:00:12 +02:00
Kartikaya Gupta
c384832c0f Bug 1101628 - Follow-up to fix crash in some gtest scenarios. r=me
MozReview-Commit-ID: 9qRNiaMnLd
2016-06-01 17:17:06 -04:00
Jeff Muizelaar
60421f01e1 Bug 1276923. Actually disable ssse3 scaler until it's fixed. r=mstange 2016-06-01 16:17:35 -04:00
Kartikaya Gupta
2bccdc112b Bug 1101628 - Add a test to ensure that APZ doesn't need to wait for content to provide event region information. r=botond
MozReview-Commit-ID: JCpX0Qh5mC5
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
e0de7153a9 Bug 1101628 - Refactor snapshotting code to allow reusing it across tests. r=botond
MozReview-Commit-ID: BRSUNn5gxSX
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
7f2fcbb03b Bug 1101628 - Fix function name and documentation to reflect reality. r=botond
MozReview-Commit-ID: 4DN8owPZH65
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
f1063f9326 Bug 1101628 - Have the APZCTM tell the input queue what the allowed touch behaviours are, if it has the information. r=botond
MozReview-Commit-ID: CUgJm5ObVFV
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
f8cf1bc2e1 Bug 1101628 - Add additional HitResult types to reflect the different event regions. r=botond
MozReview-Commit-ID: DxZjv1eCWLU
2016-06-01 15:48:05 -04:00
Jeff Muizelaar
c61e0d5461 Bug 1276923. Disable ssse3 scaler until it's fixed 2016-06-01 13:56:10 -04:00
Kartikaya Gupta
9ce6b03d5a Bug 1275604 - Rename synthesizeNativeDrag to synthesizeNativeTouchDrag, and extract the TOUCH_SLOP constant to the helper file. r=botond
MozReview-Commit-ID: DcN23OC4Glj
2016-06-01 13:13:21 -04:00
Kartikaya Gupta
33d6952bd2 Bug 1275604 - Basic touch-action test. r=botond
MozReview-Commit-ID: 4irw1Qd7I6s
2016-06-01 13:13:14 -04:00
Kartikaya Gupta
9ece31839d Bug 1275604 - Make the touch-action pref live. r=botond
As part of making the pref live, we need to ensure that if the pref is flipped
while an input block is in the input queue, the behaviour that results is
reasonable. In particular, if a touch block is created while touch-action is
disabled, but the pref is enabled while that block is in the queue, it may
suddenly go from IsReadyForHandling() returning true to IsReadyForHandling()
returning false. This can result in the block getting stuck in the queue and
preventing future touch blocks from being processed at all. To handle this
case, we explicitly set the mAllowedTouchBehaviorSet flag to true if the block
is created with touch-action disabled. This prevents IsReadyForHandling() from
flipping to false in these cases.

MozReview-Commit-ID: CJq9NtMF1Bq
2016-06-01 13:13:14 -04:00
Randall Barker
92bf505262 Bug 1240065 - Throttle repaints when pinch zooming r=botond 2016-05-31 15:00:57 -07:00
Carsten "Tomcat" Book
2ca762b096 merge mozilla-central to mozilla-inbound 2016-06-29 16:20:21 +02:00
Kartikaya Gupta
faa37f4591 Bug 1280013 - Add a test. r=botond
MozReview-Commit-ID: 7xkNFpQnvFG
2016-06-29 08:50:22 -04:00
Kartikaya Gupta
47b3b7b426 Bug 1280013 - Incorporate the APZ callback transforms when using the root composition bounds to clip the displayport base. r=botond,tnikkel
MozReview-Commit-ID: 1HOGQnCjIMt
2016-06-29 08:50:20 -04:00
Kartikaya Gupta
6a6c1034f1 Bug 1282283 - Fix data race found by TSan. r=sewardj
MozReview-Commit-ID: LP2QI83gNVl
2016-06-29 08:49:49 -04:00
Jamie Nicol
f19a9e2f30 Bug 1263083 - Use single-tile layer when less than half the tile size in either dimension; r=mstange
MozReview-Commit-ID: 8yYXVl36AHK

--HG--
extra : transplant_source : %81%F9%DB%1D%F2%B9%A2vY%5D%04m%A0%1A%B7%EB%92%224P
2016-06-24 12:52:17 +01:00
Nicolas Silva
15c05c673a Bug 1273854 - Temporarily disable the TextureChild's mutex if not using ImageBridge. r=bas 2016-05-31 18:04:58 +02:00
Nicolas Silva
6f18e1035a Bug 1273854 - Document the locking patterns in TextureChild that don't play well with tsan. r=bas, jseward 2016-05-31 18:03:51 +02:00
Mason Chang
0f69ca549f Bug 1046205. Fix depth pitch read out of bounds. r=bas 2016-05-31 08:28:42 -07:00
Carsten "Tomcat" Book
b6eaf79e2f Backed out changeset 1f80fae4ca27 (bug 1276590) on developers request 2016-05-31 15:56:49 +02:00
Thomas Zimmermann
ab38c66479 Bug 1276590: Replace |ReadBytes| with |ReadBytesInto| in Gonk IPC code, r=froydnj
MozReview-Commit-ID: FdjdoOT7j7j
2016-05-31 15:52:37 +02:00
JerryShih
d2c1100510 Bug 1187466 - check compositor status in TextureHost::lock(). r=dvander
If the compositor is a nullptr during lock() call, it means that the
compositor is not compatible with current textureHost. So return false
in lock().
2016-05-28 10:38:00 +02:00
eyim
3767f26135 Bug 1145085 - Move widget/ContentHelper.* to gfx/layers/apz/util/TouchActionHelper.*. r=BenWa,kats
r?BenWa,kats

MozReview-Commit-ID: 5snt3fIGnAS

--HG--
rename : widget/ContentHelper.cpp => gfx/layers/apz/util/TouchActionHelper.cpp
rename : widget/ContentHelper.h => gfx/layers/apz/util/TouchActionHelper.h
extra : rebase_source : 58250f060aefec4a8f9551f679d210bcdc849719
2016-05-27 16:46:25 -04:00
kearwood
24362dc743 Bug 1276359 - Fix D3D11 Shader Compile Failure r=bas
MozReview-Commit-ID: 6t02t473FFg

--HG--
extra : rebase_source : b512add238d5a0853752ae7306fe412ee6df245a
2016-05-27 13:37:52 -07:00
Jeff Muizelaar
a5fc6a819f Bug 1266491 - Use an ssse3 scaler for video. r=mstange
This is a separable scaler that improves from performance
from 15-16fps to 21-22fps
2016-05-28 10:12:12 -04:00
Jeff Muizelaar
85d22c8bbc Bug 1266491. Add a RGB_FROM_YCBCR texture flag. r=nical
We only use the SSSE3 scaler when this texture flag is set. This avoids using
it for compositing things other than video.
2016-05-28 10:12:11 -04:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Botond Ballo
0ab39f7210 Bug 1267999 - An APZC cannot be checkerboarding if APZ is force-disabled for it. r=kats
MozReview-Commit-ID: Ai6aiRFBPl1

--HG--
extra : rebase_source : 62a2f6e79150e4acff4a833d7c128167f1c41941
2016-05-25 19:38:39 -04:00
Botond Ballo
ee8e0b9c30 Bug 1273227 - Fix an assertion in TextureClient::Unlock(). r=nical
MozReview-Commit-ID: JwWPe4F0NCq

--HG--
extra : rebase_source : 82262bd0a1ca7a0aa32e7007578b5b00e8139f0f
2016-05-25 13:16:25 -04:00
David Anderson
b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Nicolas Silva
9dba02273e Bug 1286437 - Crash the content process instead of the parent when an actor is sent on the wrong channel. r=dvander 2016-07-26 20:56:35 +02:00
Carsten "Tomcat" Book
730118cb62 Backed out changeset b0724a9e58bf (bug 1278341) for crashes in mozilla::layers::TextureClientPool::ReturnUnlockedClients
--HG--
extra : rebase_source : 0d2eedce1ee93725b3f77f64e15d7d74321bffbd
2016-07-19 10:17:19 +02:00
George Wright
dfdc187ec8 Bug 1278341 - Keep track of unused tiles in determining TextureClientPool size instead of overall size r=jnicol 2016-07-19 02:40:00 -04:00
David Anderson
c8cd4bd70e Don't access Preferences from CompositorLRU. (bug 1287362, r=mattwoodrow) 2016-07-18 22:54:45 -07:00
Bill McCloskey
291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Xidorn Quan
5678a23c37 Bug 931445 part 4 - Ensure pointer is moved into the window for APZ mouseevent test. r=kats
MozReview-Commit-ID: HiRf1qHjSL9

--HG--
extra : source : 86f4daa98b83f088af4835c855901725ee64fe1b
extra : amend_source : 31b14f114e7435a0872023e107cebebce7871229
2016-05-27 17:13:05 +10:00
Xidorn Quan
adf9f94c38 Backed out 4 changesets (bug 931445) for e10s mochitest failures
Backed out changeset 5a92875424b0
Backed out changeset 79ba5815f9aa
Backed out changeset b084784405ef
Backed out changeset 67bf9ee17564

--HG--
extra : rebase_source : 9604d138e1d333d7bcf6edc8b886340b8371524d
2016-05-27 16:08:41 +10:00
Xidorn Quan
7f45b2ae60 Bug 931445 part 4 - Ensure pointer is moved into the window for APZ mouseevent test. r=kats
MozReview-Commit-ID: HiRf1qHjSL9

--HG--
extra : rebase_source : 66d97f69176acd944e79c4fa92d60747892a7aec
extra : source : 86f4daa98b83f088af4835c855901725ee64fe1b
2016-05-27 11:09:58 +10:00
Matt Woodrow
4c51824c83 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical
--HG--
extra : rebase_source : 2369072fafc1754be09346cc2cd63fabee29d190
2016-05-26 18:40:07 +12:00
Sebastian Hengst
0d90f54a8b Backed out changeset 4d417e2c21ff (bug 1265468) for asserting in LayerManagerComposite.cpp on OS X 10.10 debug with e10s. r=backout 2016-05-26 10:45:39 +02:00
Matt Woodrow
de6a18cca7 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical 2016-05-26 18:40:07 +12:00
Kartikaya Gupta
f343609efb Bug 1273654 - Update a new test to use the new helpers. r=botond
MozReview-Commit-ID: Br5jlOQ12wy
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
1dbcbb831c Bug 1273654 - Extract a helper function to run continuation-style tests. r=botond
MozReview-Commit-ID: 67WYQr1d7YO
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
52b50801d8 Bug 1273654 - Reuse the apz test utils in a few more places. r=botond
MozReview-Commit-ID: 2mV0VzlrKh6
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
de9de05549 Bug 1273654 - Extract a helper to check if APZ is enabled or not. r=botond
MozReview-Commit-ID: EkhZpfT3UFs
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
93e2c8a220 Bug 1273654 - Extract a pushPrefs helper function to simplify test setup. r=botond
The set of changes in this patch removes all waitForFocus calls in the test
folder, except for the one in apz_test_utils.js. This results in less
boilerplate and more consistent test state initialization.

MozReview-Commit-ID: IYlTKDx7Xx2
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
18103f612f Bug 1273654 - Extract a waitUntilApzStable helper function for tests. r=botond
MozReview-Commit-ID: As6iFEPz7pA
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
270761d77e Bug 1273654 - Remove redundant function wrapper. r=botond
MozReview-Commit-ID: BTC8oT5p4Uy
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
01bfc7401c Bug 1273654 - Merge the subtests from test_basic_pan into test_group_touchevents. r=botond
MozReview-Commit-ID: Huc2bRaaW6p
2016-05-25 15:31:52 -04:00
Kartikaya Gupta
85db554935 Bug 1203140 - Test. r=smaug
MozReview-Commit-ID: 1XMpWLbF5KB
2016-05-24 11:24:31 -04:00
Mason Chang
5d51a78785 Bug 1273990. Use target backend rather than screen reference backend if compositor has a target set. r=jmuizelaar 2016-05-20 14:51:34 -07:00
Nathan Froyd
ff4717e53a Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-24 18:17:27 -04:00
David Anderson
cc844f6053 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
3284628c95 Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
44e1ee52df Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
David Anderson
3afaab9b67 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
5a87aaf54e Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
25f45d71ec Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
0b299bbf23 Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
Sotaro Ikeda
1412ddf507 Bug 1274178 - Deliver picture origin r=nical 2016-05-22 17:37:43 -07:00
Nicholas Nethercote
c4c868a370 Bug 1139252 - Fix D3D texture memory reporters. r=jrmuizel.
This patch makes the names and reporter paths more consistent. It also removes
sD3D9MemoryUsed, which was unused.

--HG--
extra : rebase_source : f209636a938630e464d529078cfa116eb06339ba
2016-05-18 17:10:37 +10:00
Kyle Huey
231aeec2d9 Bug 1274435: Don't bother tracking the main thread in SharedBufferManagerParent. r=sotaro 2016-05-22 08:28:07 -04:00
bd339
c01768d2a8 Bug 1056381 - When a layer transaction comes in, only update the hit testing tree when necessary. r=botond
MozReview-Commit-ID: KdLNEMxqtDU

--HG--
extra : rebase_source : ca21e15eabacd8e50d002f53c4635887f173fac3
extra : amend_source : fcbfee71267c2b1db44f646409e480c1b31bf201
2016-05-16 20:53:44 +02:00
Botond Ballo
0ea56ba3e9 Bug 1272165 - Localize the use of #ifdefs to select the fling animation. r=kats
This patch also renames FlingOverScrollerAnimation to AndroidFlingAnimation,
and moves it to the newly added files AndroidAPZ.{h,cpp}.

MozReview-Commit-ID: LXADdGL4SKh

--HG--
rename : gfx/layers/apz/src/FlingOverScrollerAnimation.cpp => gfx/layers/apz/src/AndroidAPZ.cpp
extra : rebase_source : bdb87ef1cc3f955572d458f17525860caa3f2b6a
2016-05-16 18:53:23 -04:00
Botond Ballo
923e3daad0 Bug 1272165 - Move the logic for determining whether to accelerate a fling into FlingAnimation. r=kats
MozReview-Commit-ID: 41GGRtdlcAU

--HG--
extra : rebase_source : 131d84f7eab9b424ff30023db8db62a62c310abd
2016-05-16 18:23:55 -04:00
Botond Ballo
694a023498 Bug 1272165 - Move FlingAnimation into its own file and rename it to GenericFlingAnimation. r=kats
MozReview-Commit-ID: EAksmwgJdax

--HG--
extra : rebase_source : 2d12ef03b640d59f28717c815424ee09bfcc6db3
2016-05-16 18:08:24 -04:00
Botond Ballo
4fd78d8c79 Bug 1272165 - Localize the use of #ifdefs to select the overscroll effect. r=kats
MozReview-Commit-ID: IaIUhrlrhZS

--HG--
extra : rebase_source : 8ad12387dfc6ddb33f876439350ec7473bf9d077
2016-05-11 20:58:19 -04:00
Botond Ballo
6086e0f55a Bug 1272165 - Move OverscrollAnimation into a separate file Overscroll.h. r=kats
MozReview-Commit-ID: DaDJEZJ7EBJ

--HG--
extra : rebase_source : dc585521e917a2afbbace88ee3b6dc5f21346528
2016-05-11 20:40:46 -04:00
Daniel Holbert
ad862a27cb Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
CLOSED TREE

MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd
2431e47bfb Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-19 21:48:59 -04:00
Sotaro Ikeda
78e3f7a6a2 Bug 1274145 - Add HostIPCAllocator r=nical 2016-05-19 06:04:14 -07:00
Ryan VanderMeulen
54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Kartikaya Gupta
44f30a273b Bug 1273759 - Fix bad interaction between bug 1197310 and bug 1264017 by making the location-setting an absolute URL. rs=me on a CLOSED TREE
MozReview-Commit-ID: AAcIPDqPm9n
2016-05-18 07:10:47 -04:00
David Anderson
c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
Kartikaya Gupta
585307cd11 Bug 1271432 - Add a mochitest. r=tnikkel
MozReview-Commit-ID: DUzs7VzRUte
2016-05-17 11:05:46 -04:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Andi-Bogdan Postelnicu
3bb1e11276 Bug 1273095 - initialize |mStride|. r=jrmuizel
MozReview-Commit-ID: ElpMyYLcy0M

--HG--
extra : rebase_source : 5a3405d3bbf47f0f6d26071d25c2810c205da195
2016-05-16 13:58:52 +03:00
Sotaro Ikeda
e4ecb6b6da Bug 1273417 - Update DataSourceSurfaceFromYCbCrDescriptor() r=nical 2016-05-17 02:14:54 -07:00
peter chang
62a18529e5 Bug 1269892 - Dump the name of TextureSource when fails to cast it as TextureSourceOGL, r=nical
MozReview-Commit-ID: IAW98qk3987

--HG--
extra : rebase_source : ed5d2dc1901854cafb63478275e67d48f68ed25f
2016-05-16 17:29:57 +08:00
Kartikaya Gupta
f922a5a903 Bug 1264017 - Rename the meta-tests to have more meaningful names. r=botond
MozReview-Commit-ID: 9fGFYrWTUGz

--HG--
rename : gfx/layers/apz/test/mochitest/test_click.html => gfx/layers/apz/test/mochitest/test_group_mouseevents.html
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_group_touchevents.html
rename : gfx/layers/apz/test/mochitest/test_scroll_window.html => gfx/layers/apz/test/mochitest/test_group_wheelevents.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
9e6b45a056 Bug 1264017 - Refactor machinery to run tests serially in new windows into a helper function. r=botond
MozReview-Commit-ID: 1gBQh1tuinl
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
2c8903f129 Bug 1264017 - Add another mouse event synthesization sanity test. r=botond
MozReview-Commit-ID: 1zB5fo74RS9
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
8a0f553fd3 Bug 1264017 - Add synthesized mouse support to Android. r=rbarker
MozReview-Commit-ID: HT4U7WKTd5Z
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
57664be4cf Bug 1264017 - Add a basic sanity mouse click synthesization test. r=botond
MozReview-Commit-ID: Gv6QQrF2T7d

--HG--
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_click.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
392f87445d Bug 1264017 - Add an APZ test API to synthesize a mouse click. r=botond
MozReview-Commit-ID: 1zeoPTGrrLh
2016-05-16 12:17:17 -04:00
Andi-Bogdan Postelnicu
70548f08ce Bug 1273075 - initialize |mPixelsPerFrame| and |mPixelsFilled|. r=jrmuizel
MozReview-Commit-ID: AzevXVRAZvM

--HG--
extra : rebase_source : 1d94ea2901db7aac43ec404deac923b4a587c096
2016-05-16 12:17:37 +03:00
Edwin Flores
7795b8f22c Bug 1270428 - Cancel wait for texture recycle when CanvasClient is shutting down - r=nical 2016-05-16 12:55:02 +01:00
Edwin Flores
b705cc93b6 Bug 1272277 - Increment content-side device counter after a device reset - r=nical 2016-05-16 12:55:02 +01:00
David Anderson
800882adb1 Move CompositorBridgeParent::IsInCompositorThread to CompositorThreadHolder. (bug 1273017 part 3, r=mattwoodrow) 2016-05-15 23:40:13 -07:00
David Anderson
03a3af51b6 Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow) 2016-05-15 23:39:30 -07:00
David Anderson
a6d9f5b888 Move CompositorThreadHolder into its own file. (bug 1273017 part 1, r=mattwoodrow) 2016-05-15 23:38:34 -07:00
peter chang
6d981a9e36 Bug 1265625 - Call BindTexture to get correct transform for Android Surface Texture, r=jrmuizel
MozReview-Commit-ID: 1TW2hjyECAu

--HG--
extra : rebase_source : f251fc54fecfc342710d5f684e8dc90f9c3e8caf
2016-05-10 15:11:19 +08:00
peter chang
6ddf680a45 Bug 1265625 - Remove workaround for fennec, r=jrmuizel
MozReview-Commit-ID: F3IeDPeJwo7

--HG--
extra : rebase_source : 6a488b047e1d538674da3dc68f31c47f8e50eaf1
2016-05-10 15:10:49 +08:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Kartikaya Gupta
65ba2f05a0 Bug 1272757 - Fix drag handling so that drag inputs don't get stuck waiting for content response while running tests. r=rbarker
MozReview-Commit-ID: Lsn5nFNcP7k
2016-05-13 21:48:23 -04:00
Jeff Muizelaar
7288d777c9 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 19:58:43 -04:00
Wes Kocher
69ee17e2fb Backed out changeset b15136f926ca (bug 1272778) for build bustage 2016-05-13 16:05:12 -07:00
Jeff Muizelaar
4ed215c5a2 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 18:51:09 -04:00
Botond Ballo
dff4442cf8 Bug 1270902 - Ensure scroll handoff parents are specified in the layer trees used by APZ gtests. r=kats
MozReview-Commit-ID: BxFheQ058y8

--HG--
extra : rebase_source : 6d686831ee1a09aabaf1e4f66d8976849900d198
extra : source : 85b2ecd2a2ece0bdcb2243595707f85fb18b34f7
extra : histedit_source : 8e77e1a4a4142bf5e94713326efae728cb4b836f
2016-05-11 19:59:05 -04:00
Botond Ballo
87090ec8ab Bug 1267438 - Minor cleanup to AsyncCompositionManager. r=kats
MozReview-Commit-ID: 8DlQzhsjUOO

--HG--
extra : rebase_source : a33438beab9e3c8a30d3cfe0f1818962c8de641e
extra : source : 18098473f63e1be323be489ef9d833f8b36ac1fd
extra : histedit_source : 533bba53774e970a01ecdd8a0162e8804350a986
2016-05-11 19:39:37 -04:00
Randall Barker
1d4d05833d Bug 1267928 - Part 2, Prevent AsyncPanZoomController::ZoomToRect from processing empty rect r=botond 2016-05-13 13:26:08 -07:00
Kartikaya Gupta
76e30f2d64 Bug 1272429 - When hit-testing layers nested inside scrollable content inside fixed-pos items, make sure to hit the scrollable layers. r=botond
MozReview-Commit-ID: BwdvYtloW8V
2016-05-13 15:05:51 -04:00
Randall Barker
d47ba86c2b Bug 1272732 - Specifying --disable-android-apz breaks Fennec build. r=kats 2016-05-13 11:37:40 -07:00
George Wright
58b129c757 Bug 1264764 - Move PTexture under PCompositorBridge r=nical,dvander 2016-05-13 12:52:19 -04:00
Kevin Wern
7ae5cf1e52 Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond
Create an Iterator type with classes ForwardIterator and ReverseIterator,
having GetFirstChild/GetNextSibling and GetLastChild/GetPrevSibling
methods, respectively. Specify the iterator type for each call to
ForEachNode. With this, we can support trees with forward and reverse
sibling structures.

Additionally, apply these algorithms to all Layer recursive traversals,
where applicable. Update tests to ensure both directions yield expected
results.

MozReview-Commit-ID: iYpX22XHTa

--HG--
extra : rebase_source : 016d3c37e0679df7037dacd3366d3fa7748d0703
extra : amend_source : 089c4a62bd4716be087669742bb542c39a9f97c6
2016-03-10 01:20:40 -08:00
Kartikaya Gupta
b867e298b4 Bug 1266066 - Ignore passive event listeners for APZ purposes. r=botond,smaug
MozReview-Commit-ID: 1F41jHsVOyY
2016-05-12 14:50:58 -04:00
Sotaro Ikeda
252ce4f643 Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
Sotaro Ikeda
9e1b71d4c8 Bug 1272114 - Suppress error log r=nical 2016-05-12 05:58:13 -07:00
Thinker K.F. Li
2f0f3cd7e3 Bug 1253241 - Return empty render bound for empty clip. r=mattwoodrow
--HG--
extra : rebase_source : e758e8d1146e0dd7ba4e0c4c588ee19d5999cad9
2016-05-02 20:24:00 +02:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Gregor Wagner
a870069721 Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander 2016-05-11 17:09:43 -07:00
Botond Ballo
15982f20e6 Bug 1267438 - Remove the redundant aTransformAffectsLayerClip argument to AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: AjHA70EdCeX

--HG--
extra : rebase_source : a0122ee7e33de1a7dcd40eba63580703099b7165
extra : source : 63c9e4fbc1bec70de51ccde350e554c54207cf65
extra : histedit_source : 6fc0fc354e0bd469ed9ee6b80772df8efa0b0bf2
2016-05-04 20:20:57 -04:00
Botond Ballo
0c3f8a3e7d Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo
de687339fd Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 703ff74d56cecf0546457ff8940265f97a3331cc
extra : source : 1c8e4840f8b40b7e02b9274e446e278e8c907053
extra : histedit_source : 6efd4834b4ec52a6d57a05bdd9529cf39a7669a4
2016-05-06 19:34:16 -04:00
Botond Ballo
241127e62f Bug 1267438 - Use the scrolled clip in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: LjV8bEhCexE

--HG--
extra : rebase_source : a7497faaeab313844db3337c91f72e0096c03974
extra : amend_source : 3a23b9ce26056641346aed16df9045253c158672
extra : source : 641eef89309781af7a63df344d0e1f495ba5efd8
extra : histedit_source : 733ac29096b2e70c8b3a6048f1a89d9c79c9be80%2Ce1dd6b10d1bd8d9cd9265a9a732ca743c80cda06
2016-05-10 01:10:29 -04:00
Botond Ballo
26dd60d1c9 Bug 1267438 - During AlignFixedAndStickyLayers, only un-adjust the fixed portion of a layer's clip rect. r=mstange
MozReview-Commit-ID: 62JVHL5AVhP

--HG--
extra : rebase_source : edc2325417a3c27804643d4f3560c497be4f7172
extra : amend_source : 32756b9a4e4d5b4e2e28d6409b6cae0d888121ba
extra : source : 14ee768229fa8e4e346ff0b62a59c3dff2bc164a
extra : histedit_source : 0c0b5c09661309bdceda9f2fd18fa760ec84f2f7%2C122f6ba007fa88a9df17f04eb64869af20e89a21
2016-05-11 15:16:57 -04:00
Botond Ballo
ea8d856fa1 Bug 1267438 - Factor out a helper function to check if a layer is fixed or sticky. r=mstange
MozReview-Commit-ID: A1qrxW3KVVE

--HG--
extra : rebase_source : bd835e3241855a6202a14f57f44d7d473e361522
extra : source : 68b48bf17f7baa4ac96bd4099c4a4089456eb77c
extra : histedit_source : 233d4da0d5491a47ba9bfd5a20d77206a58446c6
2016-05-04 17:32:12 -04:00
Botond Ballo
29ef36444d Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : 4a61e20fa5ea6de457132aa7e06c27e48286f28c
extra : source : 6618e805fce8e1b45241783d8ba3b5bec5ad182a
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo
771407a83d Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : cf1e70734524cb740cb0cb64190d5a780d2b692f
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : source : 54cb97cee6810ec56308d1f2f66e5b8fda02da3e
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo
b6836691eb Bug 1267438 - Do not propagate the scroll clip to APZC's copy of ScrollMetadata. r=kats
MozReview-Commit-ID: 9E1QGnoxUjN

--HG--
extra : rebase_source : de1b5a5db98721f86be9ab065f6874b76b6ea719
extra : source : 5bf9a7962ad4c5d75d6a57a7fc4289f0b6fd680d
extra : histedit_source : 688cfcc68480fa61ae9e4125178e869454c0d849
2016-04-29 16:16:29 -04:00
Botond Ballo
0702a1f217 Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
MozReview-Commit-ID: 6W0GZYkioov

--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Botond Ballo
dde17de868 Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 02074a9ea70bb33ded2cc592b4e29bd8f5e79969
extra : source : 1065434be718ec94d30480100f1c409cc446c6ac
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Kartikaya Gupta
6a456833c3 Bug 1270955 - Add mochitests for scrolling while over position:fixed and sticky elements. r=botond
MozReview-Commit-ID: curYWJlnOQ
2016-05-11 17:28:07 -04:00
Kartikaya Gupta
4e803a8887 Bug 1270955 - When hit-testing on fixed-pos layers, find the root APZC for the scroll container rather than the layers id. r=botond
MozReview-Commit-ID: IvcMbpINOBI
2016-05-11 17:28:04 -04:00
Randall Barker
c63841d754 Bug 1229462 - Use Android OverScroller class for fling animation r=botond 2016-05-11 08:37:47 -07:00
Matt Woodrow
814c8dcc80 Bug 1260611 - Part 3: Hold on to TextureHosts until the following composite is done. r=sotaro
--HG--
extra : rebase_source : adfc1ae3f241a965b8df8035154e861449a7157e
2016-05-11 10:55:17 +12:00
Matt Woodrow
35ecd4fc8f Bug 1260611 - Part 2: Block CompositorD3D11 after presenting until the previous frame is complete. r=Bas
--HG--
extra : rebase_source : 80a439a8ffa99a106e038102780ffb022966ecce
2016-05-11 10:53:46 +12:00
Matt Woodrow
56561ae673 Bug 1260611 - Part 1: Opt-in to waiting for compositor recycling for TextureClientRecycleAllocator. r=sotaro
--HG--
extra : rebase_source : 1035ebcfaa2bd67a259b0f177ed4b9fef92a5792
2016-04-22 15:39:56 +12:00
Botond Ballo
810a495c93 Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
MozReview-Commit-ID: LlibhRhbyVO

--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Ethan Lin
92ba053648 Bug 1268302 - Fix performance regression in glterrain. r=jgilbert 2016-04-29 02:19:00 -04:00
Matt Woodrow
6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +12:00
Botond Ballo
4abc47955f Bug 1267438 - Remove the redundant aTransformAffectsLayerClip argument to AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: AjHA70EdCeX

--HG--
extra : rebase_source : f50fc3b200f7139328c3f764066cd0ef27565269
extra : histedit_source : 36d99200a254c4c94c101656885d59f63305e8a4
2016-05-04 20:20:57 -04:00
Botond Ballo
89c6c3b097 Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Botond Ballo
a5f375a42f Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 07cfbb871a15404d7d4766aea0b8f8387e42f67b
extra : histedit_source : 66dc2ae14acf2ae399e810785ccd7ee51550445d
2016-05-06 19:34:16 -04:00
Botond Ballo
708d6cc228 Bug 1267438 - Use the scrolled clip in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: LjV8bEhCexE

--HG--
extra : rebase_source : 4dd85dce17066d5885838ac8793063ba7fda9be1
extra : amend_source : 3a23b9ce26056641346aed16df9045253c158672
extra : histedit_source : 508f14af8caca19e296fd90b3bd19b6d16902d1c
2016-05-04 18:52:56 -04:00
Botond Ballo
37455734c2 Bug 1267438 - During AlignFixedAndStickyLayers, only un-adjust the fixed portion of a layer's clip rect. r=mstange
MozReview-Commit-ID: 62JVHL5AVhP

--HG--
extra : rebase_source : 381c5b6c47db2b9d546f16e96a7bf7cc0652cc99
extra : amend_source : 32756b9a4e4d5b4e2e28d6409b6cae0d888121ba
extra : histedit_source : 4746e1cebf87e6eeda886041c745cfcce985db80
2016-05-04 21:05:27 -04:00
Botond Ballo
6903b7197e Bug 1267438 - Factor out a helper function to check if a layer is fixed or sticky. r=mstange
MozReview-Commit-ID: A1qrxW3KVVE

--HG--
extra : rebase_source : d3ad1e0ab2690bb9e55a593ea6d979e234e71e9f
extra : histedit_source : 233d4da0d5491a47ba9bfd5a20d77206a58446c6
2016-05-04 17:32:12 -04:00
Botond Ballo
ac2a58becc Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : cda1645407959eb39ff3e880078836d35686a8d8
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo
ac37bcd416 Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : e7f1ddd9ce664317247da1b9f569ac04e383ca47
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo
2f4d953404 Bug 1267438 - Do not propagate the scroll clip to APZC's copy of ScrollMetadata. r=kats
MozReview-Commit-ID: 9E1QGnoxUjN

--HG--
extra : rebase_source : 165a66ccdf2d836acb11fbda39888ad8d7954d1f
extra : histedit_source : 688cfcc68480fa61ae9e4125178e869454c0d849
2016-04-29 16:16:29 -04:00
Botond Ballo
8699c362f8 Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
MozReview-Commit-ID: 6W0GZYkioov

--HG--
extra : rebase_source : c46d0d27145df9b268e70ab5aed67c8c64df9433
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Botond Ballo
f9b1e198bb Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 09606811c5005f956c2684062f2ffa919e99f329
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Sotaro Ikeda
10bd1948ed Bug 1263053 - Enable tiling on BasicCompositor r=nical 2016-05-08 18:29:35 -07:00
David Anderson
bfbc7d0ba3 Use gfxConfig for D3D9 preferences. (bug 1270650, r=jrmuizel) 2016-05-06 19:01:58 -07:00
bd339
79bdfc45c8 Bug 1170062 - Use a common base class to simplify APZ gtests. r=botond
The common base class is shared by APZCBasicTester and APZCTreeManagerTester,
and contains several of the functions previously in InputUtils.h.

MozReview-Commit-ID: 85ZRHc1dNQf

--HG--
extra : rebase_source : fe97b9774842944a9a7959350cc642e611b5a8b4
extra : amend_source : 2557604a92b478fbf44b7eaad6bfccfd4b4c8377
2016-05-06 21:30:28 +02:00
Milan Sreckovic
e0f647f55d Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2

--HG--
extra : rebase_source : 146e8b8dc49dce7735f961df3ddfa3c9130fee32
2016-05-06 10:19:31 -04:00
Kartikaya Gupta
6b351292a3 Bug 1269194 - Allow privileged code access to CheckerboardReportService. r=avih
MozReview-Commit-ID: 1O13jLQw2OF
2016-05-06 14:41:31 -04:00
Thomas Zimmermann
c2ec632f2d Bug 1269422: Get Gonk widget with |CompositorWidgetProxy::RealWidget|. r=dvander 2016-05-05 11:27:38 +02:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
44cee0989e Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
156b8c1933 Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey
7f54121b91 Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey
63a71e96b0 Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-05-05 01:44:59 -07:00
David Anderson
9c703c12e4 Remove plugin-related CompositorBridgeParent use of nsIWidget. (bug 1265975 part 6, r=jimm) 2016-05-04 22:00:14 -07:00
David Anderson
9427843932 Remove Windows-specific compositor calls to nsIWidget. (bug 1265975 part 5, r=jimm) 2016-05-04 22:00:14 -07:00
bd339
6455e570f8 Bug 1249936 - Remove unnecessary const from the return type of Layer accessors that return matrices by value. r=botond
MozReview-Commit-ID: 4JKqUDtYN3P

--HG--
extra : rebase_source : 01243e54c9a40f335353071dc2d3785bd38a4cc0
extra : amend_source : 423ddc97a398303eef098375457b756edde0a0ae
2016-05-03 16:33:43 +02:00
Kartikaya Gupta
f2607fc5eb Bug 1231570 - Ensure we send a touchcancel after a prevented long-press. r=capella
MozReview-Commit-ID: o5InXZjdUx

--HG--
extra : rebase_source : 964cd1c68eba86bf640dbfb630d74917c7f6d1dc
2016-05-03 16:22:27 -04:00
Kartikaya Gupta
b345ce3a32 Bug 1270165 - Allow ResetTouchInputState to be called while a non-touch block is the current block. r=botond
MozReview-Commit-ID: HN3G249raKW

--HG--
extra : rebase_source : 490a634671f218139b88efb079f72e252577e88f
2016-05-04 11:57:36 -04:00
Nicolas Silva
5182c62c24 Bug 1270075 - Annotate reports instead of crashing when setting an incompatible compositor (D3D9). r=Bas 2016-05-04 15:22:49 +02:00
Nicolas Silva
44f9c2293f Bug 1268169 - Don't touch a ShmemSection's memory after shutdown. r=kats 2016-05-04 13:36:48 +02:00
Sebastian Hengst
360c4930db Backed out changeset 7ac47a347557 (bug 1231570) for crash in test_wheel_scroll.html after assertion at gfx/layers/apz/src/InputQueue.cpp:493 on Linux debug in M-e10s(8). r=backout 2016-05-04 09:32:28 +02:00
Kartikaya Gupta
6345f1e3e3 Bug 1231570 - Ensure we send a touchcancel after a prevented long-press. r=capella
MozReview-Commit-ID: o5InXZjdUx

--HG--
extra : rebase_source : 964cd1c68eba86bf640dbfb630d74917c7f6d1dc
2016-05-03 16:22:27 -04:00
David Anderson
fcdaf00819 Use CompositorWidgetProxy for dispatching vsync to the compositor. (bug 1269037 part 1, r=mchang) 2016-05-03 17:39:23 -07:00
David Anderson
85576afa6e Restrict SetDispAcquireFence's nsIWidget access to Gonk. (bug 1269653 part 2, r=kats) 2016-05-03 17:37:34 -07:00
David Anderson
0ea2b809d0 Don't use nsIWidget to check APZ in LayerManagerComposite. (bug 1269653 part 1, r=kats) 2016-05-03 17:37:34 -07:00
Kartikaya Gupta
c065a77f0b Bug 1269032 - Add support for user multipliers to pan gesture inputs. r=mstange
MozReview-Commit-ID: 91ooLOswm7q

--HG--
extra : rebase_source : 4b545b6f95052adc951c37cc096110a7df8be1bb
2016-05-03 09:09:10 -04:00
Kartikaya Gupta
f30087628f Bug 1269068 - Zero out the axis velocity once the wheel scroll animation is terminating. r=botond
MozReview-Commit-ID: 50WX2ATswhv

--HG--
extra : rebase_source : 65349a0d6b20a529b1e68d604a6242393e12695a
2016-05-02 15:26:35 -04:00
Kartikaya Gupta
bf75215060 Bug 1266833 - When the scroll position is clamped during a frame reconstruction, send a scroll offset update to APZ. r=tnikkel
MozReview-Commit-ID: 2UBM4AWWIVI
2016-05-02 15:44:29 -04:00
bd339
1f362e61d3 Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
bd339
7a139afe3a Bug 1249936 - add a LayerComposite::GetShadowTransform method & simplify Layer::GetLocalTransform. r=botond
MozReview-Commit-ID: 80RNCyxAjtq

--HG--
extra : rebase_source : f567255ff3205da7419a5698b0d5ffa75dd30ad1
2016-05-01 12:54:26 +02:00
Markus Stange
8fc4b5a29d Bug 1265112 - When rendering blend modes with CompositorOGL, use NV_texture_barrier (if available) to sample directly from the framebuffer. r=jrmuizel
MozReview-Commit-ID: fWSgFOTmhS

--HG--
extra : rebase_source : b4d6f09ecdba5fd186805ae37d46e1a5b338017b
extra : source : 5661561315873d7593d202cbef2535df4bf43400
extra : histedit_source : 5f3d9e8b965966718001f84ee517d7943511e0de
2016-04-15 18:53:35 -04:00
Aryeh Gregor
f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
David Anderson
77e3700565 Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm) 2016-04-29 19:23:17 -04:00
David Anderson
189df44ef6 Use CompositorWidgetProxy in place of nsIWidget in CompositorBridgeParent. (bug 1264545 part 5, r=jimm,kats) 2016-04-29 19:20:42 -04:00
David Anderson
c7d105faf0 Use CompositorWidgetProxy in place of nsIWidget in the compositor. (bug 1264545 part 4, r=jimm) 2016-04-29 19:20:41 -04:00
David Anderson
1c7b3ca999 Change Compositor::GetWidget to return a CompositorWidgetProxy. (bug 1264545 part 3, r=jimm) 2016-04-29 19:20:41 -04:00
David Anderson
86a0e1fbcf Hoist mWidget into the Compositor base class. (bug 1264545 part 1, r=nical) 2016-04-29 19:20:40 -04:00
Sebastian Hengst
81f27811ea Backed out changeset d1b4c5874493 (bug 1265112) 2016-04-30 00:49:45 +02:00
Markus Stange
433e58e886 Bug 1265112 - When rendering blend modes with CompositorOGL, use NV_texture_barrier (if available) to sample directly from the framebuffer. r=jrmuizel
MozReview-Commit-ID: fWSgFOTmhS

--HG--
extra : rebase_source : 45d55b826a9a4e06689cd187c1f14b711d08cbb4
extra : source : 5661561315873d7593d202cbef2535df4bf43400
2016-04-15 18:53:35 -04:00
Kartikaya Gupta
94f1ccfd16 Bug 1268517 - Remove unused function. r=botond
MozReview-Commit-ID: 7E9gZhizUZt
2016-04-29 12:01:03 -04:00
Kartikaya Gupta
c1fd24b30b Bug 1268523 - Avoid leaking tasks when they are posted to a destroyed APZC instance. r=botond
MozReview-Commit-ID: 9hAkzCVg7el

--HG--
extra : rebase_source : 8f9a71ec1354fe57c1401655b81bcb178eb6d1c2
2016-04-28 11:29:35 -04:00
Carsten "Tomcat" Book
f13688180e Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
--HG--
extra : rebase_source : 0af725bfab61b8f86e0243490aa970535f726503
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
5d43a44ec6 Backed out changeset 3f2f3fcac66b (bug 1268313)
--HG--
extra : rebase_source : 438e7d7077b900ef252bd628f4559424eebd211f
2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book
4bb6f48de3 Backed out changeset 6a8d57e8fa8e (bug 1268313)
--HG--
extra : rebase_source : 8690897fd41073f22c8b25db5e8ce88df76a2bb7
2016-04-29 14:21:22 +02:00
Carsten "Tomcat" Book
de92769e7e Backed out changeset 4bcb784492bb (bug 1268313)
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
David Anderson
a4bd3b332b Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel) 2016-04-28 21:52:55 -07:00
David Anderson
b7528e9778 Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-28 21:52:54 -07:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
12d497cb39 Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
c724d0c867 Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
a13954d079 Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
e713dbefec Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-04-28 14:08:24 -07:00
Sebastian Hengst
cab1c27b22 Backed out 13 changesets (bug 1254899) for test failure in browser_Troubleshoot.js. r=backout
Backed out changeset f749ee384012 (bug 1254899)
Backed out changeset 1d7eeee5a5c5 (bug 1254899)
Backed out changeset b5ab83af342c (bug 1254899)
Backed out changeset 993906e53329 (bug 1254899)
Backed out changeset e8abac801a51 (bug 1254899)
Backed out changeset e9c311c68e4a (bug 1254899)
Backed out changeset f8f3ae8c5cef (bug 1254899)
Backed out changeset d17f98a9918a (bug 1254899)
Backed out changeset 21c8a7ea2b93 (bug 1254899)
Backed out changeset 64e58f9625eb (bug 1254899)
Backed out changeset 2de214d5d1e0 (bug 1254899)
Backed out changeset f2056259d227 (bug 1254899)
Backed out changeset b805df0c8296 (bug 1254899)
2016-04-28 10:32:25 +02:00
David Anderson
80d9b8c4ce Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel) 2016-04-27 22:54:26 -07:00