Commit Graph

22361 Commits

Author SHA1 Message Date
Nicholas Nethercote
4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830 Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.

--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
George Wright
75d2715f23 Bug 1278723 - Don't use ssse3_scale_data on targets that don't support SSSE3 r=jrmuizel 2016-06-07 20:52:45 -04:00
George Wright
20caba9bab Revert "Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical" on a CLOSED TREE
This reverts commit 5e29613bb6bc66d13bc63c4fab3a0130e801a058.
2016-06-07 17:37:59 -04:00
Jonathan Watt
27d64c914e Bug 1278424 - Remove some code from gfxQuartzSurface. r=eflores
--HG--
extra : rebase_source : b382286844a47ef6e5ffdf83435cd0c36b767f31
2016-05-30 16:26:30 +01:00
Jonathan Watt
4501364d03 Bug 1278427 - Remove some code from gfxWindowsSurface. r=eflores
--HG--
extra : rebase_source : ae83377b5c2056b03153c6ca0da091f6443189cf
2016-05-30 16:26:30 +01:00
Kartikaya Gupta
4131eaf041 Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.

MozReview-Commit-ID: GBlgj6whi5T

--HG--
extra : rebase_source : 01cbbe8b90208a8dc5ab81ab9bdbd39d3bc8ee7a
2016-06-07 11:07:55 -04:00
Kartikaya Gupta
07d2a157f8 Bug 1273137 - Add the mHandledByAPZ flag to MouseInput as well. r=rbarker
MozReview-Commit-ID: EGEzIjvHbml

--HG--
extra : rebase_source : 9c9be98807a81e90fffa075a209346988a8fc614
2016-06-07 11:07:55 -04:00
Kartikaya Gupta
08a944bb46 Bug 1273137 - Add a mochitest that creates a drag block on a dispatch-to-content-region. r=rbarker
MozReview-Commit-ID: LRKyOUGvFP9

--HG--
extra : rebase_source : 791e27bad946b6e021df521fea335b7ec4b445f1
2016-06-07 11:07:55 -04:00
George Wright
7eeaa7b6cd Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-07 14:33:23 -04:00
Dylan Roeh
b36a748d2f Bug 1271103 - Backs out the patch for Bug 1136364 and related patches. r=snorp 2016-06-07 09:25:26 -05:00
Nicolas Silva
16fd1cf5ef Bug 1278512 - Fix bezier flattening when the inflection points are on the extremity of the curve. r=Bas 2016-06-07 16:51:44 +02:00
JerryShih
73652c8a4f Bug 1133623 - check device-removed status when we have timeout. r=milan, r=bas 2016-06-06 20:10:00 +02:00
Phil Ringnalda
305ac3c2cf Back out c88f2cb8e4fa (bug 1256475) for Android failures in test_imagebitmap_extensions.html
CLOSED TREE
2016-06-06 22:26:25 -07:00
Sotaro Ikeda
d7880ceea1 Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-06 20:10:59 -07:00
Benoit Girard
2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Mason Chang
426f8dbfee Bug 1276931. Add VsyncSource::Shutdown which shuts down global display. r=jrmuizel 2016-06-06 10:07:29 -07:00
Botond Ballo
574fdad7e2 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : c875c84d8740bfeb6d0ebc8e7df35a173ee93c74
extra : intermediate-source : acd104ba0e8deb2c3e92b05e67f9520fcef551ab
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo
95cd52ff56 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : intermediate-source : f15df83c29a6e13263ca462b00ae561543b45ae1
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
23fcc090d1 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : intermediate-source : cd06b8e0f6dce55d662a96e9d3981d452047bc14
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo
e130e591c9 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : intermediate-source : e8361d5c43d2002d610f10fb638c368e43c3ea65
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Wes Kocher
086c164bf6 Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Thomas Zimmermann
4934adbfe6 Bug 1278202: Add missing method |GrallocTextureHostBasic::GetCompositor|, r=nical
MozReview-Commit-ID: 1WHSkS3qFLK
2016-06-06 19:52:17 +02:00
Benoit Girard
24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard
c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Mason Chang
39d49c1dc0 Bug 1277404. Set font gamma for windows fonts to 1.8 and force skia to use cleartype fonts on non-opaque surfaces. r=lsalzman 2016-06-06 10:00:33 -07:00
Jonathan Watt
c8d5762f34 Bug 1278239 - Remove gfxQuartzImageSurface. r=Bas 2016-05-27 19:43:34 +01:00
Jonathan Watt
fb6235e5e5 Bug 1278238 - Remove kDrawTarget. r=Bas 2016-05-27 19:43:34 +01:00
Botond Ballo
2e8d4b9af9 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : 22527c9c0222c923363681e46c09c201523e2c5e
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo
e9a73ef16a Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
c9bf1aead5 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo
d035901a55 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Nicholas Nethercote
ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Benoit Girard
e415083929 Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: Cig23OR7tWi

--HG--
extra : rebase_source : 908c5469bcf1211bcced8542835570836b8a7e8a
2016-06-03 14:54:56 -04:00
Mason Chang
8aa8c72839 Bug 1274726. Clamp scaled image before repeating during prescale and repeat on OS X. r=jrmuizel 2016-06-03 13:30:21 -07:00
Kartikaya Gupta
d70c25d580 Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values. r=rbarker
MozReview-Commit-ID: 4IjgCcufAL0

--HG--
extra : rebase_source : 15b74a5330f9055083f1553345b5686f95d7a9b3
2016-06-03 15:10:46 -04:00
Jeff Muizelaar
1c35e2ccda Bug 1276923. BasicCompositor: Properly transform the clip. r=mstange
We push the clip on the buffer while it has the original transform, and
then we overwrite the transform with something else. But the fast path
operates in device space and ignores the existing clip on the buffer, so
we need to know the original clip at the original transform.
2016-06-03 14:46:12 -04:00
Jonathan Watt
03036022ec Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Jonathan Watt
0b33916487 Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
Nathan Froyd
c230cc8e44 Bug 1277646 - remove unused field gfxAndroidPlatform::mScreenDepth; r=snorp
clang indicates that this field is unused, and grepping seems to confirm
that opinion.
2016-06-03 18:31:05 -04:00
Nathan Froyd
bee4b4445b Bug 1277649 - add override declarations for Android-specific codepaths; r=snorp
Adding these makes the compiler much happier.
2016-06-03 18:31:05 -04:00
Nathan Froyd
b61b54f642 Bug 1277647 - return the correct type from ANativeWindow_setBuffersGeometry; r=snorp
This function returns a boolean, so let's return that, rather than
relying on pointer-to-boolean coercion.
2016-06-03 18:31:05 -04:00
Milan Sreckovic
25d63511b6 Bug 1273946: Get more information on the cause of the device reset. Remove unused UpdateRenderModeIfDeviceReset method. r=dvander
MozReview-Commit-ID: 6NxKTBEKOvs

--HG--
extra : rebase_source : d70d7d8c9ae6a503fd4f4c8ed6e31135cbcefac1
2016-06-01 12:53:25 -04:00
Sebastian Hengst
d89a4dde4a Backed out changeset a09ad974b522 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst
806cf3797f Backed out changeset 8e6211a8cc26 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst
81c60dd743 Backed out changeset e2e57c225fd0 (bug 1276107) 2016-06-02 22:54:30 +02:00
Botond Ballo
d52b8378f1 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo
f7f7c84f33 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00