Lee Salzman
8f1d3691ab
Bug 1185636 - Remove hard stop workaround for Cairo due to regressions. r=jrmuizel
2015-07-20 14:51:50 -04:00
Milan Sreckovic
f5f003bce4
Bug 1182209 - Additional info with some critical errors. r=mchang
...
CLOSED TREE
2015-07-14 15:22:29 -04:00
Birunthan Mohanathas
e52329c788
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
Lee Salzman
c85b595075
Bug 1170390 - Detect 16bpp cairo xlib surface format. r=jrmuizel
2015-07-06 20:19:56 -04:00
Lee Salzman
54afeb6c7a
Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas
2015-07-02 08:02:51 -04:00
Nathan Froyd
46d6f38e68
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
1b5125d97b
Bug 1177807 - Mark cairo surface dirty in ReleaseBits. r=jrmuizel
2015-06-26 11:34:00 +02:00
Lee Salzman
f7f17d5e38
Bug 1033375 - Nudge simple linear gradients with hard stops to half-pixel gradient. r=nical
2015-06-23 20:50:36 -04:00
Andrew Comminos
197e06d5ec
Bug 1169370 - Mark tree Cairo surface dirty after borrow. r=jrmuizel
2015-06-10 12:16:00 -04:00
Lee Salzman
d82d0cc788
Bug 1171454 - Workaround for Cairo's source operator with alpha handling. r=jrmuizel
2015-06-05 15:30:13 -04:00
Nathan Froyd
f61c010661
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nathan Froyd
e970b7431b
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
Lee Salzman
cf9ae0f680
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
Nicolas Silva
191b5c2762
Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel
2015-03-17 16:53:46 +01:00
Nicolas Silva
86f6836f29
Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas
2015-03-12 19:40:06 +01:00
Milan Sreckovic
9fb38f1fb7
Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow
2015-03-03 11:17:55 -05:00
Ehsan Akhgari
ef6963bd58
Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
...
This is in preparation of removing TemporaryRef. It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Milan Sreckovic
dcdba4d25d
Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar
2014-12-19 16:06:15 -05:00
Nicholas Nethercote
9719fd2fcc
Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
...
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Milan Sreckovic
24a732e527
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-17 17:54:04 -05:00
James Willcox
25c96c2585
Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
...
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Carsten "Tomcat" Book
4c225d7e54
Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes
2014-12-17 12:56:04 +01:00
Milan Sreckovic
46b29f1150
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-16 13:22:26 -05:00
Milan Sreckovic
1ba7431253
Bug 1095925: Propagate the error up the chain. r=jmuizelaar
2014-11-14 16:11:02 -05:00
Jonathan Watt
bc0d809b84
Bug 1083755 - Port the CAIRO_COORD_MAX code in nsRenderingContext::FillRect to DrawTargetCairo::FillRect. r=Bas, a=kwierso
2014-11-06 22:07:36 +00:00
Jeff Muizelaar
d6bd4e18e3
Bug 1072847 - Initialize mSurface. r=BenWa
...
--HG--
extra : rebase_source : abd536b8cd2e91c28ea0cd09e21a12da1e8dcee1
2014-10-28 10:08:25 -04:00
Michael Wu
b0975a6e33
Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas
2014-10-15 17:13:14 -04:00
Mason Chang
010cc23678
Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc
2014-09-23 09:44:00 -04:00
Bas Schouten
2bd09f0166
Bug 1069584: Bail if a cairo surface is in an invalid state. r=jrmuizel
2014-09-19 00:01:24 +02:00
Bas Schouten
17f1ccc927
Bug 1068613 - Part 4: Log failures in CairoCreateSimilar. r=jrmuizel
2014-09-17 23:23:09 +02:00
Matt Woodrow
bfdf5c0a2a
Bug 1062723 - Part 2: Implement source clipping for DrawTargetCairo. r=Bas
...
--HG--
extra : rebase_source : 9e02e1e91c3bcd455640a1f60e4da673302c5cf1
2014-09-12 17:11:36 +12:00
Ehsan Akhgari
08ea187b4e
Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc
2014-08-31 23:31:20 -04:00
Matt Woodrow
636bbdc9ed
Bug 1053934 - Don't use the cairo context to create similar surfaces since it might be in an error state. r=jrmuizel
2014-08-28 16:07:43 +12:00
Matt Woodrow
903bd31201
Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
2014-08-15 14:23:22 +12:00
Ryan VanderMeulen
bac3f6dbb7
Backed out changeset 028c43cd12a5 (bug 1051592) for Windows bustage.
...
CLOSED TREE
2014-08-15 00:37:46 -04:00
Matt Woodrow
3b9b54ae65
Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
...
--HG--
extra : rebase_source : 89bc9dd9c4d5120c73b025d5106827594fac6663
2014-08-15 14:23:22 +12:00
Nicolas Silva
d6dd3d64a1
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
Matt Woodrow
bfd512a14f
Bug 1035168 - Use Map api to check if DataSourceSurfaces have data available in DrawTargetCairo. r=Bas
2014-07-09 13:53:48 +12:00
Nicolas Silva
f7dfad8186
Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas
2014-07-04 16:55:04 +02:00
Mike Hommey
3ebd9bcf37
Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso
2014-07-02 09:15:51 +09:00
Matt Woodrow
7bbf06ccef
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
60d3fd7a77
Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE
2014-07-01 08:12:19 +02:00
Matt Woodrow
6ebed97672
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
d6c9d59f3b
Backed out changeset a7ea536288e0 (bug 1031267) for bustage..
2014-06-27 16:58:36 +01:00
Jan Beich
e16dc2ff0b
Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt
2014-06-27 16:29:17 +01:00
Jonathan Watt
d103dd96a6
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
Sasha Fydrich
965c67e0f3
Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas
2014-06-22 11:10:07 -07:00
Jonathan Watt
3480cabb15
Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas
2014-06-19 21:35:33 +01:00
Jonathan Watt
344fb8cd20
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
Michael Wu
19d86c1d8f
Bug 994081 - [3/3] Optimize surfaces on Cairo X11, r=Bas f=karlt
2014-05-22 20:06:16 -04:00