Lee Salzman
2ec04cc5ae
Bug 1185636 - Part 3 - Refactor ArcToBezier so that its implementation can be more easily reused. r=jmuizelaar
2015-07-27 12:12:22 -04:00
Lee Salzman
d488c3c258
Bug 1187210 - limit ArcToBezier sweeps while taking care of floating-point inaccuracy. r=eihrul
2015-07-25 02:45:02 -04:00
Kyle
facb381b27
Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
2015-07-07 14:56:23 -04:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Mason Chang
16986841e0
Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange
2015-06-25 12:04:21 -07:00
Mason Chang
edebc256bd
Backout bug 1162824 to backout bug 1155828. r=me
2015-05-18 08:29:40 -07:00
Jonathan Watt
12a5ff50e7
Bug 1165900 - Make MaybeSnapToDevicePixels return a boolean to indicate whether snapping occurred. r=Bas
2015-05-06 14:43:56 +01:00
Jonathan Watt
03f4bf8fe0
Bug 1165896 - Fix the argument naming of MaybeSnapToDevicePixels to match UserToDevicePixelSnapped. r=Bas
2015-05-06 14:40:26 +01:00
Mason Chang
6914a72291
Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange
2015-05-15 10:52:44 -07:00
Markus Stange
f41604fc9c
Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel
2015-02-23 16:20:35 -05:00
Masatoshi Kimura
90898b1eb4
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Jonathan Watt
be2cffe858
Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc
2014-11-03 10:01:58 +00:00
Jonathan Watt
4fbe87f391
Bug 1090494, part 4 - Add AppendRectToPath() and MakePathForRect() helpers to Moz2D's PathHelpers.h. r=mattwoodrow
2014-10-30 09:34:10 +00:00
Jonathan Watt
50ac5688ea
Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow
2014-10-30 09:34:10 +00:00
Jonathan Watt
5fbbae3e92
Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow
2014-10-30 09:34:09 +00:00
Jonathan Watt
8e2e17f67d
Bug 1085533, part 1 - Add MakePathForRoundedRect and MakePathForEllipse helpers to Moz2D. r=mattwoodrow
2014-10-24 08:26:28 +01:00
Jonathan Watt
d78bd936dd
Bug 1082530, part 5 - remove the variant of Moz2D's UserToDevicePixelSnapped that takes a Matrix argument instead of a DrawTarget argument. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
7bb13bf95b
Bug 1082530, part 2 - Fix up Moz2D's UserToDevicePixelSnapped to be more like gfxContext::UserToDevicePixelSnapped, and add a temporary variant to aid in porting. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
aa988a377a
Bug 1083215, part 1 - Add a Moz2D helper for snapping lines to device pixels. r=mattwoodrow
2014-10-16 10:51:14 +01:00
Botond Ballo
29e678a8e8
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
2014-08-19 13:08:16 -04:00
Jeff Muizelaar
47928bbb37
Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
...
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Matt Woodrow
827f3363f9
Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc
2014-04-01 12:02:10 +08:00
Jonathan Watt
6a76b35449
Bug 944704, part 1 - Extend Moz2D's ArcToBezier helper so that it can draw ellipse arcs in addition to circle arcs. r=Bas
2013-12-13 12:14:36 +00:00
Jonathan Watt
269fe91954
Bug 931996 - Add an AppendEllipseToPath helper to Moz2D. r=Bas
2013-11-01 13:30:00 +00:00
Jonathan Watt
bc48720b50
Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas
2013-11-01 13:29:44 +00:00
Ed Morley
4624031be4
Backed out changeset d9aa2d2a9939 (bug 931915) for failures linking on Windows on a CLOSED TREE
2013-11-01 14:35:22 +00:00
Ed Morley
22a7baa10a
Backed out changeset 0fdae4f78c1a (bug 931996)
2013-11-01 14:34:48 +00:00
Jonathan Watt
a3a9007d80
Bug 931996 - Add an AppendEllipseToPath helper to Moz2D. r=Bas
2013-11-01 13:30:00 +00:00
Jonathan Watt
b14ed3a886
Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas
2013-11-01 13:29:44 +00:00
Andrew Quartey
a7d8d6fc00
Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas
2012-09-28 13:21:40 -04:00
Sergey Glushchenko
21c837b439
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Woodrow
be1af02899
Bug 698318 - Share ArcToBezier code. r=jrmuizel
2011-11-03 08:55:03 +13:00