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
Lee Salzman
e38cad0b37
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
Trevor Saunders
d5851ef31c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Ehsan Akhgari
883849ee32
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
6d2ea830bf
Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
...
--HG--
extra : rebase_source : 2185c8fd0b891d5ef296b92b3af7009b2f6fa72e
2015-02-24 13:39:01 -08:00
Ehsan Akhgari
ffb386847f
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
Matt Woodrow
8955c86721
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
59213f7de9
Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE
2014-07-01 08:12:19 +02:00
Matt Woodrow
880ec67730
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
11950fdff5
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
28a408b329
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
42a1b01ffc
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
f064495bb7
Bug 970007 Fix incorrect colorformat when using CairoSurface, r=gal
2014-04-15 11:46:31 +08:00
Ehsan Akhgari
e1b60f2947
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
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
Markus Stange
8db97bd05e
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
cdc7a125da
Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas
2013-11-05 17:50:56 +13:00
Bas Schouten
aeb13e87cb
Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow
2013-11-04 00:57:36 +01:00
Robert O'Callahan
b3e3eccd1a
Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
...
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02:00
Matt Woodrow
5f2c6517be
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
282410c103
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Benoit Girard
b1ecf84f9d
Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas
...
--HG--
extra : rebase_source : f1beea7a8281ed78ab6eb22373913b0484a5430e
2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
41a335c516
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
b48817b2a7
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Matt Woodrow
162edd0647
Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas
2013-10-15 14:55:16 +13:00
Bas Schouten
6e12ca6e4b
Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel
2013-09-28 16:20:24 +02:00
Anthony Jones
ecaa863490
Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow
2013-09-20 14:00:35 +12:00
James Kolb
c2eedbfda2
Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas
2013-07-11 10:43:34 -04:00
Bas Schouten
28ede182a7
Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel
2013-06-27 20:20:30 +00:00
Anthony Jones
f118b7b673
Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe
2012-10-10 06:32:36 -04:00
Nicholas Cameron
4e0c1c1461
Bug 722217; keep only a single snapshot. r=jrmuizel
2012-09-06 16:07:53 +12:00
Anthony Jones
223dd80132
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
d08f2d71eb
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
7222cc6f21
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
a77fd1cc47
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
4a0f48b226
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
3e97df84ad
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
f43050747b
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Joe Drew
f034089eec
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
0a6f454a9d
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
bd561fcfea
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Nicholas Cameron
a75142fe47
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
b657d63db8
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
a09794d38c
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
e5b55a65ac
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
078a3b4954
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
2d3a6b04e7
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
1292400ee5
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00