Commit Graph

41 Commits

Author SHA1 Message Date
Seth Fowler
e326aefd61 Bug 1149893 - Add a pref that makes us decode all images immediately. r=baku 2015-04-07 16:44:29 -07:00
Seth Fowler
beeb49d974 Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
Seth Fowler
d472d2fbf5 Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn 2015-01-20 03:06:37 -08:00
Seth Fowler
6bbece46f8 Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn 2015-01-19 15:46:55 -08:00
Seth Fowler
ed060fc79e Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
766fe0f845 Bug 1118694 - Always retarget OnDataAvailable for RasterImage. r=sworkman 2015-01-17 13:18:26 -08:00
Seth Fowler
0e83d78d8f Bug 1112972 (Part 3) - Remove almost all special handling of multipart images in RasterImage. r=tn 2015-01-07 01:37:20 -08:00
Glenn Randers-Pehrson
67564489e4 Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 16:35:00 -08:00
Seth Fowler
2228978019 Bug 1097432 (Part 3) - Rename imgStatusTracker to ProgressTracker and ImageStatusDiff to Progress. r=tn
--HG--
rename : image/src/imgStatusTracker.cpp => image/src/ProgressTracker.cpp
rename : image/src/imgStatusTracker.h => image/src/ProgressTracker.h
2014-11-14 20:10:47 -08:00
Milan Sreckovic
b3ebaa4241 Bug 980036 - Move image prefs to gfxPrefs. r=seth 2014-09-22 17:30:20 -04:00
Christoph Kerschbaumer
e401159cf1 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Michael Wu
9672a99df6 Bug 1037028 - More namespace cleanups in imglib, r=seth 2014-07-10 11:00:31 -04:00
Seth Fowler
c849c6ff88 Bug 967985 - Don't retarget OnDataAvailable when not storing source data. r=tn
--HG--
extra : rebase_source : d3048bf3d949650f01ae97786cb5ca2d54aa3087
2014-04-02 19:20:25 -07:00
Milan Sreckovic
6cffe8ba37 Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard. 2014-03-05 16:25:09 -05:00
Jeff Muizelaar
cf644b27c6 Bug 854795. Add support for -moz-samplesize. r=seth
-moz-samplesize allows decoding at a lower resolution.
This is valuable for saving memory when we know that
we don't need a large version of the image.

--HG--
extra : rebase_source : 0373c23bd4a8b5963329ea1ccf13f075c1264909
2014-02-28 16:43:14 -05:00
Jeff Muizelaar
5c27c081b4 Bug 967163. Use nsIChannel instead of nsIHttpChannel to contentLength. r=seth
This will let us get the right length for blob uris and is just better.

--HG--
extra : rebase_source : 4d898ab29c5e1d146d7b543bd1afdc6f6815f28c
2014-02-10 14:54:23 -05:00
Steve Workman
1b740124a5 Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth 2013-09-28 11:28:42 -07:00
Ehsan Akhgari
61d8f84eb7 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Seth Fowler
8a31a54638 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
--HG--
extra : rebase_source : 65b4698483ab19005314913583ff0e21931d81f7
2013-04-05 14:14:34 -07:00
Phil Ringnalda
171a6dc234 Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Seth Fowler
808ec28f01 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-04-04 19:06:42 -07:00
Ryan VanderMeulen
268da07311 Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE. 2013-03-26 21:56:03 -04:00
Seth Fowler
56e1f531fa Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-03-26 16:29:13 -07:00
Ryan VanderMeulen
70b9859a7a Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE. 2013-03-26 16:52:17 -04:00
Seth Fowler
ddfbe130e0 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-03-26 11:56:46 -07:00
Wes Johnston
6a18fa33b2 Bug 419588 - Add support for a resolution media fragment. r=seth 2013-03-22 16:12:40 -07:00
Seth Fowler
ed95b5ef47 Bug 843895 (Part 4) - Use FrozenImage instead of ExtractFrame for imgRequestProxy::GetStaticRequest. r=joe 2013-03-10 18:43:38 -07:00
Joe Drew
6e66049758 Bug 846852 - Preallocate the RasterImage source data array when loading from file://. r=seth
--HG--
extra : rebase_source : 9bf2cc014d97f245ae063f65ab4aa6743c3194f2
2013-03-01 14:21:06 -05:00
Seth Fowler
c3b7f9351d Bug 840841 - Remove mObserver from RasterImage and VectorImage. r=joe 2013-02-12 19:00:03 -08:00
Seth Fowler
9d521805e5 Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe 2013-02-13 13:53:42 -08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Seth Fowler
bf6d29e9b6 Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2013-01-08 13:40:47 -08:00
Ryan VanderMeulen
d0c3b92170 Backed out changeset 5244caae8c46 (bug 822846) for Windows build bustage. 2012-12-23 11:45:38 -05:00
Seth Fowler
d8f9d47626 Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2012-12-19 13:33:56 -08:00
Seth Fowler
3b8e9ef295 Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-19 13:28:54 -08:00
Seth Fowler
60f17bd025 Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe 2012-12-17 17:35:07 -08:00
Seth Fowler
8ab5195c63 Bug 815471 - Don't assume that all imgIContainers are either a RasterImage or a VectorImage. r=joe 2012-12-17 14:05:18 -08:00
Ryan VanderMeulen
41d18e74d0 Backed out 4 changesets (bug 815471, bug 821023, bug 816374, bug 816362) for reftest failures. 2012-12-16 21:13:35 -05:00
Seth Fowler
2b3b199964 Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-14 15:42:18 -08:00
Seth Fowler
2401948cc4 Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe 2012-12-13 17:02:26 -08:00
Seth Fowler
941299b5d8 Bug 815471 - Don't assume that all imgIContainers are either a RasterImage or a VectorImage. r=joe 2012-12-13 16:06:31 -08:00