Commit Graph

8414 Commits

Author SHA1 Message Date
Sotaro Ikeda
74c5b567f4 Bug 1309443 - Add more updating mNeedsFullUpdate r=nical 2016-10-12 22:19:32 -07:00
Nicolas Silva
349f20d644 Bug 1088300 - Don't attempt to paint a ClientLayerManager if IPC is down (take two). r=dvander 2016-10-12 14:23:32 +02:00
David Anderson
bb532b0876 Add telemetry for how phases of the painting pipeline contribute to large frame times. (bug 1309442, r=mattwoodrow) 2016-10-12 20:58:04 +13:00
Sotaro Ikeda
1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Carsten "Tomcat" Book
04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda
c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Jamie Nicol
ed24fe7708 Bug 1306371 - Use correct units when calculating displayport danger zone size. r=kats
This prevents the displayport accidentally being too large at high zoom
levels.

MozReview-Commit-ID: 66DVtOgS7N8

--HG--
extra : rebase_source : 70bd8098786bb9ad78a0f5b7efd83c796bb2e079
2016-10-04 18:48:24 +01:00
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Matt Woodrow
11cd1c4662 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
Kartikaya Gupta
4b6c3d849f Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: 7sn57CufPZ4
2016-10-07 21:43:55 -04:00
Kartikaya Gupta
9675b3abbd Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: EEWGPfUfB85
2016-10-07 21:43:54 -04:00
Sebastian Hengst
9b22c798f5 Backed out changeset 80dc73282950 (bug 1292034) 2016-10-08 00:40:56 +02:00
Sebastian Hengst
c9351ecb72 Backed out changeset 66bbe7f0d664 (bug 1292034) 2016-10-08 00:40:52 +02:00
Kartikaya Gupta
81be2e6b8d Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: EfBUx5UV6VG
2016-10-07 17:44:18 -04:00
Kartikaya Gupta
524bcd282f Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: 1N1h4VlMDdi
2016-10-07 17:44:18 -04:00
Kartikaya Gupta
75ed2487c5 Bug 1291381 - Add some indenting to mochitest.ini for readaibility. r=botond
MozReview-Commit-ID: GQO7giyU31e
2016-10-07 15:11:00 -04:00
Kartikaya Gupta
8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Kartikaya Gupta
102b429267 Bug 1291381 - Fix helper_long_tap.html and helper_tap_passive.html to work with the Windows long-press event sequence. r=botond
MozReview-Commit-ID: ENJjgJ9dhCd
2016-10-07 15:10:46 -04:00
Kartikaya Gupta
758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Matt Woodrow
a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow
40e5335ced Bug 1300682 - Part 4: Set OtherPid() for VideoBridge. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow
8f742937c9 Bug 1300682 - Part 3: Split KnowsCompositor into a standalone header. r=nical 2016-10-07 21:13:32 +13:00
Matt Woodrow
044f47fe89 Bug 1300682 - Part 2: Allow using the compositor device for IMFYCbCrImage. r=dvander 2016-10-07 21:13:32 +13:00
Matt Woodrow
52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
Sotaro Ikeda
f1fcdf0234 Bug 1285757 - Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource() r=nical 2016-10-06 21:13:56 -07:00
Ryan VanderMeulen
e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Kartikaya Gupta
9dabeb28a2 Bug 1308627 - Ensure that two-fingered pans scroll the page even if the span between the fingers doesn't change. r=botond
MozReview-Commit-ID: 5jeqVtoIAO6

--HG--
extra : rebase_source : f332c2a5d3e6d78c60460baf099116f02b8e04e2
2016-10-07 17:00:30 -04:00
Miko Mynttinen
1314efc774 Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
MozReview-Commit-ID: 75q8ja7G1ko

--HG--
extra : rebase_source : 99e2684351a6403d7a957b876337de20b16de139
2016-10-07 10:58:13 -07:00
Miko Mynttinen
7ecd75b61b Bug 1286412 - Implement polygon clipping and triangulation. r=kip
MozReview-Commit-ID: 8TWHBIFUV6Q

--HG--
extra : rebase_source : c1861d68cec56a5031489c439bbe965db57e979f
2016-10-03 16:35:52 -07:00
Miko Mynttinen
cc70393218 Bug 1286412 - Use surface->GetSize() instead of aRect dimensions. r=mattwoodrow
MozReview-Commit-ID: 2Fxcqh6TzjN

--HG--
extra : rebase_source : 693197d4902164c6314bd8e9ebb709f0ae6b9753
2016-10-03 16:34:16 -07:00
Carsten "Tomcat" Book
5ab962655e Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 55d1950f399abce29391fed0c9039d52dc68840c
2016-10-06 15:20:02 +02:00
Carsten "Tomcat" Book
7822855f50 Backed out changeset 3855dd4690ab (bug 1292923) for conflicts with m-c
--HG--
extra : rebase_source : 158207ae257965fbdffe51934d5c540188175859
2016-10-06 15:18:20 +02:00
Matt Woodrow
d8ccc61086 Backed out changeset d35d695f921d (bug 1292923) for troubles with windows refrests 2016-10-06 14:33:29 +02:00
Matt Woodrow
4d48d9abe0 Backed out changeset f5a4eadc760e (bug 1305326) 2016-10-06 14:32:57 +02:00
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
Kartikaya Gupta
ed4e5b403e Bug 1307758 - Enable test_group_pointerevents on OS X as well, since we support synthesizing native touches there. r=stone
MozReview-Commit-ID: Kg7CnBD1UIt
2016-10-06 07:49:11 -04:00
Carsten "Tomcat" Book
7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +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
d59abae49f Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-09-28 13:28:47 +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