Commit Graph

163 Commits

Author SHA1 Message Date
Mason Chang
1ab5797256 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
Amanda Sambath
c023bf2139 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/thebes part 1. r=nical 2015-06-01 10:26:19 +02:00
Birunthan Mohanathas
1c20df74c6 Bug 1166840 - Remove document argument from nsIClipboardHelper.copyString{,ToClipboard}. r=ehsan 2015-05-21 21:50:09 +01:00
Nathan Froyd
db188ea282 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
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
Kartikaya Gupta
bdb998b9d4 Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
af44ca2147 Bug 1022080 - Don't force intermediate surfaces when dumping textures, unless explicitly specified. r=nical 2015-05-12 09:16:53 -04:00
Daniel Holbert
3899eae2cc Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Nicolas Silva
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02: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
Benoit Girard
98b7cc0e56 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Benoit Girard
22355f0c17 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
e144df0092 Bug 1111258 - Let the profiler turn on layout.display-list.dump. r=mstange 2014-12-13 15:40:18 -05:00
Benoit Girard
f7b7607e1f Bug 1105834 - Part 3: Add lz4 support to layers.dump-texture. r=jrmuizel 2014-12-08 14:42:33 -05:00
Benoit Girard
a8501f4185 Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05: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
993c64ba00 Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel 2014-12-08 14:42:33 -05:00
Benoit Girard
0deff0ecd6 Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Markus Stange
10ca30f002 Bug 1101195 - Update imgData vector length after reading into it. r=jwatt 2014-11-19 11:51:47 -05:00
Jeff Muizelaar
d3ebc563b8 Bug 1098389. Remove ClipToRegionSnapped. r=roc
We don't use this anymore.

--HG--
extra : rebase_source : 918eaa73f653962dccbfe6efdad69203ba041ef3
2014-11-14 10:46:02 -05:00
Chris Jones
1dc260137a Bug 1082902 - Add mozilla_dump_image() helper exported from libxul. r=jrmuizel 2014-11-07 13:55:01 +01:00
Jonathan Watt
30f03ce29a Bug 1076910 - Add some error checks to gfxUtils::EncodeSourceSurface. r=Bas 2014-10-31 11:16:45 +00:00
Jonathan Watt
03e708cc58 Bug 1084093, part 2 - Convert gfxPlatform::TransformPixel to Moz2D, and move gfxPlatform::MaybeTransformColor to ToDeviceColor in gfxUtils.h. r=Bas 2014-10-17 12:53:15 +01:00
Matt Woodrow
409fe287eb Bug 1067588 - Don't draw images with a sampling rect if the rect covers the entire image. r=Bas
--HG--
extra : rebase_source : 1c6aebe49a6168953413f60d97d8d53135298e77
2014-10-03 13:49:08 +13:00
Jeff Muizelaar
673f3a21d4 Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Matt Woodrow
17d41ed59f Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas 2014-09-30 13:20:35 +13:00
Ed Morley
fad1e475af Backed out changeset 318fa507832d (bug 1073086) 2014-09-29 17:42:34 +01:00
Jeff Muizelaar
5e0dbe7d22 Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Bas Schouten
5503ad618b Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel 2014-09-14 23:51:30 +02:00
Matt Woodrow
384ef32e14 Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Jonathan Watt
2a0767dbda Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
62cd61e1b7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
31ab875e26 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
ee916d4351 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
James Kolb
74a487913a Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
Milan Sreckovic
4455d895e8 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Seth Fowler
4cd9e3e8e6 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Wes Kocher
914924e971 Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect 2014-08-06 15:43:25 -07:00
James Kolb
e0474edae0 Bug 1028288 Add canvas global transparency support to svgs. r=roc 2014-08-02 16:14:53 +09:00
Matt Woodrow
f718291cc8 Bug 1044702 - Part 1: Remove unnecessary gfxDrawable constructors. r=Bas,seth
--HG--
extra : rebase_source : faad3eded22c569bc9a32391dbdac16cd9db397d
2014-07-29 12:05:40 +12:00
Markus Stange
cb2c05ae1d Bug 671302 - Avoid passing large offsets into pixman when drawing repeated background images. r=roc 2014-07-18 11:48:38 +02:00
Jonathan Watt
19033b482e Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas 2014-07-11 08:07:07 +01:00
Jonathan Watt
91e483122f Bug 1025553, part 3 - Give gfxMatrix::Invert() the same semantics as Moz2D's Matrix::Invert(). r=Bas 2014-07-11 08:06:39 +01:00
Markus Stange
8ed41a013a Bug 1020556 - Increase tolerance for scale snapping so that we don't end up with an unnecessary scale factor for pure rotation transforms due to floating point inaccuracies. r=mattwoodrow 2014-07-08 14:07:05 +02:00
Jonathan Watt
33bdb82135 Bug 1034404 - Get rid of the Thebes backed gfxContexts in ThebesLayerD3D9. r=Bas 2014-07-06 00:10:49 +01:00
Jonathan Watt
deb2077580 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
8e7356e992 Bug 1028786, part 1 - Add a gfxUtils::ClearThebesSurface() helper method. r=mattwoodrow
--HG--
extra : rebase_source : 524ffe6d276ea9b51cf01d534f65c9b74b32b950
2014-06-23 23:48:58 +01:00
Jeff Gilbert
f89102edd1 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00