Commit Graph

22 Commits

Author SHA1 Message Date
Tom Klein
257c22bb6b Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas 2015-07-06 22:46:00 +02: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
Nathan Froyd
3c715f85db Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel 2015-04-30 15:20:30 -04:00
Bas Schouten
f3ff0976ff Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel 2015-01-08 00:10:48 +00:00
Nicolas Silva
e8498a1bd9 Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas 2014-09-23 11:35:39 -04:00
Jonathan Watt
12ba8e81c5 Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange 2014-06-13 17:09:23 +01:00
Benoit Jacob
61c6bc7c4e Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Rik Cabanier
ec2a7f1ab2 Bug 932500 - PathD2D::TransformedCopyToBuilder ignores even odd fill. r=Bas 2013-11-12 08:47:24 -05:00
Bas Schouten
acb8023314 Bug 935297 - Part 2: Implement new API to allow streaming paths to arbitrary sinks on Direct2D. r=mattwoodrow 2013-11-07 22:10:53 +13:00
Matt Woodrow
063bf37202 Bug 922942 - Avoid crashes with PointInFill. r=Bas 2013-11-04 14:47:18 +13:00
Bas Schouten
c47a0fd6a5 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Ehsan Akhgari
b53c55af92 Backed out 2 changesets (bug 878032) because of Windows build bustage
Backed out changeset 3cb61a7d5746 (bug 878032)
Backed out changeset 627c03f469d8 (bug 878032)

Landed on a CLOSED TREE
2013-06-19 17:35:21 -04:00
Bas Schouten
c1e8710df0 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Tobias Schneider
efc2c6c82a Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Joe Drew
3f0afe00d0 Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -04:00
Joe Drew
0a4da78c18 Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
123b07964c Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -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
Jacek Caban
6edc6ba825 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
13031d8b16 Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc 2011-07-13 02:34:40 +02:00
Bas Schouten
ad529f7339 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc 2011-06-24 19:41:16 +02:00