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
Andrew Comminos
092f12d45a
Bug 1167356 - Handle return value of DataSourceSurface::Map wherever possible. r=Bas
2015-06-11 13:06:23 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Milan Sreckovic
a5610e14a3
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
Ehsan Akhgari
cb0f1e50e9
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
Jonathan Watt
9026453ea5
Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow
2014-12-05 03:00:24 -08: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
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
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
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
Nicolas Silva
8235a2b538
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
Jonathan Watt
a5f2bc5bbe
Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel
2014-06-27 10:17:49 +01: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
Bas Schouten
a622119019
Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow
2014-06-11 19:53:02 +00:00