Commit Graph

14810 Commits

Author SHA1 Message Date
John Daggett
e61be5512b Bug 1185812 - rejigger the ordering of fonts within a family to avoid obscure faces. r=heycam 2015-09-02 12:24:30 +09:00
John Daggett
9b2d5f9c3b Bug 1100949 - wrap font info reads with structured exception handler. r=bas 2015-09-02 10:58:23 +09:00
Jeremy Chen
90d2948bdc Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc 2015-08-31 20:35:00 -04:00
Jeremy Chen
9666d6e981 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
40ade91f1f Bug 1198574 - Remove unnecessary argument for PersistentBufferProvider. r=bas 2015-08-26 18:58:18 +08:00
Kearwood (Kip) Gilbert
d8770d0d2d Bug 1157984 - Part 4: Remove gfxRect::TransformBounds,r=vlad 2015-08-06 17:28:38 -07:00
Kearwood (Kip) Gilbert
b892727b02 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.
2015-08-06 17:26:09 -07:00
Kearwood (Kip) Gilbert
1f166ee838 Bug 1157984 - Part 2: Implement double precision clipping functions in Matrix4x4,r=vlad
- Implement Matrix4x4::TransformAndClipBounds
- Update methods in Matrix4x4 with templates, allowing for both single
  and double precision.
2015-08-06 17:26:03 -07:00
"Kearwood \"Kip\" Gilbert"
6bae174df6 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.
2015-06-11 13:43:40 -07:00
Matt Woodrow
5836f16477 Bug 1199371 - Fix name collision compile error. r=bustage 2015-09-01 16:05:00 -04:00
Matt Woodrow
587e17db1c Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical 2015-09-01 15:35:55 -04:00
Matt Woodrow
d3ec907229 Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel 2015-09-01 15:33:40 -04:00
Ryan VanderMeulen
b6c67c877a Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)

CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva
ba97164715 Bug 1083101 - Missing MPL header in IterableArena.h. DONTBUILD 2015-09-01 15:33:13 +02:00
Nicolas Silva
128a6361f2 Bug 1083101 - Yet another static analysis fix in a CLOSED TREE. 2015-09-01 14:34:37 +02:00
Nicolas Silva
69d2293fe1 Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-01 13:50:47 +02:00
Nicolas Silva
090bf73cca Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-01 13:50:43 +02:00
Nicolas Silva
8bd4d797d3 Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-01 13:50:40 +02:00
Nicolas Silva
d5bdbaae47 Bug 1083101 - Part 1: Allow multiple read maps on DataSourceSurfaces. r=jrmuizel 2015-06-10 19:56:06 +02:00
Nicolas Silva
affa1067e6 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-01 13:50:33 +02:00
Nicolas Silva
c8a8dc191f Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
8f389bd19c Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-01 13:50:24 +02:00
Nicolas Silva
29accd23cb Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-01 13:50:19 +02:00
Nicolas Silva
ecc45dcb6c Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-01 13:50:15 +02:00
Tom Klein
d2e09bf454 Bug 1181317 - Switch drawing order of filter feBlend inputs. r=mstange 2015-08-28 09:16:00 -04:00
Masayuki Nakano
841b1687eb Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote
69d088e45f 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.
2015-08-27 20:44:53 -07:00
Markus Stange
45cfabbe55 Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats 2015-08-28 16:50:00 -04:00
Markus Stange
53875dcd2a Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats 2015-08-12 00:11:54 -04:00
Markus Stange
ab192c8660 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats 2015-08-11 23:35:16 -04:00
Markus Stange
3e3f8580f9 Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip 2015-08-04 16:11:37 -04:00
Masayuki Nakano
6ee96dc7a5 Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano
b81a488a6b Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
4c9e1bc9c7 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
1fe1d7a51e Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
139fd7c4bd Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
fbeb8a34b6 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
56f12a5cf3 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Botond Ballo
6a48f77558 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats 2015-08-02 14:45:30 -04:00
Kevin Wern
edcb23e10f 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.
2015-08-28 12:00:29 -04:00
Frédéric Wang
3551bf56da Bug 1170782 - Do not rely on the presence of a MATH table to use typo metrics. r=karlt 2015-08-27 01:57:00 -04:00
Jeff Muizelaar
40ca0edf55 Bug 1197296. Check for errors more during bug testing. r=Bas 2015-08-27 22:38:39 -04:00
Lee Salzman
fc007bc92f Bug 1198996 - Ensure layer local opacity is clamped to 0..1 range. r=Bas 2015-08-26 18:15:47 -04:00
Lee Salzman
c224ffd8e8 Bug 1199417- Scale skia paths up before hit testing to workaround coordinate resolution limits. r=mattwoodrow 2015-08-27 15:44:26 -04:00
Botond Ballo
2ac2bdb49d Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats 2015-07-27 15:34:00 -04:00
Botond Ballo
826797ece4 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.
2015-07-22 17:03:59 -04:00
Botond Ballo
59c1b8cfcf 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'.
2015-07-08 19:18:28 -04:00
Botond Ballo
dac74f027b Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats 2015-06-29 19:44:12 -04:00