Commit Graph

56 Commits

Author SHA1 Message Date
Justin Lebar
f3b39edffc Bug 736761 - Don't crash if images are discarded after XPCOM shutdown. r=joe 2012-03-18 09:56:00 -04:00
Justin Lebar
e7f18abc74 Bug 735894 - Fire the discard timeout twice as often, so images are discarded after between 1 and 1.5 discard timeout intervals, instead of between 1 and 2 intervals. r=joe
--HG--
extra : rebase_source : 2ca143b901616b42d3e7c8f25349d04f5f0cb288
2012-03-15 16:30:41 -04:00
Justin Lebar
260c6a4781 Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
--HG--
extra : rebase_source : 013b58b9148f0fd4d7f0eb7104674d6aa63bca82
2012-03-15 16:30:41 -04:00
Justin Lebar
d125c715f4 Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe
--HG--
extra : rebase_source : 5e08cc235f1a9cb7b63d83df13760f2f2a4de0a4
2012-03-10 01:29:28 -05:00
Justin Lebar
1ef50d4a60 Back out bug 731419 and bug 732820 due to orange.
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
45e69ecc2d Bug 732820 - Part 4: Followup, use PRUint64 instead of ssize_t, since ssize_t doesn't exist on Windows.
--HG--
extra : rebase_source : 3319d5541bac26fb4bc63323c88b4efd65a47fe1
2012-03-09 18:15:54 -05:00
Justin Lebar
77b259dfeb Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe 2012-03-09 17:21:01 -05:00
Justin Lebar
2457216f32 Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe 2012-03-09 17:21:01 -05:00
Justin Lebar
f822e21799 Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue.
Bug 734135 - When we draw an unlocked image, move it to the back of the discard queue. r=joe

--HG--
extra : rebase_source : c78206fa9abdb1aa3b054f7ab4d53affe0883ece
2012-03-08 09:14:00 -05:00
Boris Zbarsky
f5d429c4bc Bug 732319. Fix leaks on CORS failures in imagelib. r=joe 2012-03-02 23:44:55 -05:00
Boris Zbarsky
d14d125414 Bug 732178. Set up the image cache validator before the CORS listener. r=joe,sicking 2012-03-02 00:13:54 -05:00
Nicholas Nethercote
766de0df7b Bug 731890 - Convert the 12 "images" memory reporters to a single multi-reporter. r=jlebar.
--HG--
extra : rebase_source : e4ac7a1c03c4a033f2ea5fe54f79654cba3d3574
2012-03-01 16:05:32 -08:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Nicholas Nethercote
b7b9660f94 Bug 711901 - Use mallocSizeOf in the source image memory reporters. r=joedrew.
--HG--
extra : rebase_source : 9c39bbb44cb40fa900a8245842a50d894c02f4e0
2012-02-19 19:51:48 -08:00
Justin Lebar
6ed6a3efb6 Bug 726004 - Fix intermittent reftest orange introduced by bug 715308 by not flushing invalidations when the decoder detects an error. r=joe
--HG--
rename : browser/devtools/debugger/test/test-editor-mode => browser/devtools/debugger/test/test-script-switching-02.js
extra : rebase_source : 4eeface3fbf6a257ca3f86cf05e13df276ff9743
2012-02-13 21:21:11 -05:00
Joe Drew
6eb682d309 Bug 724584: Pass in aRequest as an nsIRequest* (instead of an nsIChannel*) in mgRequest::Init. r=jrmuizel 2012-02-13 14:36:14 -08:00
Justin Lebar
d41ff5c565 Bug 715308 and bug 721510 - Back out rev 350ba395c, backing in bug 715308 and bug 721510, plus randomorange/crash fixes. r=joe 2012-02-09 15:04:30 -05:00
Justin Lebar
b836d75062 Back out bug 715308 and bug 721510 due to crashes and intermittent OSX reftest failures. r=joe 2012-02-02 10:59:01 -05:00
Bas Schouten
f41ddf02da Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Robert O'Callahan
1f8d8e9fb6 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats 2012-01-30 18:16:54 +13:00
Justin Lebar
8e67a2b3e7 Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe 2012-01-27 12:09:01 -05:00
Matt Brubeck
4bbdc0b9d1 Back out b4decc9b812f (bug 721510) because of frequent Mac reftest failures on a CLOSED TREE 2012-01-27 14:49:50 -08:00
Justin Lebar
76001f8b15 Bug 721510 - Always decode at least one chunk in RasterImage::DecodeWorker::DecodeSomeOfImage. r=joe 2012-01-27 12:09:01 -05:00
Justin Lebar
d063bb91a3 Bug 715308 - Part 1: Decode RasterImage::Draw()'n images before other images. r=joe
--HG--
extra : rebase_source : b958a682e5a92767ba1887a7d6df5a53f146fda2
2012-01-26 15:54:04 -05:00
Atul Aggarwal
3e0a05f88e Bug 698263 - Rename mozilla::imagelib namespaces to mozilla::image r=joe 2012-01-06 21:32:27 +05:30
Jeff Muizelaar
a47ca866d2 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
b79b1e58d3 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Ms2ger
10ae9ad9d2 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
f721014338 Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted 2012-01-11 09:23:07 +01:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jeff Muizelaar
09e3da77b4 Bug 695859. Don't progressively display images during decode if we have all of the data. r=bholley
This should reduce the amount of image repainting that happens during download.

--HG--
extra : rebase_source : 2dd2ea707e163fbf2ef344ba17e944b5c8f227fd
2011-10-19 18:06:14 -04:00
Jeff Muizelaar
fa7bc8f2f2 Bug 715240. Only track decode on draw latency when we have all of the data. r=joe,f=jlebar
Previously, could start counting before the image was completely downloaded. This
would cause the download time to be included.

--HG--
extra : rebase_source : 42a208c345e338e2fc7141d5b1b4a9d8cc32720b
2011-12-19 16:42:36 -05:00
Matt Woodrow
08c9e05cce Bug 715916 - Check the result of GetFrame in RasterImage::GetImageContainer. r=joe 2012-01-11 13:33:20 +13:00
Jeff Walden
82023879ca Bug 714572 - Fix nearly all clang warnings building image/. r=bholley
--HG--
extra : rebase_source : 585983448ac6dae86d309530d5ddbda856bdcfa9
2012-01-02 14:23:41 -06:00
Justin Lebar
a02be5e264 Bug 712959 - Imagelib should notice when all image.mem.* prefs change. r=joe 2011-12-22 09:21:00 -05:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Tim Abraldes
30a6568785 Bug 704558 - Added encoder options in encodeImage and encodeScaledImage. r=bbondy 2011-12-16 19:43:10 -05:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Ms2ger
d1c6d7451e Bug 709522 - Remove unused imgFrame::Get{X,Y,Width,Height}; r=joe a=ehsan 2011-12-13 09:49:31 +11:00
Daniel Holbert
f64d8c413c Bug 708888: Remove no-longer-needed SVGDocumentWrapper::kSVGAtom. r=roc 2011-12-09 01:11:06 -08:00
Matt Woodrow
fd0cbc3f03 Bug 705580 - Remove the cached ImageContainer when the current frame changes. r=joe 2011-12-05 11:53:38 +13:00
Benoit Girard
e3cfcafa7f Bug 703231 - [Mac] Fix scan lines while decoding images caused by high quality down scaling. r=joe 2011-11-24 18:23:19 -05:00
Scott Johnson
2aa0b5cda6 Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
--HG--
extra : rebase_source : 6156ccbce49e7eeeb38488802a6f100d419b8335
2011-11-15 15:45:43 +13:00
Scott Johnson
63e27b0196 Bug 666446, Part 9/10 - Implement methods in RasterImage in order to faciliate refresh driver-based animations. [r=dholbert,joe] 2011-11-09 13:39:16 -08:00
Scott Johnson
e4fbf31815 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Matt Woodrow
0be2048708 Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe 2011-11-09 16:14:41 +13:00
Matheus Kerschbaum
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Jeff Muizelaar
49449c6d82 Bug 695498. Backout 7aa60d6408b3.
mDecoder can go NULL when we don't expect it.
2011-11-04 13:47:28 -04:00
Jeff Muizelaar
34d35f37f6 Bug 695962. imglib: Remove a bunch of null checks after new. r=bholley 2011-10-19 23:21:56 -04:00