Nicholas Nethercote
51f20b1833
Bug 820132 - Measure imgFrame::mOptSurface's size where possible, instead of calculating it. r=joedrew.
...
--HG--
extra : rebase_source : da7616356429242e924a09df1124b1dbab13ad60
2012-12-18 21:59:30 -08:00
Nicholas Nethercote
bfc09f0017
Bug 820128 - Use moz_malloc_size_of to measure "images-content-used-uncompressed". r=jlebar.
...
--HG--
extra : rebase_source : 07e397f24a74b0e534d8ebbab53a48b7cbc3febc
2012-12-18 14:50:59 -08:00
Joe Drew
ca3f4c5e2b
Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel
2012-12-18 11:37:15 -05:00
Joe Drew
9269bc2fed
Bug 716140 - Merge imgIContainerObserver and imgIDecoderObserver since they aren't used in different places any more. r=jrmuizel
2012-12-18 11:37:15 -05:00
Joe Drew
6913da07ae
Bug 716140 - Don't use Gets on mImage from decoders.
2012-12-18 11:37:14 -05:00
Joe Drew
77375459da
Bug 716140 - Move imgStatusTrackerObserver to the cpp file. r=jrmuizel
2012-12-18 11:37:14 -05:00
Seth Fowler
412140da91
Bug 816374 - Don't export RasterImage from imagelib. r=joe
2012-12-17 18:35:46 -08:00
Seth Fowler
5ea77aa1a7
Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe
2012-12-17 17:35:07 -08:00
Seth Fowler
42c35e604d
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
1f6c96bff1
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
b5e9a2a186
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-14 15:42:18 -08:00
Seth Fowler
e6f67108a3
Bug 816374 - Don't export RasterImage from imagelib. r=joe
2012-12-03 16:22:32 -08:00
Seth Fowler
c51688f7e4
Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe
2012-12-13 17:02:26 -08:00
Seth Fowler
f8a0d139cd
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
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jeff Muizelaar
2a4a0dfdaf
Bug 811891. Only sync decode once per image. r=joe
...
Bug 799335 intentionally caused us to do some decoding everytime StartDecoding
is called. This can be multiple times per paint which can delay tab switch
substantially.
--HG--
extra : rebase_source : d3f151e85c142984c39f21ff7e13d1d37d39a4bf
2012-12-15 14:03:42 -05:00
Jeff Muizelaar
47c921e73e
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Jeff Muizelaar
4dbb0d07f2
Bug 821448. Make a bunch of imagelib classes builtinclass. r=joe
...
We don't want script implementing these.
--HG--
extra : rebase_source : dfe4a8c3f201e6dab5bd6c055fa10463a8f00029
2012-12-14 14:42:36 -05:00
Adam Dane [:hobophobe]
aa2e6cf362
Bug 819412 - Test for Bug 733553 gets desynched under load r=joe
2012-12-10 15:13:42 -06:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Patrick McManus
3e1b783f24
bug 792438 - part 0. imagelib proxies should share load group root r=joedrew
2012-12-04 18:06:29 -05:00
Joe Drew
844dd0599a
Bug 804559 - Use correct rounding code instead of rolling our own. r=jrmuizel
...
Drew's First Law of Programming: If you write your own rounding code, you will
be wrong 100% of the time.
2012-12-03 18:02:11 -05:00
Joe Drew
da2ef18bab
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
Robert O'Callahan
01b72b4b81
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
2023afbbb4
Bug 801366 - Restrict GIF pixels to the range of the colormap. r=jrmuizel
2012-11-28 10:41:31 -05:00
Jonathan Kew
abddb4e8e4
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
65cbbd034d
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
aa99449330
Test case for bug 815359 - r=joe
2012-11-27 21:55:10 -05:00
Ehsan Akhgari
6206cca436
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
cf0fa3d371
Bug 813800 - Never revalidate data URIs. r=joe
2012-11-20 16:58:32 -08:00
Ehsan Akhgari
de15f90350
Bug 813787 - Remove support for image-sniffing-services; r=joe
2012-11-20 19:08:06 -05:00
Joe Drew
cc5c8dd282
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
f754fd5fcb
Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy
2012-11-19 09:09:17 -08:00
Jeff Muizelaar
2c4d59c7eb
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
440d2df25e
Bug 803125 - Notify status tracker when image request is destroyed. r=joe
2012-11-17 13:33:20 +00:00
Ryan VanderMeulen
6c954363f7
Backed out changeset fb3e2fb82000 (bug 802390) for mochitest bc orange.
2012-11-16 16:58:11 -05:00
Joe Drew
9775b3728a
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
2535ac7838
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
102fccacd8
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
5ca8550984
Bug 795648 - Don't synchronously decode images during painting. r=joe
2012-11-16 10:04:29 -08:00
Honza Bambas
972e6c97df
Bug 734062 - Followup: fixed unused varialble use, r=joedrew
2012-11-14 13:56:56 +01:00
Josh Matthews
3c46b167b3
Bug 803121 - Avoid using virtual functions in imgRequestProxy's destructor. r=joe
2012-10-19 15:39:38 -04:00
Jeff Muizelaar
0b4904f43a
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
292e3a2a66
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
08beb17936
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
789d116d2c
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
9efa1b8f4d
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
24e7854e4d
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
5d56c2ede7
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
7864e2fd96
Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe
2012-11-03 23:04:07 -04:00