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
Lee Salzman
db27f83933
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
Trevor Saunders
2cab0ab3a9
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -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
David Anderson
eea61cd9aa
Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
2015-02-24 13:39:01 -08: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
Matt Woodrow
c9288b3037
Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas
2014-07-01 17:52:51 +12:00
Carsten "Tomcat" Book
0203eb00e5
Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE
2014-07-01 08:12:19 +02:00
Matt Woodrow
1c8350fd4a
Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas
2014-07-01 17:52:51 +12: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
Matt Woodrow
768318cdfa
Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas
2014-05-08 11:23:44 +12:00
peter chang
b69d3d2733
Bug 970007 Fix incorrect colorformat when using CairoSurface, r=gal
2014-04-15 11:46:31 +08:00
Ehsan Akhgari
f99eb29b59
Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
...
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Benoit Jacob
61c6bc7c4e
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
23af944896
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
Markus Stange
0fb6c31b16
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00
Matt Woodrow
89bd3b701a
Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas
2013-11-05 17:50:56 +13:00
Bas Schouten
0b3209d44f
Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow
2013-11-04 00:57:36 +01:00
Robert O'Callahan
fc0b8f080a
Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
2013-10-25 23:25:40 +02:00
Matt Woodrow
45392bb9f9
Bug 928727 - Share code for getting the user-space clip bounds in DrawTargetCairo. r=jrmuizel
2013-10-22 12:11:30 +02:00
Benoit Girard
aabc79b799
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Benoit Girard
f60f94a85e
Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas
2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
92b01d4f75
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
2976f98010
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Matt Woodrow
08c1253d14
Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas
2013-10-15 14:55:16 +13:00
Bas Schouten
1e0b404367
Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel
2013-09-28 16:20:24 +02:00
Anthony Jones
7288282671
Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow
2013-09-20 14:00:35 +12:00
James Kolb
bae3ce8f5b
Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas
2013-07-11 10:43:34 -04:00
Bas Schouten
d33c940204
Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel
2013-06-27 20:20:30 +00:00
Anthony Jones
516a2bffe6
Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe
2012-10-10 06:32:36 -04:00
Nicholas Cameron
8162a9177d
Bug 722217; keep only a single snapshot. r=jrmuizel
2012-09-06 16:07:53 +12:00
Anthony Jones
18034285f8
Bug 784573 - Fix problems converting cairo paths between user space and device space. r=joe
2012-09-03 17:48:04 -04:00
Anthony Jones
802222e3d7
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe
2012-09-02 19:07:06 -04:00
Anthony Jones
a65ed2ffac
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel
2012-09-02 19:07:06 -04:00
Ms2ger
94b541fcb7
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
23c759a8cf
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc
2012-08-27 11:34:33 +02:00
Anthony Jones
bc01cc91d5
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc
2012-08-27 11:34:07 +02:00
Anthony Jones
df916d9db5
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Joe Drew
3f0afe00d0
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
2012-08-14 14:06:12 -04:00
Joe Drew
0a4da78c18
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
123b07964c
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
2012-08-14 14:06:12 -04:00
Nicholas Cameron
f3e6c59f8f
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
170c195a34
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
a2fbd8f927
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
3c9935e75a
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
e542f9318a
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
6d2bd30cc4
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
7ec9ac4fc5
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00