Commit Graph

22154 Commits

Author SHA1 Message Date
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
Dylan Roeh
609b4c21e0 Bug 1271103 - Remove possible race condition in GLController.java. r=snorp 2016-05-13 13:43:06 -05: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
Jean-Yves Avenard
6e2b718e6a Bug 1271491: P2. Allow initialization of WMFPlatformDecoderModule from any threads. r=mattwoodrow
This is a very rough and lame attempt at making some parts of gfx thread-safe, however some parts rely on Preferences::AddBoolCache which isn't thread-safe.
Must still be called once gfx has been initialized.

MozReview-Commit-ID: BSpr9cp6USR

--HG--
extra : rebase_source : 395ac23cafeb1509f89b72deda5fccdc7726c1bb
2016-05-12 19:24:43 +10:00
Markus Stange
68f8a0a260 Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel
The gradient on this website had, the float values of xdim and ydim were
about 7500, which is definitely representable by 16.16 fixed point values.
But the matrix had a large (> 32000) translation on it.

MozReview-Commit-ID: 1WVhZQLF99g

--HG--
extra : rebase_source : b60c5e37f7dcb94943dadfc4ac73a58e9e18f1d9
2016-05-12 17:45:38 -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
Lee Salzman
c0e46e46a6 Bug 726206 - check for failure in cairo _dwrite_draw_glyphs_to_gdi_surface_gdi. r=jrmuizel 2016-05-12 16:47:26 -04: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
David Anderson
8c3ca46ed3 Allow gfxConfig::IsEnabled on uninitialized features. (bug 1272169, r=jrmuizel) 2016-05-12 10:30:54 -07:00
Jeff Muizelaar
6c2297a047 Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-12 10:39:43 -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
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10: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
Karl Tomlinson
294a905269 bug 1271893 add a 1.5 pixel-scaling step r=acomminos
The only change in behaviour introduced here is that dpi values in the
range [144,168) will now use pixel scaling of 1.5 instead of 2.

MozReview-Commit-ID: JD6FcZGLYtI

--HG--
extra : rebase_source : ebddf46ba6e9b8a478fb2fffabc7cf1ca8ed8c81
2016-05-11 09:21:13 +12: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
JerryShih
cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
JerryShih
f54115ac72 Bug 1256572 - setup custom deallocator for SourceSurfaceRawData. r=bas 2016-05-10 20:44:00 +02:00
JerryShih
4e7ff09f94 Bug 1256572 - create DataSourceSurface with current data. r=bas 2016-05-10 20:42:00 +02:00
Gregor Wagner
a870069721 Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander 2016-05-11 17:09:43 -07:00
Gregor Wagner
bba6d952c7 Bug 1271747 - Fix AndroidBridge.h include in GLContextProviderEGL.cpp. r=snorp 2016-05-11 17:08:37 -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
Mason Chang
1ed5c6b7b4 Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan 2016-05-10 17:59:15 -07:00
David Anderson
d180b0cc2a Add an nsIGfxInfo for describing active crash guards. (bug 1270894 part 1, r=milan) 2016-05-10 11:49:16 -07:00
Randall Barker
c63841d754 Bug 1229462 - Use Android OverScroller class for fling animation r=botond 2016-05-11 08:37:47 -07:00
Jonathan Kew
dfac8a19b4 Bug 1271536 - Don't try to use GDI table access for bundled fonts when running with the DWrite backend. r=bas 2016-05-10 23:16:05 +01:00
Jonathan Kew
b4581e4e52 Bug 1270878 - Factory method that creates a BundledFontEnumerator needs to ensure it is AddRef'd before being returned to the caller. r=bas 2016-05-09 18:02:45 +01:00
Bob Owen
979a6fb7b7 Bug 1271348: Only use LOGPIXELSY for calculating internal printing surface size on Windows. r=jimm
MozReview-Commit-ID: 9KUVyI0Oy07

--HG--
extra : rebase_source : 1fcbeebff29e1a0cfd77ac5abf5914bb7031cd86
2016-05-10 15:17:56 +01:00