Граф коммитов

6411 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Chen 866bb24e7e Bug 1149923 - Let 2D mask effect can check whether to use IntermediateSurface or not in its own logic. r=roc 2015-08-28 03:47:00 -04:00
Vincent Liu 62a02d2e47 Bug 1198574 - Remove unnecessary argument for PersistentBufferProvider. r=bas 2015-08-26 18:58:18 +08:00
Kearwood (Kip) Gilbert cbc7ba3ddb Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.

--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
"Kearwood \"Kip\" Gilbert" 0f397fb78d Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
  and Rect to create double precision versions.

--HG--
extra : rebase_source : 91e16a7b970026346b6e90a23427fd0f70491765
2015-06-11 13:43:40 -07:00
Matt Woodrow f32f91e57a Bug 1199371 - Fix name collision compile error. r=bustage 2015-09-01 16:05:00 -04:00
Matt Woodrow c5f3ed703d Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical
--HG--
extra : rebase_source : 410c00d88d0601f5f2b1e02cf8b09f60a934e07a
2015-09-01 15:35:55 -04:00
Matt Woodrow 16d971851f Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel
--HG--
extra : rebase_source : d3646e8481e0767d707f2e7e1bfdad84fd58550f
2015-09-01 15:33:40 -04:00
Masayuki Nakano cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Markus Stange 2705f93fbd Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
--HG--
extra : commitid : CUZqiDbltTx
extra : rebase_source : 90fb8cf0023177b7bb98ff93c5667c8dbc153f29
2015-08-28 16:50:00 -04:00
Markus Stange 49c4d7a190 Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
--HG--
extra : commitid : 5utp02GzYAW
extra : rebase_source : 4415c7ac8fd3a8dbb718593bee63e89e8ba1625c
2015-08-12 00:11:54 -04:00
Markus Stange bce923c470 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats
--HG--
extra : commitid : 4scVCanEMYd
extra : rebase_source : a9ff41cb1a7f681fae4b352b8b5337bf0ce41ff2
2015-08-11 23:35:16 -04:00
Markus Stange 0eb1d7c10b Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip
--HG--
extra : commitid : 8kd91z4FD2n
extra : rebase_source : bcdf5a75c527f871d2077ca1ef2e1958eb3db4d9
2015-08-04 16:11:37 -04:00
Masayuki Nakano 83f18479ed Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano a516285180 Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano b9439c75d9 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano 28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Botond Ballo 069f25bc15 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats
--HG--
extra : rebase_source : 7c5a0d788245dff495ea3942cf03e8b5357cca39
2015-08-02 14:45:30 -04:00
Kevin Wern 368ce48f75 Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.

--HG--
extra : rebase_source : bbc226f4135c2cf229c4e00dfb017a6c9c078391
extra : source : c2732f62a3b9a5246801aa000ce572ee07f53481
2015-08-28 12:00:29 -04:00
Lee Salzman a352eab01c Bug 1198996 - Ensure layer local opacity is clamped to 0..1 range. r=Bas 2015-08-26 18:15:47 -04:00
Botond Ballo 2329d6833e Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats
--HG--
extra : rebase_source : 6d224553f62c4481d35ece1eee9afe873883f455
extra : source : b661da15c2f8aad90c1afaf7cf7777351e1bd972
2015-07-27 15:34:00 -04:00
Botond Ballo 96e062add7 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.

--HG--
extra : rebase_source : f76c2a43bdcfa97a86fb5d63ff9708e6215c2678
extra : source : f9a184b70afcf294f7eb84897448fb3db03f681a
2015-07-22 17:03:59 -04:00
Botond Ballo 2f7c3135ad Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.

--HG--
extra : rebase_source : e1d0547e5d3125e9db44bb47ddfff3b4f8d50e99
extra : source : 73fb13743a74a5a920d099fda70d9b1a1fa3a6ed
2015-07-08 19:18:28 -04:00
Botond Ballo f2e8a59818 Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats
--HG--
extra : rebase_source : ee705290c57e3122bac17af9ee70aa6c4e76c285
extra : source : d5f9fb06ee8c344f35fcf9fd86b5f654862ec1e8
2015-06-29 19:44:12 -04:00
Botond Ballo 5d9fcfff8c Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats
--HG--
extra : rebase_source : bd8b7b60bcae3298a523daac9b286fed9b4edefd
extra : source : d94c86ecbc53e8d45729691ac6576fdfbe407cc4
2015-06-26 16:46:22 -04:00
Kearwood (Kip) Gilbert 8c7417603d Bug 1196412 - Correctly scale canvas layers that have a transform applied to fill the screen, r=vlad
--HG--
extra : rebase_source : dccb87360d4ff136c0fa50208c39468f1d413b67
2015-08-24 15:58:50 -07:00
Benoit Girard 49d82fd22e Backout d4985245dfd55ba44e0417c42c956e03d094b0df (bug 1136766) for talos regression
--HG--
extra : commitid : FLbaQb0zd8o
extra : rebase_source : 2d1a6691cadd24d46da7b65971bcd0818b1f75f6
2015-08-27 18:29:37 -04:00
JerryShih cf9dcf0e40 Bug 1195209 - Modify the matrix calculation for landscape mode. r=mattwoodrow 2015-08-27 10:56:00 -04:00
Robert O'Callahan 3f68002324 Bug 1182017. Call Send__delete__ immediately rather than through an event. r=nical
Kyle assures me it's safe to call Send__delete__ with references to 'this' on
the stack.

--HG--
extra : commitid : I7Wj1a8Hmb9
extra : rebase_source : 8cf8851a7f4400fb1120179423ec4cf710d75765
2015-08-27 15:40:35 +12:00
Phil Ringnalda 02603b885d Back out 7 changesets (bug 1177018) for debug b2g assertion failures in test_bug982141.html
CLOSED TREE

Backed out changeset 40fdd735520d (bug 1177018)
Backed out changeset a82c39bb97ab (bug 1177018)
Backed out changeset dbb14a5cd2cd (bug 1177018)
Backed out changeset 112ec6bdaf4e (bug 1177018)
Backed out changeset 486f9a11fcbd (bug 1177018)
Backed out changeset 8e54cc5e6901 (bug 1177018)
Backed out changeset c2a30b4f3a7c (bug 1177018)
2015-08-26 21:38:05 -07:00
Andrew Comminos da02cdcfee Bug 788873 - Only rebind a GLXPixmap if the texture has changed. r=karlt 2015-08-26 23:46:33 -04:00
Botond Ballo eb96b04ea9 Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats
--HG--
extra : rebase_source : c5df518db4ace446ed14a5478cc7be127e068512
extra : source : 55a1326f6f1ba89d7b307f4c8406284e1c3c888a
2015-07-27 15:34:00 -04:00
Botond Ballo 8abc5d1813 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.

--HG--
extra : rebase_source : 1e32b0c851bb138d1ed247fea72312c09380266c
extra : source : fb4d8f6db088a2da12d01403280b959d176fee0a
2015-07-22 17:03:59 -04:00
Botond Ballo f914a340bd Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.

--HG--
extra : rebase_source : 0abbf10b3e3b3a67bbb810d4554a7b55bfc6fd66
extra : source : d7bac1264671c0a10da034d6d9b08f01235ebdb3
2015-07-08 19:18:28 -04:00
Botond Ballo 3d96234fff Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats
--HG--
extra : rebase_source : 0512511d4f179e75db26794a445db132935c15e3
extra : source : d5f9fb06ee8c344f35fcf9fd86b5f654862ec1e8
2015-06-29 19:44:12 -04:00
Botond Ballo bbbb23bc55 Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats
--HG--
extra : rebase_source : dd9ad6631b729a858e5e3a7f19ff49c66818de48
extra : source : d94c86ecbc53e8d45729691ac6576fdfbe407cc4
2015-06-26 16:46:22 -04:00
Kartikaya Gupta 959a3cf33e Bug 1198900 - Don't call OnTouchCancel when the current block is not a touch block. r=botond 2015-08-26 15:08:00 -04:00
Markus Stange 4d793f82dd Bug 1193062 - Add mHandledByAPZ on PanGestureInput and ScrollWheelInput, and sync the information to the WidgetWheelEvent. r=kats
--HG--
extra : commitid : 2qlm0ULac3
extra : rebase_source : 52fc5d3930a9b3a941f7e3665ef6b371e8a4b1b5
extra : histedit_source : d99996a3729a1bc78b9f4631f950476321f93c1f
2015-08-11 18:04:55 -04:00
Markus Stange a4753aced8 Bug 1193062 - Process pan gesture deltas in begin+end events. r=kats
We don't want to split native NSEvents into two PanGestureInput events.

--HG--
extra : commitid : 7UnFAreSEcF
extra : rebase_source : 70121ddcf52f00547e70fcbea16975224835f890
extra : histedit_source : 0b8840795e6ab1cc808d75aa042c030b70f09f6f
2015-08-11 15:57:47 -04:00
Markus Stange 69e1f80c4a Bug 1193062 - Use ScrollSource::Wheel for pan gesture events. r=kats
--HG--
extra : commitid : KGQggnhZDU8
extra : rebase_source : 4119265f00570931e4a9d565c31b68244ab8d26e
extra : histedit_source : 14b9539a4630c5a404f658272bd80936dbbb34c8
2015-08-10 18:27:01 -04:00
Markus Stange a83ae1f63a Bug 1193062 - Remove mPanGestureState. r=kats
Now that PanGestureInput events are only processed during a PanGestureBlock, we can get rid of the mPanGestureState workaround.

--HG--
extra : commitid : 4KYXEbxJ5zZ
extra : rebase_source : 9ee0b85d3bec2554871f621270998b2e2d86a3ce
extra : histedit_source : e7c56cca500680c95744110ccaeefa635f7f1613
2015-08-07 15:20:31 -04:00
Markus Stange 7f5ea187ae Bug 1193062 - Don't use PanGestureInput events for instant wheel scrolling. r=kats
This will make bug 1156606 unnecessary.

--HG--
extra : commitid : K69ATp0TzlZ
extra : rebase_source : 9fd2b710623f6f54fe707a5ab8fb3c4b923348f3
extra : histedit_source : f86517d5d01ef4a708dcfa5529bed165d9016b10
2015-08-26 14:27:32 -04:00
Markus Stange 0f591d06f6 Bug 1193062 - Make AllowScrollHandoff work for both ScrollWheelInput and PanGestureInput blocks. r=kats
--HG--
extra : commitid : DwBaXlllNDK
extra : rebase_source : f5f76749edd625b925cacda5627c40c7633c4609
extra : histedit_source : 6ba23a9269071eec6c08baab31a36532c9e143d6
2015-08-11 15:29:44 -04:00
Markus Stange 395b5b7beb Bug 1193062 - Add PanGestureBlockState. r=kats
--HG--
extra : commitid : BVMuP4An1li
extra : rebase_source : fb55de2fbe3f7abcbd068c46b047046150cc5c8b
extra : histedit_source : 8a287e3ff2a0099e9ab8794cffb93dbfe0ef89d9
2015-08-26 11:42:12 -04:00
Markus Stange 6d1e1e95c1 Bug 1193062 - Make OverscrollHandoffChain::FindFirstScrollable and AsyncPanZoomController::CanScroll able to deal with PanGestureInput events. r=kats
--HG--
extra : commitid : CW9kPLdmobP
extra : rebase_source : f26d419f8b263ffbc55d013e822835ccd357a587
extra : histedit_source : d031bfa29c918232db337e4e739b48e7fd653d31
2015-08-26 11:14:33 -04:00