Commit Graph
25903 Commits
Author SHA1 Message Date
Morris Tseng d9ce73a0d3 Bug 1365185 - Clear extents cache after pref "gfx.font_rendering.opentype_svg.enabled" is changed. r=jfkthame
MozReview-Commit-ID: E1whRwmuMGu
2017-05-16 13:30:15 +08:00
Kartikaya Gupta a9946470aa Bug 1364987 - Remove the pref to allow APZ with webrender. r=rhunt
People seem to be turning on this pref in the wild and generating crash reports
which are wasting time and energy of people who have better things to do.

MozReview-Commit-ID: 5VfjKaDluYJ
2017-05-16 09:43:36 -04:00
Daosheng Mu 9ebfdf27df Bug 1364856 - When VRLayerChild receives __delete__, stop sending IPC messages; r=kip
MozReview-Commit-ID: 2vKdzipaga0
2017-05-15 18:55:42 +08:00
Wes Kocher 5a3d1ae43d Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij
2017-05-15 17:02:08 -07:00
Wes Kocher 672eaeacb7 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
Randall Barker ac850dd756 Bug 1364194 - Refresh static toolbar snapshot when page width changes r=botond,jchen
MozReview-Commit-ID: HaQo66j640g
2017-05-15 11:30:09 -07:00
James Willcox 454ed2df0c Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-15 09:37:52 -05:00
James Willcox a410996279 Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-15 09:37:50 -05:00
James Willcox 378089d572 Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen 2017-05-15 09:37:47 -05:00
James Willcox b33fba4899 Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.

MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-15 09:37:46 -05:00
James Willcox d860d36ae0 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-15 09:37:44 -05:00
James Willcox d13597bac0 Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-15 09:37:43 -05:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Andrew Osmond dee4f195bb Bug 1343482 - Label ScopedGfxFeatureReporter runnables. r=jrmuizel 2017-05-15 08:19:57 -04:00
Jan Beich abe52dfcf1 Bug 1364851 - Explicitly include SkRegion.h for --disable-skia-gpu. r=lsalzman
MozReview-Commit-ID: EEGNcLi538V
2017-05-15 10:14:38 +00:00
Nazım Can Altınova e03dfabf15 Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Ryan VanderMeulen 5e9e7dee01 Bug 1364433 - Add MOZ_CRASHREPORTER ifdefs to DeviceManagerDx.cpp to fix --disable-crashreporter bustage. r=dvander 2017-05-14 15:54:53 -04:00
Sebastian Hengst cbc8bca709 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Botond Ballo 9682a6cd07 Bug 1349750 - When APZ initiates an async drag, do not wait for a content response. r=kats
MozReview-Commit-ID: 1XgWobrnLBx
2017-05-12 18:25:38 -04:00
Botond Ballo 7dcbacdb6c Bug 1349750 - Put async initiation of scrollbar drags behind a pref. r=kats
This allows the feature to ride the trains later than async scrollbar
dragging itself, if desired.

MozReview-Commit-ID: 73ZlCqM5hMN
2017-05-10 17:57:54 -04:00
Botond Ballo 306ee56530 Bug 1349750 - Have APZ initiate async scrollbar dragging when possible. r=kats
MozReview-Commit-ID: 1snCEl6H9bN
2017-05-10 19:29:46 -04:00
Botond Ballo 8108b297ed Bug 1349750 - Store the thumb's start offset in ScrollThumbData. r=kats
Also add a comment to AsyncDragMetrics documenting that mScrollbarDragOffset
is relative to the thumb's start offset.

MozReview-Commit-ID: uipsOCzs2N
2017-05-10 19:24:26 -04:00
Botond Ballo f740ce1992 Bug 1349750 - Have AsyncDragMetrics use ScrollDirection instead of rolling its own direction enum. r=kats
MozReview-Commit-ID: FKK4OBx12oa
2017-05-10 15:22:04 -04:00
Botond Ballo 654c075f22 Bug 1349750 - Add a ConvertScrollbarPoint() helper to AsyncPanZoomController. r=kats
MozReview-Commit-ID: ESbWqhy1tKT
2017-05-10 19:25:27 -04:00
Botond Ballo 2c5989f2da Bug 1349750 - Add HitTestingTreeNode::IsScrollThumbNode(). r=kats
MozReview-Commit-ID: GMKg3akA9qp
2017-05-05 18:05:52 -04:00
Botond Ballo ee4ae93332 Bug 1349750 - Have AsyncPanZoomController expose an IsScrollInfoLayer() method. r=kats
MozReview-Commit-ID: 5TEIcv9svk
2017-05-05 18:02:05 -04:00
Botond Ballo 55f374ea48 Bug 1349750 - If APZ hit testing hits a scrollbar node, return the node for later use. r=kats
MozReview-Commit-ID: Lgz5N3nkPlb
2017-05-05 18:08:18 -04:00
Botond Ballo 61bfdf00ee Bug 1349750 - Move the scroll track extents from AsyncDragMetrics to ScrollThumbData. r=kats
To conserve space in LayerAttributes, we only store the extents along the
relevant axis.

MozReview-Commit-ID: GAL8Oa2NOde
2017-05-05 15:54:27 -04:00
Botond Ballo dae9a4232b Bug 1349750 - Add an 'is async-draggable' flag to ScrollThumbData. r=kats
This flag is set to false if there are any conditions that only the main
thread knows about that prevent the thumb from being async-dragged.

MozReview-Commit-ID: Gl7f7bY0QnA
2017-05-05 16:17:06 -04:00
Botond Ballo b39fa43ef8 Bug 1349750 - Move the scroll thumb length from AsyncDragMetrics to ScrollThumbData. r=kats
MozReview-Commit-ID: Atp7Kgn6adM
2017-05-03 20:37:14 -04:00
Botond Ballo e4bae78e25 Bug 1349750 - Store the entire ScrollThumbData in HitTestingTreeNode. r=kats
This is preparation for future changes that will add fields to ScrollThumbData
that will be accessed via HitTestingTreeNode.

To accomplish this, this patch also exposes the entire ScrollThumbData via
LayerMetricsWrapper and WebRenderScrollDataWrapper.

MozReview-Commit-ID: 1Ed8Z80Wk1V
2017-05-03 20:25:09 -04:00
Botond Ballo efbee8dd63 Bug 1349750 - Introduce a PlainOldDataSerializer utility class and use it for SimpleLayerAttributes. r=kats
MozReview-Commit-ID: 2tntLfnAINy
2017-05-03 20:21:11 -04:00
Botond Ballo e5d4ac84c3 Bug 1349750 - Remove the no-longer-used WebRenderScrollData[Wrapper]::GetScrollThumbLength(). r=kats
Also remove a vestigial declaration of the previously removed method
HitTestingTreeNode::GetScrollThumbLength().

MozReview-Commit-ID: 3BvFNeGwPXd
2017-05-03 20:23:42 -04:00
Botond Ballo 50e80233ca Bug 1349750 - Group scroll thumb-related information in Layer into a ScrollThumbData structure. r=kats
The patch also renames Layer::SetScrollbarData() to Layer::SetScrollThumbData()
for clarity.

MozReview-Commit-ID: DVwJ3DMl3Zs
2017-05-10 14:02:15 -04:00
Kevin Chen 7c04d5c985 Bug 1363677 - Skip Flush() and EndDraw() if the ID2D1DeviceContext is stale; r=dvander
MozReview-Commit-ID: 6KnryMZE8Qj
2017-05-10 16:22:08 +08:00
Kartikaya Gupta a6557c0ce9 Bug 1342488 - Allow enabling webrender with an environment variable. r=rhunt
This simplifies plumbing it through mozharness for automated testing, because
mozharness doesn't already have the ability to set prefs for all the different
kinds of test suites. It can set environment variables though.

MozReview-Commit-ID: BdsH09WTqO4
2017-05-13 07:47:40 -04:00
Makoto Kato 1277c8375a Bug 1360429 - Part 1. inline arm assember for YCBCR should be on arm only. r=sotaro
ycvcr_to_rgb565 uses inline assember for arm neon.  Since it is different for aarch64's assembler, we should define HAVE_YCBCR_TO_RGB565 on arm32 only.

MozReview-Commit-ID: 4c2n1luvVvC
2017-04-28 13:22:07 +09:00
Andrew McCreight 5514f8c456 Bug 1361825 - Clear mAnimationStorage in CompositorBridgeParent::StopAndClearResources(). r=pchang
MozReview-Commit-ID: XJdckUwXCx
2017-05-08 11:48:23 -07:00
Lee Salzman 78d0b04f70 Bug 1364007 - clip drawing of native Cocoa widgets in gfxQuartzNativeDrawing. r=mstange
MozReview-Commit-ID: 4XhP6Q4PTc4
2017-05-12 11:59:22 -04:00
Carsten "Tomcat" Book 3eed0a7e6c merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
vincentliu 0df38ae63e Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Cameron McCormack 560210f96f Bug 1361235 - Part 2: Re-enable some tests. r=emilio
MozReview-Commit-ID: 76FaOwHjIMB
2017-05-11 19:19:52 +08:00
Wes Kocher 0d739e6f51 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IPDj8kOq5ec
2017-05-11 17:43:27 -07:00
Wes Kocher cc93c3ff89 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Manish Goregaokar 2923110137 Bug 1340484 - Round RGB values when obtaining from HSL instead of flooring; r=dbaron
MozReview-Commit-ID: AFfczBFV00n
2017-05-08 16:43:05 -07:00
Ryan VanderMeulen 5d2035f8e0 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Carsten "Tomcat" Book 640d4d151b Backed out changeset 0ded74baeaf2 (bug 1340627) for blocking m-i to m-c merge 2017-05-11 12:52:25 +02:00
Carsten "Tomcat" Book addd2a8dbd Backed out changeset 1b2683a840f3 (bug 1340627) 2017-05-11 12:51:59 +02:00
Carsten "Tomcat" Book cbf3885ff2 Backed out changeset abffc78e1cf6 (bug 1340627) 2017-05-11 12:51:58 +02:00
Carsten "Tomcat" Book e8df81cd36 Backed out changeset 7134018d3724 (bug 1340627) 2017-05-11 12:51:56 +02:00