Birunthan Mohanathas
a29151dc87
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
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
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
Nicolas Silva
1668b6c243
Bug 1129467 - Apply the tile offset to tiles when initializing DrawTargetTiled. r=Bas
2015-02-05 11:09:57 +01:00
Nicolas Silva
382b6a38ff
Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel
2015-01-19 12:36:43 +01:00
Ehsan Akhgari
75aac5a3e1
Bug 1062071 - Mark TileInternal's constructor as explicit; r=mattwoodrow
2014-09-03 08:11:28 -04:00
Matt Woodrow
4d767ba7dd
Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
2014-09-03 09:21:35 +12:00
Matt Woodrow
31aadbea76
Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
2014-09-03 09:20:44 +12:00
Matt Woodrow
7e3b16861c
Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
2014-09-03 09:20:33 +12:00
Matt Woodrow
0a16ddcb0a
Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
2014-09-03 09:20:10 +12:00
Phil Ringnalda
c4fecf2e67
Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
...
CLOSED TREE
Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
2ac54e4e84
Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
2014-09-02 12:37:41 +12:00
Matt Woodrow
69be56b1da
Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
2014-09-02 12:35:02 +12:00
Matt Woodrow
d4ab917879
Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
2014-09-02 12:34:53 +12:00
Matt Woodrow
c40a12acc9
Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
2014-09-02 12:34:30 +12:00
Phil Ringnalda
f22588c601
Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
...
CLOSED TREE
Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
ea603ec6a5
Bug 1059033 - Move DrawTargetTiled to non-unified to ensure that _USE_MATH_DEFINES is applied first. CLOSED TREE
2014-09-01 17:28:53 +12:00
Matt Woodrow
341b5c6858
Bug 1059033 - Followup to fix windows build
2014-09-01 16:30:25 +12:00
Matt Woodrow
d0c4f10380
Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
2014-09-01 15:23:40 +12:00
Matt Woodrow
dbf70952d5
Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
2014-09-01 15:22:49 +12:00
Matt Woodrow
149a9873bf
Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
2014-09-01 15:22:40 +12:00
Matt Woodrow
1a22586b0d
Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
2014-09-01 15:22:08 +12:00
Matt Woodrow
fd7dbca637
Bug 1057218 - Initialize mFormat in DrawTargetTiled. r=Bas
2014-08-29 15:07:35 +12:00
Botond Ballo
f4e48b3a62
Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
2014-08-28 12:45:48 -04:00
Milan Sreckovic
e5735c90c6
Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten
2014-08-27 11:57:43 -04:00
Botond Ballo
29e678a8e8
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
2014-08-19 13:08:16 -04:00
Wes Kocher
84b7885915
Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
...
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Botond Ballo
776bd3e68a
Bug 923512 - Introduce strongly-typed coordinate classes (Part 1: Moz2D changes). r=kats,Bas
2014-07-31 17:07:17 -04:00
Nicolas Silva
8235a2b538
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
Jonathan Watt
ac3dfa920f
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
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
Bas Schouten
a622119019
Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow
2014-06-11 19:53:02 +00:00