Commit Graph

7499 Commits

Author SHA1 Message Date
Masayuki Nakano
6aedccbde5 Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
MozReview-Commit-ID: 3xscKDblY4V

--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano
6cedf549dc Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
MozReview-Commit-ID: F5dQHpPkWfA

--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09:00
Daisuke Akatsuka
6c89bdf21b Bug 1248532 - Part 1: steps-start does not produce correct value at the beginning of the interval. r=birtles
MozReview-Commit-ID: F9b1HCfEqU6

--HG--
extra : transplant_source : %22xJ1%EBa%D6%7D%87%03%B84%2A5%CA9%93N%8A%16
2016-04-01 14:00:57 +09:00
Kartikaya Gupta
ac77ce1edf Bug 1251638 - Do a bit of cleanup on the displayport margin computation in APZC; no functional changes. r=botond
MozReview-Commit-ID: 2MlCVLH8OZA
2016-04-01 08:02:28 -04:00
Kartikaya Gupta
4cf9495b2a Bug 1251638 - Don't clamp the displayport to the scrollable rect on the compositor side. r=botond
The clamping already happens on the content side, in nsLayoutUtils::GetDisplayPort
and friends. The clamping there is more accurate as it reflects the latest main-
thread information about the size of the page and position of the displayport
base rect, which the compositor thread does not have.

Since we are not clamping the displayport on the compositor side, it can "slosh
around" a bit more and ends up sending a few more repaint requests when scrolling
near the edges of the scrollable frame. This causes some gtests to fail because
of the "extra" repaint requests. Disabling the velocity bias removes the
sloshing around and fixes the test failures.

MozReview-Commit-ID: JgBDi0M3Wtt
2016-04-01 08:02:25 -04:00
Masayuki Nakano
e9a1bcb370 Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
MozReview-Commit-ID: 7avEiqKfaHA

--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Wes Kocher
099e2cf829 Backed out changeset 08a097c4ea86 (bug 1255961) for build bustage CLOSED TREE
MozReview-Commit-ID: 2oPAnEwBpit
2016-03-30 10:20:58 -07:00
Bill McCloskey
9cae39064e Bug 1255961 - Avoid zeroing out shmems (r=dvander) 2016-03-30 09:58:39 -07:00
David Anderson
ea604f9f48 Recreate GLTextureSources after changing compositors on Mac. (bug 1247611, r=mattwoodrow)
--HG--
extra : rebase_source : ff5d3cc118ac1f944398431d423c75b254c0a029
2016-03-30 09:33:24 -04:00
Thomas Zimmermann
1e43e927fd Bug 1260391: Transfer |CompositableOperation| in |AsyncChildMessageData|, r=dvander 2016-03-30 10:59:08 +02:00
Thomas Zimmermann
b2c3effe60 Bug 1260391: Fix |ImageBridgeChild::UseOverlaySource|, r=dvander 2016-03-30 10:59:08 +02:00
Jim Mathies
b77f9f8489 Bug 1148978 - Remove plugin window update composition deferment. r=mattwoodrow
MozReview-Commit-ID: AaRSO8RgY81

--HG--
extra : rebase_source : 59d78fe24f240f2dc14c3897af6bb9a58720596f
2016-03-24 09:40:26 -05:00
Jim Mathies
4752ace097 Bug 1148978 - Trigger paints when moving plugin windows around on the browser main thread. r=mattwoodrow
MozReview-Commit-ID: B75An9a5VTd

--HG--
extra : rebase_source : 140148e40901d5591e663a4f845b0037e66b1757
2016-03-24 09:32:02 -05:00
Morris Tseng
b39ac07a39 Bug 1254400 - Make access to d3d9 device manager thread-safe. r=dvander
--HG--
extra : commitid : FySQpssYCaD
2016-03-29 09:26:29 +08:00
Morris Tseng
97773ba583 Bug 1254400 - Handle device reset for d3d9. r=dvander
--HG--
extra : commitid : 8yHPSR3Z73s
2016-03-29 09:26:29 +08:00
Markus Stange
0ab404928f Bug 1254275 - Inspect the event queue to find out whether momentum events are following. r=kats
MozReview-Commit-ID: 6k3SaJ6X7Mr

--HG--
extra : histedit_source : 1b6842a2cd855dc04b1375c2c0f174005b1e0c75
2016-03-28 14:56:28 -04:00
Arata Furukawa
28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
David Anderson
f814877913 Fix build bustage for bug 1256517 r=broken tree 2016-03-26 23:53:29 -07:00
David Anderson
82cec35be7 Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
--HG--
extra : rebase_source : a7a9bc431d528de6561a9e55a0ebbb675ce494c4
2016-03-25 01:38:55 -07:00
David Anderson
1d196f7f91 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical)
--HG--
extra : rebase_source : 02718e49b49379ced97fbfed3453f4efdd04564b
2016-03-25 01:36:17 -07:00
David Anderson
79f363a8d1 Move compositable field out of individual compositable ops. (bug 1256517 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 59f4da4b17e3b065731f89438a7c8a5af6c34e12
2016-03-25 01:35:16 -07:00
David Anderson
1cd15247fd Track whether or not remote layers have acknowledged compositor changes. (bug 1256517 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 567d1cd225428f383d8eef4d8b85d5b598eb36c2
2016-03-25 01:35:07 -07:00
Ryan VanderMeulen
44b1cf2f67 Backed out 4 changesets (bug 1254134) for causing bug 1259645.
Backed out changeset bc443e4eaeca (bug 1254134)
Backed out changeset 49b1c3749ae6 (bug 1254134)
Backed out changeset 24789e0f5331 (bug 1254134)
Backed out changeset 0c191e03195d (bug 1254134)

CLOSED TREE
2016-03-24 23:49:00 -04:00
Kartikaya Gupta
0c92703124 Bug 1259529 - Ensure that the APZ minimap for subframes remains scaled to the visible portion of the composition bounds. r=BenWa
MozReview-Commit-ID: Faxtlk6cIHx
2016-03-24 16:06:45 -04:00
Kartikaya Gupta
8314c3f23b Bug 1259529 - Clean up the APZ minimap rendering code a bit. No functional changes. r=BenWa
MozReview-Commit-ID: avf1rlxSpj
2016-03-24 16:06:08 -04:00
Ryan VanderMeulen
91ad83db87 Backed out changeset c3c85d59ec72 (bug 1244883) for causing widespread Windows debug e10s crashes/asserts.
--HG--
extra : rebase_source : f47683dc935e327eb1b82609edf3b6642676d12b
2016-03-24 14:54:32 -04:00
Sotaro Ikeda
ccef41ec11 Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel 2016-03-23 21:41:43 -07:00
Kartikaya Gupta
90029b5133 Bug 1254134 - Follow-up to take care of clang Winconsistent-missing-override warning. r=me 2016-03-23 21:12:05 -04:00
Kartikaya Gupta
233e4bca52 Bug 1254134 - Remove unused mask flag. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
26c14e876a Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
b2333e8bb4 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Wes Kocher
b2731dca9e Backed out 3 changesets (bug 1254134) for build failures in LayerTreeInvalidation.cpp, entirely unrelated to the current CLOSED TREE
Backed out changeset 5a0d2c853e13 (bug 1254134)
Backed out changeset f650dd293a4b (bug 1254134)
Backed out changeset 3b6b646ea0e2 (bug 1254134)

MozReview-Commit-ID: 2iQvX8NsARG
2016-03-23 15:55:20 -07:00
Kartikaya Gupta
8fbae911a0 Bug 1254134 - Remove unused mask flag. r=mattwoodrow
MozReview-Commit-ID: BmUyzuxDg0M

--HG--
extra : rebase_source : ccdba6e1f761042c649fc05be16dca7f13e8859f
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
004e0c734e Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow
MozReview-Commit-ID: DBF3H3I4rbS

--HG--
extra : rebase_source : 9fff4e9252027f354d6490d429085e11b0536212
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
e34c252409 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: F6BBwjjx9eP

--HG--
extra : rebase_source : 46373d299558dac759f1840761565e50bfdb071f
2016-03-23 11:05:41 -04:00
Sebastian Hengst
ce91a84beb Backed out changeset 46866237f27b (bug 1256517) for bustage. r=bustage on a CLOSED TREE 2016-03-23 18:57:48 +01:00
Sebastian Hengst
da9ecd031f Backed out changeset 8e5cb6d1d1a0 (bug 1256517) 2016-03-23 18:57:40 +01:00
Sebastian Hengst
fa9288dc66 Backed out changeset 9d33171eb4e9 (bug 1256517) 2016-03-23 18:57:31 +01:00
Sebastian Hengst
cb73369e3b Backed out changeset 27a8a01abf66 (bug 1256517) 2016-03-23 18:57:22 +01:00
David Anderson
db2e8ee11d Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical) 2016-03-23 10:32:34 -07:00
David Anderson
08db4be559 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical) 2016-03-23 10:32:21 -07:00
David Anderson
84a4a6737d Move compositable field out of individual compositable ops. (bug 1256517 part 2, r=mattwoodrow) 2016-03-23 10:30:47 -07:00
David Anderson
bbce7ea366 Track whether or not remote layers have acknowledged compositor changes. (bug 1256517 part 1, r=mattwoodrow) 2016-03-23 10:30:36 -07:00
Edwin Flores
07e7c983a1 Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical 2016-03-23 15:39:57 +00:00
Nicolas Silva
2dde2bc93f Bug 1245813 - Fix a trivial inverted null check in TextureHostOGL.cpp. r=me 2016-03-23 15:31:21 +01:00
Paul Adenot
aa767abfbb Bug 1245813 - Add a missing parenthesis on NS_SUCCEEDED, on a CLOSED TREE.
--HG--
extra : commitid : 4PlSXzo1ZVM
2016-03-23 12:48:41 +01:00
Nicolas Silva
9294c61389 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Lee Salzman
ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Masayuki Nakano
8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Jim Mathies
3089b942e0 Bug 1258440 - Don't attempt to hide plugin windows when switching trees if the previous remote layer tree didn't contain plugin windows. Fixes a tpaint regression. r=mconley
MozReview-Commit-ID: 7UDO4RxBRVF

--HG--
extra : rebase_source : ce3835c935a10a0b265e6f4b3930aaf1adb9aed5
2016-03-22 17:30:14 -05:00
Jim Mathies
8782966286 Bug 1241060 - Skip non-2d sibling layers when calculating plugin window clipping under e10s. r=mstange
MozReview-Commit-ID: 4R5h3DeIU0S

--HG--
extra : rebase_source : 9c3fe839afb77e200aaa8736646109675bdb7f3b
2016-03-21 09:52:21 -05:00
Jeff Muizelaar
aacbe16708 Bug 1242668 - Hold more references. r=sotaro
--HG--
extra : rebase_source : bc808856afacc93eb472f6a18ca2b791c8bfe7f0
2016-02-25 17:26:10 -05:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson
d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Markus Stange
04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Carsten "Tomcat" Book
a946199796 Backed out changeset 38aa13f30b92 (bug 1245813) for bc7 crashes on a CLOSED TREE 2016-03-22 17:11:21 +01:00
Nicolas Silva
2b867d9c85 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Matt Woodrow
b95fd6e721 Bug 1223736 - Part 3: Remove the distinction between 2d and 3d masks since it only adds complexity. r=Bas 2016-03-22 09:10:37 +13:00
Matt Woodrow
1f94409ed4 Bug 1223736 - Part 2: Draw masks in the correct coordinate space when doing 3d transforms in BasicCompositor. r=lsalzman 2016-03-22 09:09:07 +13:00
Matt Woodrow
4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Nicolas Silva
644321f6b6 Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-21 15:18:20 +01:00
Nicolas Silva
bd7973ab2d Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
David Anderson
5827fd8527 Make access to gfxWindowsPlatform D3D11 devices thread-safe. (bug 1258174, r=bas) 2016-03-21 00:14:05 -07:00
Matt Woodrow
41cff5119c Bug 1257013 - Part 2: Use readback to synchronize d3d11 video. r=cpearce,Bas
--HG--
extra : rebase_source : 252d183ea0c15f4326c25b4f84ae1c9b43237759
2016-03-21 18:49:59 +13:00
Matt Woodrow
49c3c58a6c Bug 1257013 - Part 1: Use readback to synchronize d3d9 video. r=cpearce,Bas
--HG--
extra : rebase_source : 104b692bb1f732ec86113506ebac8961ac8fb5b8
2016-03-21 18:49:43 +13:00
Seth Fowler
56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler
d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher
d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Lee Salzman
7f2b998fc6 Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00
Matt Woodrow
5dde20a3f8 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow
793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Ryan VanderMeulen
e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Nicolas Silva
b6487df277 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-18 16:16:06 +01:00
Carsten "Tomcat" Book
df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Carsten "Tomcat" Book
b8b88ab9fb Backed out changeset 2b7b7ea014d8 (bug 1223736)
--HG--
extra : rebase_source : 39d8455a2a72359cedd605839233f9619aac241e
2016-03-18 09:58:21 +01:00
Matt Woodrow
0ae5f6fcf2 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow
66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Wes Kocher
733e78634f Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Wes Kocher
85732789fb Backed out changeset 7a74257343be (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: Em8nObLSj9r
2016-03-17 15:42:51 -07:00
Wes Kocher
4555ef21a3 Backed out changeset 1e6a9b36ed35 (bug 1256045) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: FrILd3iK5U0
2016-03-17 15:42:46 -07:00
Matt Woodrow
dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Matt Woodrow
8d2b64d662 Bug 1250718 - Improve layer logging for preserve-3d layers. r=thinker
--HG--
extra : rebase_source : 7405e30e0081bfa1b249ff6bd4f7bfd713110815
2016-03-18 09:18:10 +13:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Randall Barker
f54f690d1c Bug 1257264 - When apz.allow_immediate_handoff=false, APZ handoff should not occur when panning changes direction r=botond 2016-03-17 07:11:14 -07:00
Nicolas Silva
57668786d8 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-17 14:59:12 +01:00
Nicolas Silva
68485a1f8e Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-17 14:59:06 +01:00
Nicolas Silva
3d48952156 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Edwin Flores
1489b58a2c Bug 1253386 - Double buffer in CanvasClient2D - r=nical 2016-03-17 11:11:18 +00:00
Sotaro Ikeda
0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Sotaro Ikeda
47242038f0 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-03-16 18:30:41 -07:00
Kartikaya Gupta
f5fed1a234 Bug 1256341 - Guard against scenarios where GenerateSingleTap is called without an active touch block. r=botond
MozReview-Commit-ID: 8nnj9IlwIuL
2016-03-16 17:58:37 -04:00
Kartikaya Gupta
e500e5d2b9 Bug 1256341 - Add a gtest to catch scenarios where a tap timeout is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: 5kyb6VOxWU1
2016-03-16 17:58:37 -04:00
Kartikaya Gupta
4317d4d96b Bug 1256344 - If a long-press is interrupted by a non-touch block, don't dispatch the long-press event. r=botond
MozReview-Commit-ID: 7SqA1nIlJYz
2016-03-16 17:58:37 -04:00
Kartikaya Gupta
085bd0c97f Bug 1256344 - Add a gtest to catch scenarios where the long-press block is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: C7K7W9r15qu
2016-03-16 17:58:37 -04:00
Botond Ballo
7d02dd23e3 Bug 1247964 - Allow InputBlockState::SetScrolledApzc to accept new APZC when it is an ancestor of the current APZC r=kats 2016-03-16 09:22:43 -07:00
Jeff Muizelaar
c03e235186 Bug 1256498. Explicitly convert to float. r=bas 2016-03-15 12:16:19 -07:00
Matt Woodrow
60b2f060b1 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Sotaro Ikeda
7daa3d77fc Bug 1251523 - Remove TextureFlags::DEALLOCATE_CLIENT from AndroidSurfaceTextureData r=nical 2016-03-14 18:51:21 -07:00
David Anderson
f18e55de2f Regenerate SyncObjects on device resets. (bug 1255711, r=bas) 2016-03-14 12:55:47 -07:00