Commit Graph

8377 Commits

Author SHA1 Message Date
Matt Woodrow
81cff1917b Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Carsten "Tomcat" Book
7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Matt Woodrow
2980c56cf9 Backout d35d695f921d for causing compile failures. 2016-10-06 19:13:30 +13:00
peter chang
65aeab6503 Bug 1305378 - Check texture is valid before creating a render target, r=mattwoodrow,mtseng
MozReview-Commit-ID: L4ruAMEDN9z

--HG--
extra : rebase_source : b2170a7cb0528ebfaf8a90e0cb2387ed70b28ddc
2016-09-30 17:35:35 +08:00
Matt Woodrow
584704be9c Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 78b458c0c4f6967e5bed9da58fc00d143645e437
2016-09-28 13:29:46 +13:00
Matt Woodrow
0dfc4f3bfa Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : 403e604c6496b95e6f8e2f9320e918d4cdafe0f8
2016-09-28 13:28:47 +13:00
James Willcox
846659a048 Bug 1306716 - Follow up to not pass references across threads (!) r=kats 2016-10-05 10:15:04 -05:00
Kartikaya Gupta
2478ce37cb Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
James Willcox
055120b321 Bug 1306716 - Don't retrieve (and ref) the TabParent on a non-main thread r=kats 2016-10-04 15:16:18 -05:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Kartikaya Gupta
5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
Kevin Wern
16d7a2302e Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond
MozReview-Commit-ID: LOw1k792T10

--HG--
extra : rebase_source : a81ac06686bc21ed69693a3a80551e0648a8299a
2016-09-22 12:31:26 -04:00
Matt Woodrow
6b75399b35 Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Matt Woodrow
a416002aa7 Bug 1297568 - Remove some invalid assertions that can happen when the GPU process crashes. r=dvander 2016-10-04 15:14:56 +13:00
Stone Shih
2df4b9dc8d Bug 1299195 - [Pointer Events] Filter double click event (input source=touch) to prevent dispatching extra mousedown and pointerdown events to content. r=kats
--HG--
rename : gfx/layers/apz/test/mochitest/test_bug1285070.html => gfx/layers/apz/test/mochitest/test_group_pointerevents.html
extra : rebase_source : cc47f2ead72bf332faac2b5a76b45036e5085937
2016-09-20 10:48:11 +08:00
George Wright
1ce63ce848 Bug 1297568 - Downgrade buffer creation failures if we're a reasonable size, and never assert r=dvander 2016-10-03 20:18:45 -04:00
George Wright
ff84a59b17 Bug 1297568 - Don't begin a layer transaction if our IPC channel is down r=mattwoodrow 2016-10-03 20:18:45 -04:00
Kartikaya Gupta
1ef4d7b941 Bug 1305201 - Follow-up to fix some debug logging. r=me and DONTBUILD because NPOTB
MozReview-Commit-ID: 9k2LzUrj6bP
2016-10-03 12:42:55 -04:00
Jim Chen
3587a0edd6 Bug 1306083 - 1. Use AndroidCompositorWidget to access GeckoLayerClient; r=kats
Add AndroidCompositorWidget to act as the intermediary between gfx code
and GeckoLayerClient, in place of AndroidBridge. AndroidCompositorWidget
currently inherits from InProcessCompositorWidget, but when Android
eventually supports OOP compositing, it will be made to inherit from
CompositorWidget directly.
2016-10-03 12:26:00 -04:00
James Willcox
327d256722 Bug 1306716 - Call TabParent::SendHandleTap from the right thread on Android r=kats 2016-10-03 10:58:41 -05:00
Matt Woodrow
50bff87cb2 Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander 2016-10-03 21:20:42 +13:00
Matt Woodrow
f0b6731a16 Bug 1305361 - Implement IPCOpen for ImageBridgeChild. r=nical 2016-10-03 21:20:27 +13:00
Matt Woodrow
a0aad01631 Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
Sotaro Ikeda
a1dfbc1a44 Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel 2016-10-02 23:37:53 -07:00
Carsten "Tomcat" Book
53c63f69db Merge mozilla-central to mozilla-inbound 2016-09-30 12:08:17 +02:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Sotaro Ikeda
f973293243 Bug 1306211 - Add sanity check to CompositorBridgeChild::SendAllPluginsCaptured() r=nical 2016-09-29 23:27:29 -07:00
Bas Schouten
5c83c0a8dc Bug 1303570 - Part 2: When using Cairo use gfxWindowsSurfaces when creating surfaces in ContentClientBasic. r=jrmuizel
MozReview-Commit-ID: Bf4vdtiXNf3

--HG--
extra : rebase_source : 15e400f2d8a9837314271bc80b30e62bd36d3160
2016-09-27 11:29:10 +02:00
Wes Kocher
70adae2ee7 Backed out changeset e1300d4c0a52 (bug 1292923) for windows reftest failures a=backout 2016-09-29 18:10:17 -07:00
Wes Kocher
1cb598b229 Backed out changeset d98c1bfa1caf (bug 1305326) for windows reftest failures a=backout 2016-09-29 18:10:08 -07:00
Botond Ballo
31b240d553 Bug 1288210 - In AlignFixedAndStickyLayers, propagate the unconsumed portion of the adjustment to descendant layers. r=mstange
MozReview-Commit-ID: DOOCRA0RHtr

--HG--
extra : rebase_source : 3849309057c8dd6807df0af567edaa8e34cde04a
2016-09-23 19:32:57 -04:00
Botond Ballo
0bc0bc2b88 Bug 1288210 - Don't use ForEachNode in AlignFixedAndStickyLayers. r=mstange
It would make the next change awkard.

This also temporarily removes the current, incomplete, handling of an
unconsumed translation, but this will be added back (and made complete)
in the next commit.

MozReview-Commit-ID: 2tPOjEMRKfj

--HG--
extra : rebase_source : 55f35596fa9ff29563ab8434d8f1fd427b2c917d
2016-09-23 19:32:09 -04:00
Botond Ballo
ec3f9a2275 Bug 1288210 - Update the comment above AlignFixedAndStickyLayers(). r=mstange
MozReview-Commit-ID: ri9bJZLHYB

--HG--
extra : rebase_source : f2d084a8110944212814344fd9174b6a6efdbbe3
2016-09-26 16:28:24 -04:00
Botond Ballo
a9d2b5cbba Bug 1288210 - Simplify AlignFixedAndStickyLayers by not considering the local transform. r=kats,mstange
There shouldn't be a local transform because we create container layers
for fixed layers, so any transform would be on a descendant layer instead.

MozReview-Commit-ID: Kmya9vHZx1n

--HG--
extra : rebase_source : 88f31ae44e7baeff546624ba0e058d33ba6dc72f
2016-09-28 13:33:38 -04:00
Botond Ballo
9bad29cf7d Bug 1288210 - Simplify AlignFixedAndStickyLayers by not considering the ancestor transform. r=kats,mstange
There shouldn't be an ancestor transform, because transforms create
containing blocks for fixed-position descendants.

MozReview-Commit-ID: IVp1djLgIV9

--HG--
extra : rebase_source : d3a07e2bb0a727de25817d0d9ca18bdf92d6c6bf
2016-09-23 19:52:15 -04:00
Botond Ballo
6e45cf5c96 Bug 1288210 - Fixed a bug in how the ancestor transform is computed in AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: 8TL7PNpYv6R

--HG--
extra : rebase_source : 9f86bef66ca93e729c6c5a6f0e75d590bce03366
2016-09-26 17:19:34 -04:00
Botond Ballo
16c6388fe9 Bug 1288210 - Improve the use of strongly typed units in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: 1EfGg0MNSBm

--HG--
extra : rebase_source : 50cdacad5c5e8b30bddf253584711a5668d23c8a
2016-09-21 17:33:29 -04:00
Alexandre Lissy
07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Matt Woodrow
d7d08ce68a Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 0cf4a5574ebc4727e4394c95532e3279713c8284
2016-09-28 13:29:46 +13:00
Matt Woodrow
ca2babed92 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : aa4926ee6de3263736b9a16f10fe9fdb7333cf5d
2016-09-28 13:28:47 +13:00
Kartikaya Gupta
cf44e08da9 Bug 1302736 - Fire click events with a clickCount of 2 when the user does a double-tap gesture with double taps not allowed. r=botond
MozReview-Commit-ID: 5qxHMoHXDXh
2016-09-29 10:05:25 -04:00
JerryShih
6781bead2d Bug 1160157 - remove the painting aborting for ClientPaintedLayer in device-remove/reset status. r=dvander
Since we already have the device-remove checking in ClientLayerManager, this checking is redundant.
2016-09-24 01:40:00 +02:00
JerryShih
215ea62c6a Bug 1160157 - skip content painting when the device is in device-reset/remove status. r=dvander 2016-09-24 01:40:00 +02:00
Matt Woodrow
55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Kartikaya Gupta
30133fa012 Bug 1298886 - Fire magnify gesture events in the parent process if APZ is enabled but APZ zooming is disabled. r=botond,dvander
MozReview-Commit-ID: 1yhJW7OhI0A
2016-09-24 09:46:02 -04:00
Kartikaya Gupta
cb429d93ab Bug 1298886 - Convert the PinchGestureInput span fields from float to ParentLayerCoord. r=botond
MozReview-Commit-ID: 1Odp9ml6reK
2016-09-24 09:46:01 -04:00
David Anderson
2735c8bee7 Support tab-switching in the GPU process. (bug 1298507, r=billm) 2016-09-23 18:12:45 -07:00
Kartikaya Gupta
a463115df1 Bug 1298254 - Cleanup patch to replace a class with NewRunnableMethod. r=dvander
MozReview-Commit-ID: KIP4VtrFX1V

--HG--
extra : rebase_source : c79324d95f8465d0ef8e9813c924ac9bf9839276
2016-09-23 17:14:01 -04:00
Kartikaya Gupta
a728fc2ac0 Bug 1298254 - Ensure that the flush-apz-repaints codepath also waits for pending SetTargetAPZCNotification messages on the controller thread before returning. r=dvander
MozReview-Commit-ID: 5bY3TeJB4KN

--HG--
extra : rebase_source : 053dbbe4ac9f6e36bdb3b113eac44c7df29ba5c9
2016-09-23 17:14:00 -04:00