Commit Graph

22172 Commits

Author SHA1 Message Date
Milan Sreckovic
fffc6307a8 Bug 1273148: Make name and default methods public, and remove gfxWindowsPlatform as gfxPref's friend. r=dvander
MozReview-Commit-ID: DNqGGDl1Fpy

--HG--
extra : rebase_source : 01ff42cc1a0335bba82b45eaf9018f1273f0e6d5
2016-05-16 10:22:20 -04:00
Kartikaya Gupta
f922a5a903 Bug 1264017 - Rename the meta-tests to have more meaningful names. r=botond
MozReview-Commit-ID: 9fGFYrWTUGz

--HG--
rename : gfx/layers/apz/test/mochitest/test_click.html => gfx/layers/apz/test/mochitest/test_group_mouseevents.html
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_group_touchevents.html
rename : gfx/layers/apz/test/mochitest/test_scroll_window.html => gfx/layers/apz/test/mochitest/test_group_wheelevents.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
9e6b45a056 Bug 1264017 - Refactor machinery to run tests serially in new windows into a helper function. r=botond
MozReview-Commit-ID: 1gBQh1tuinl
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
2c8903f129 Bug 1264017 - Add another mouse event synthesization sanity test. r=botond
MozReview-Commit-ID: 1zB5fo74RS9
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
8a0f553fd3 Bug 1264017 - Add synthesized mouse support to Android. r=rbarker
MozReview-Commit-ID: HT4U7WKTd5Z
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
57664be4cf Bug 1264017 - Add a basic sanity mouse click synthesization test. r=botond
MozReview-Commit-ID: Gv6QQrF2T7d

--HG--
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_click.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta
392f87445d Bug 1264017 - Add an APZ test API to synthesize a mouse click. r=botond
MozReview-Commit-ID: 1zeoPTGrrLh
2016-05-16 12:17:17 -04:00
Andi-Bogdan Postelnicu
70548f08ce Bug 1273075 - initialize |mPixelsPerFrame| and |mPixelsFilled|. r=jrmuizel
MozReview-Commit-ID: AzevXVRAZvM

--HG--
extra : rebase_source : 1d94ea2901db7aac43ec404deac923b4a587c096
2016-05-16 12:17:37 +03:00
Edwin Flores
7795b8f22c Bug 1270428 - Cancel wait for texture recycle when CanvasClient is shutting down - r=nical 2016-05-16 12:55:02 +01:00
Edwin Flores
662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00
Edwin Flores
b705cc93b6 Bug 1272277 - Increment content-side device counter after a device reset - r=nical 2016-05-16 12:55:02 +01:00
David Anderson
800882adb1 Move CompositorBridgeParent::IsInCompositorThread to CompositorThreadHolder. (bug 1273017 part 3, r=mattwoodrow) 2016-05-15 23:40:13 -07:00
David Anderson
03a3af51b6 Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow) 2016-05-15 23:39:30 -07:00
David Anderson
a6d9f5b888 Move CompositorThreadHolder into its own file. (bug 1273017 part 1, r=mattwoodrow) 2016-05-15 23:38:34 -07:00
Nicholas Nethercote
98af1a5331 Bug 1271164 - Add a missing null check in user font memory reporting. r=jfkthame.
--HG--
extra : rebase_source : 139652b681a50b3a38c0d3e99578db9ae32b8195
2016-05-09 11:57:44 +10:00
peter chang
6d981a9e36 Bug 1265625 - Call BindTexture to get correct transform for Android Surface Texture, r=jrmuizel
MozReview-Commit-ID: 1TW2hjyECAu

--HG--
extra : rebase_source : f251fc54fecfc342710d5f684e8dc90f9c3e8caf
2016-05-10 15:11:19 +08:00
peter chang
6ddf680a45 Bug 1265625 - Remove workaround for fennec, r=jrmuizel
MozReview-Commit-ID: F3IeDPeJwo7

--HG--
extra : rebase_source : 6a488b047e1d538674da3dc68f31c47f8e50eaf1
2016-05-10 15:10:49 +08:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
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