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
Andreas Pehrson
4ff090a008
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
2015-06-10 19:01:00 +08:00
Heiher
78daf3363f
Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
...
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Benoit Girard
aec78aa12c
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Wes Kocher
45d5855d14
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
cee3949e96
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Michael Wu
9dd656a6fc
Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth
2014-09-10 17:54:16 -04:00
Jonathan Watt
d129acd2ed
Bug 1023336, part 1 - Add a Moz2D helper to consistently limit the size of data-wrapping DataSourceSurface buffers. r=Bas
2014-06-13 22:03:52 +01:00
Jonathan Watt
6d5af4b262
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Carsten "Tomcat" Book
28b5fb5e53
Backed out changeset c5953a778276 (bug 1019753) for crashes on a CLOSED TREE
2014-06-04 10:31:49 +02:00
Jonathan Watt
77c727fed9
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Jonathan Watt
de3c05bf31
Bug 996673 - Stop using |#pragma once| in Moz2D headers. r=Bas
2014-04-16 17:17:22 +01:00
Jonathan Watt
72989bc3d4
Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
2014-04-15 19:02:23 +01:00
Jonathan Watt
6fcc78e837
Bug 983591 - Add a Moz2d helper to copy pixel data from a B8G8R8X8 surface to a packed B8G8R8 array. r=Bas
2014-04-08 10:14:52 +01:00
Jonathan Watt
4b3a879464
Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas
2014-03-07 13:24:47 +00:00
Jonathan Watt
326f7c9a0e
Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal
2014-03-07 13:24:42 +00:00
Jonathan Watt
0d44197b2f
Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
2014-03-06 23:31:33 +00:00
Benoit Jacob
f634d4797a
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - 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
Bas Schouten
5bb6d89fd4
Bug 933030 - Addition: Remove external dependency added to Moz2D. r=mattwoodrow
2013-11-04 00:57:35 +01:00
Andreas Gal
103121775a
Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow
2013-11-03 08:28:30 -08:00