Lee Salzman
f15be30759
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Nathan Froyd
974d8120f2
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
c24f5f4e7c
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
George Wright
eaa8ae26b2
[PATCH 05/15] Bug 1017113 - Remove unnecessary SkEmptyShader.h include r=mattwoodrow
2014-07-27 20:56:42 -04:00
Jonathan Watt
28a408b329
Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas
2014-06-19 21:35:33 +01:00
Jonathan Watt
c90e727466
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
Phil Ringnalda
f4adf531a3
Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
...
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten
47974ec8fe
Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel
2014-02-13 07:31:51 +01:00
Benoit Jacob
f447d87c57
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
Benoit Jacob
ccaa35314d
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - 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:16 -05:00
Kevin Simons
2192973715
Bug 944646 - Implement Skia path in ScaledFontBase::CopyGlyphsToBuilder. r=mattwoodrow
...
Handle PathBuilderSkia with a separate path specifically for
BACKEND_SKIA DrawTarget instances.
2013-12-12 17:37:00 -05:00
Kevin Simons
f09656d765
Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
...
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Bas Schouten
1dbc0fbd1b
Bug 943351: Make sure to clear any existing paths before getting the glyph path off a context. r=BenWa
2013-11-26 23:27:05 +01:00
Bas Schouten
6e12ca6e4b
Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel
2013-09-28 16:20:24 +02:00
Matt Woodrow
5938d48e42
Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas
2013-08-21 11:58:27 +12:00
George Wright
4c15fc0684
Bug 736276 - Ensure we can never double addref a cairo scaled font in ScaledFontBase r=mattwoodrow
2013-06-28 22:50:59 -04:00
George Wright
1c299f739f
Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel
2013-06-05 13:48:59 -04:00
Joe Drew
f034089eec
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
0a6f454a9d
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
bd561fcfea
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Woodrow
026484c01a
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Ehsan Akhgari
dc62ac1760
Backed out changeset 690cba3bb817 (bug 719776) because of build failures
2012-04-03 17:49:59 -04:00
Matt Woodrow
4fbdb5afa4
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Bas Schouten
5ce9db7075
Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel
2012-03-29 20:53:44 +02:00
George Wright
d8d5b9654f
Bug 723110. Refactor font code to lay the groundwork for having a ScaledFontFreetype class. r=jrmuizel
2012-02-13 14:58:01 -05:00
Joe Drew
b124e5c693
Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
...
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Jeff Muizelaar
3036b1473f
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
4b1bdf5b96
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
0ac4c9201a
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Ms2ger
7535aaa04a
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
ad79c1ab36
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00