Commit Graph

380 Commits

Author SHA1 Message Date
Robert O'Callahan
f9199a2935 Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Josh Matthews
bc180e53ed Bug 801366 - Restrict GIF pixels to the range of the colormap. r=jrmuizel 2012-11-28 10:41:31 -05:00
Jonathan Kew
baa5823065 bug 815512 pt 1 - on retina-display Macs, moz-icon gets a bitmap that is 2x the 'expected' size. r=joe 2012-11-28 09:04:14 +00:00
Nicholas Nethercote
da226d8e42 Bug 711901 - When possible, measure, don't compute, the size of imgFrame::mImageSurface. r=joedrew.
--HG--
extra : rebase_source : 72dc61c2618166262ec6d83778d7bd2a3a7b5d61
2012-11-26 16:29:56 -08:00
Ehsan Akhgari
3b0448a7df Test case for bug 815359 - r=joe 2012-11-27 21:55:10 -05:00
Ehsan Akhgari
6339b343b1 Bug 815359 - Use the correct contract ID to create nsISupportsPRUint32's in the icon decoder; r=bzbarsky 2012-11-27 21:07:01 -05:00
Seth Fowler
e4d770fba5 Bug 813800 - Never revalidate data URIs. r=joe 2012-11-20 16:58:32 -08:00
Ehsan Akhgari
308de53b5b Bug 813787 - Remove support for image-sniffing-services; r=joe 2012-11-20 19:08:06 -05:00
Joe Drew
28e55e16c7 Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel
--HG--
extra : rebase_source : ac71cc01359c39e275e8b12c44e7d4e5fb04a81b
2012-11-20 14:27:39 -05:00
Tobias Netzel
dc07531bb5 Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy 2012-11-19 09:09:17 -08:00
Jeff Muizelaar
a30ad6a153 Bug 812602. Don't decode jpegs progressively when we have all the data. r=joe
Decoding progressively is slower because we duplicate work like color
conversion and color correction for each outputted scan. We already suppress
paints when have all of the data, so we shouldn't do this extra work.

--HG--
extra : rebase_source : e6dd733546e1bb9e6e3279d9ceea0b4c0a88e049
2012-11-18 20:18:52 -05:00
Josh Matthews
703991dff3 Bug 803125 - Notify status tracker when image request is destroyed. r=joe 2012-11-17 13:33:20 +00:00
Ryan VanderMeulen
7ac458881d Backed out changeset fb3e2fb82000 (bug 802390) for mochitest bc orange. 2012-11-16 16:58:11 -05:00
Joe Drew
ef2d115b6c Bug 802390 - Gracefully handle shutting down a decoder that hasn't had a chance to do any work. r=jrmuizel 2012-11-16 11:43:24 -08:00
Jeff Muizelaar
63feebb7e0 Bug 795648. Add a commment describing why we need to call RequestDecode. r=mwoodrow
--HG--
extra : rebase_source : bd0b47c361eee7c0ed6f00f92eda8aabc5ef08e9
2012-11-16 11:00:06 -08:00
Jeff Muizelaar
985473d336 Bug 794957. Use imgLoader instead of imgILoader. r=joe
This makes use of imgLoader instead of imgILoader in more places.

--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Matt Woodrow
52d048cbef Bug 795648 - Don't synchronously decode images during painting. r=joe 2012-11-16 10:04:29 -08:00
Honza Bambas
902d604757 Bug 734062 - Followup: fixed unused varialble use, r=joedrew 2012-11-14 13:56:56 +01:00
Josh Matthews
d7b09b969f Bug 803121 - Avoid using virtual functions in imgRequestProxy's destructor. r=joe 2012-10-19 15:39:38 -04:00
Jeff Muizelaar
be6b1fe272 Bug 811461. Switch IMAGE_DECODE_LATENCY to microseconds. r=taras
Currently this is recording in ms when we expect all of the values to be <5ms
I believe this was just a typo.

--HG--
extra : rebase_source : ed71dc9bd7dc9ef0903e2e84152b44ba13d97adf
2012-11-13 15:38:54 -08:00
Seth Fowler
5d7f1cae01 Bug 809181 - SVGDocumentWrapper::UpdateViewportBounds() should check if anything has changed instead of relying on callers. r=dholbert 2012-11-08 14:54:47 -05:00
Honza Bambas
33e46a6177 Bug 734062 - stale image in the image cache when an updated version is fetched into HTML5 offline cache in background, r=joedrew 2012-11-08 19:54:00 +01:00
Josh Matthews
543ca63cc0 Bug 805013 - Paper over the browser-chrome crashes from certain circumstances that run ~RasterImage off the main thread. r=joe 2012-11-07 17:25:27 -05:00
Josh Matthews
65b46af47f Bug 805013 - Diagnostic bandaid to ensure that all RasterImages are removed from the discard tracker. r=joe 2012-11-07 14:03:10 -05:00
Jeff Walden
1677629f44 Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
aceman
88970df015 Bug 808379 - fix Assertion failure: isEmpty(), at ../../dist/include/mozilla/LinkedList.h:258 causing Thunderbird crash since landing of fix to bug 803688. r=jlebar
Clear the sDiscardableImages linked list in DiscardTracker::Shutdown() so that the list destructor finds an empty array, which is required after bug 803688.
2012-11-04 23:20:52 +00:00
Seth Fowler
f5d66e49dc Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Jeff Muizelaar
096b94532d Bug 805119. Add a note about the deprecation of findEntryProperties. r=joe
DONTBUILD
2012-10-24 14:40:41 -04:00
Josh Matthews
70206b30d9 Bug 802485 - Quiet intermittent assertion for further investigation. r=orange 2012-10-22 15:40:05 -04:00
Nick Hurley
36fa1cbed9 Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Abhishek Potnis
8ad6e4b4f3 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Josh Matthews
4411ead4c2 Bug 802485 - Remove special handling for canceled image request proxies that are changing owners. r=joe 2012-10-22 12:44:53 -04:00
Joe Drew
e32a2767e5 Bug 802168 - Don't shut down the decoder when we're destroying RasterImages; instead, just remove ourselves from the decoding list. r=jrmuizel,jdm 2012-10-22 13:16:57 -04:00
Phil Ringnalda
54142e8123 Bug 761049 - Back out 6ba8fbe719cc to reenable browser_bug666317.js on Linux 2012-10-19 21:59:18 -07:00
Seth Fowler
6d1409c12c Bug 803349 - Restore NS_DECL_IMGICONTAINER to VectorImage / RasterImage. r=joe 2012-10-19 13:27:11 -07:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Nicholas Nethercote
b7c50cf8b3 Bug 744686 - Comment out unused |alpha_bits| variable to fix a compile warning. r=jmuizelaar.
--HG--
extra : rebase_source : 48be31fe3eab889e6f7930f44b96140ba076c389
2012-10-17 15:54:25 -07:00
Joe Drew
e339553286 Bug 801358 - Part 2 - Account for downscaled frames in about:memory. r=jrmuizel
--HG--
extra : rebase_source : c5a507f0f5d4fa5b700f19cdb359fd8281baa80d
2012-10-13 22:17:40 -04:00
Joe Drew
04467ccef4 Bug 801358 - Part 1 - Discard downscaled frames. r=jrmuizel
--HG--
extra : rebase_source : 1b699918323e7c116521cbde579aafb07846b2f6
2012-10-13 22:17:30 -04:00
Joe Drew
5dcf25c35e Bug 795940 - Part 0.5 - Move ScaleRequest and the runners into the CPP file so consumers don't have to care about them. BY THE DEMAND OF AND r=jrmuizel
--HG--
extra : rebase_source : eeb96eb9680017d2be9ee99ac0c760249a74bcbe
2012-10-12 18:24:47 -04:00
Joe Drew
3f8da7e7b0 Bug 795940 - Part 0.4 - Only try to downscale images that have a single instance on a web page, since that's all we support anyhow. r=jrmuizel
--HG--
extra : rebase_source : 1bda15c8edb7e2d1d3ca26354ce8429640b03b43
2012-10-12 18:20:25 -04:00
Joe Drew
259989f4be Bug 795940 - Part 0.3 - Support stopping requests (on a best-effort basis). r=jrmuizel
--HG--
extra : rebase_source : 793d04fa7954bbf060f01436bc0d257edd05a28a
2012-10-12 18:20:22 -04:00
Joe Drew
b6f2e527c1 Bug 795940 - Part 0.2 - Change from singleton ScaleWorker and DrawWorker (and on-demand allocated ScaleRequest) to nsIRunnables, allocated on demand, that know how to run themselves. r=jrmuizel
--HG--
extra : rebase_source : 9b98ed62eaf5fdddf6ee117ec5f26d049d752eaf
2012-10-12 18:20:19 -04:00