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
Andreas Pehrson
f9165d38d7
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
...
--HG--
extra : rebase_source : aebb45613926c64355e5b193bc79166cf04292be
2015-06-10 19:01:00 +08:00
Andrew Comminos
1013161996
Bug 1167356
- Handle return value of DataSourceSurface::Map wherever possible. r=Bas
...
--HG--
extra : rebase_source : fe4fcb9c3a89e2573e6fde423ed8d96f31e00f14
2015-06-11 13:06:23 -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
Milan Sreckovic
76dd5cd892
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
Markus Stange
6e4e723923
Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
...
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Markus Stange
14017f7761
Bug 1117304 - Make sure the tile filter doesn't call CopyRect on surfaces with different formats. r=Bas
2015-01-05 18:40:27 +01:00
Benoit Girard
700fbb43f7
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Julian Seward
ed42e63485
Bug 1078211 - Uninitialised value use in DoUnpremultiplicationCalculation_SIMD. r=mstange.
...
--HG--
extra : rebase_source : f6c2050339ff24c2e067f0533fe0e7a1589288e5
2014-12-09 13:12:34 +01:00
Wes Kocher
99f09b4b90
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
263a1d279b
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Wes Kocher
92049c1863
Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage
2014-11-18 17:21:08 -08:00
Markus Stange
cacfe982d9
Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
...
This makes the color matrix and component transfer Moz2D filters generate an infinite output, which is then cropped to the primitive's filter primitive subregion by a subsequent crop filter node. This still gives us different behavior than other browser when the primitive subregion is overridden using the x/y/width/height attributes - other browsers either ignore those completely (IE) or only let them crop the default subregion (which is defined to be the same as the input subregion) and not enlargen it - but I'll fix that in a separate bug.
2014-11-18 17:21:19 -05:00
Markus Stange
1d372b2e28
Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas
2014-10-16 12:35:58 +02:00
Wes Kocher
1a2c9fd8d4
Backed out changeset bb80c2b08bc0 (bug 1076695) for being the likely cause of the ASAN reftest permafail
2014-10-07 17:30:54 -07:00
Markus Stange
4c6fa36735
Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas
2014-10-07 16:18:01 +02:00
Markus Stange
33956e6925
Bug 983241 - Allow filterNodeSoftware->SetInput(*, nullptr) in order to drop reference to input surface / filter. r=Bas
2014-09-25 15:19:28 -04:00
Rik Cabanier
91998dcf59
Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz
2014-09-12 16:32:00 +02:00
Michael Wu
4079a1f9ad
Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth
2014-09-10 17:54:16 -04:00
Max Vujovic
b42698322b
Bug 1058753 - Cap CSS/SVG blur radii to smaller value when rendering in software. r=mstange
2014-09-03 13:31:55 -07:00
Ehsan Akhgari
3cc9664125
Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc
2014-08-31 23:31:20 -04:00
Milan Sreckovic
4455d895e8
Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten
2014-08-27 11:57:43 -04:00
Matt Woodrow
414906995b
Bug 1035168 - Avoid calling GetData/Stride on a surface that we will later Map. r=Bas
2014-07-11 15:23:56 +12:00
Benoit Jacob
2ed5b733e4
Remove unused static function that causes non-unified build to fail - trivial, no review, no bug
2014-06-23 11:50:43 -04:00
Jonathan Watt
16136e4067
Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange
2014-06-15 01:34:01 +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
Jonathan Watt
fa32ec8e2a
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Carsten "Tomcat" Book
90f9142e90
Backed out changeset c5953a778276 (bug 1019753) for crashes on a CLOSED TREE
2014-06-04 10:31:49 +02:00
Jonathan Watt
80e5860681
Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas
2014-06-04 08:08:39 +01:00
Jonathan Watt
06a79a3b5a
Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
...
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Markus Stange
bbba5bf0c3
Bug 960178 - Fix lighting filter PowCache. r=Bas
2014-03-05 18:41:38 +01:00
Markus Stange
7943eaee0d
Bug 963086 - Detect filter rect XMost()/YMost() overflow and protect against out-of-range data acess. f=dholbert, r=Bas
2014-03-05 18:41:19 +01:00
Ehsan Akhgari
9c823473c2
Bug 935778 - Part 0.7: Emit the correct type name from FilterNodeLightingSoftware; r=jrmuizel, parts r=dbaron
2014-02-26 10:13:48 -05:00
Markus Stange
e3e4acb84f
Bug 960017 - Make the surfaces big enough. r=Bas
...
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange
20500e6a35
Bug 960017 - Add some debug-only checks. r=Bas
...
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Markus Stange
4314adf885
Bug 965914 - Don't crash when we can't allocate a new surface in CloneAligned. r=Bas
2014-02-04 21:03:12 +01:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Markus Stange
6f759e8727
Bug 951268 - Use MaskSurface when drawing A8 filter results. r=Bas
2014-01-17 11:06:11 +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
Benoit Jacob
78b03d8b63
Bug 958375 - 5/9 - Make FilterType 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
Benoit Jacob
a1e7c32630
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
Markus Stange
3b7dad0997
Bug 945655 - Improve FilterNodeSoftware debug logging. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
9bb2ea8eed
Bug 945655 - Reduce arithmetic combine filter output rect depending on the coefficients. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
2e2049d8be
Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. FilterNodeSoftware part. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
00b64761cd
Bug 945655 - Make transparent flood filters report an empty output rect. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
384433e9e1
Bug 945655 - Simplify the crop FilterNodeSoftware filter. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
c96f3b32c6
Bug 945655 - Don't add transparency around the filter output before sending it to DrawSurface. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
af208d525d
Bug 945655 - Make all filters deal with null inputs and empty output rects consistently: treat them as transparent. r=roc
2013-12-10 14:50:40 +01:00