Граф коммитов

544 Коммитов

Автор SHA1 Сообщение Дата
Joe Drew fbc1011912 Bug 716140 - Allocate frames asynchronously with a separate worker dispatched to the main thread. r=seth
--HG--
extra : rebase_source : 116fa383362c5ff7016e81c345645fa2607cf9a3
2013-02-27 14:23:08 -05:00
Joe Drew 65bbe81d84 Bug 716140 - Set the size of images via ImageMetadata objects. r=seth
* * *
imported patch jpeg-size-decode-more-writing

--HG--
extra : rebase_source : 34f28c95b7164c35678f9e61faa3a8497da25893
2013-02-27 14:23:08 -05:00
Joe Drew d38580343a Bug 716140 - Set metadata directly on frames. r=seth
--HG--
extra : rebase_source : d3899816bb6b5f816955a53c2cd7ad1bf8ad788a
2013-02-27 14:23:08 -05:00
Joe Drew bcfc2cf2fa Bug 716140 - Make SVG images handle the new world order. r=dholbert
--HG--
extra : rebase_source : 988402c76d1d260148a25d0b3f91e4bd1639efe6
2013-02-11 19:34:20 -05:00
Joe Drew 9a16ada25b Bug 716140 - Handle errors correctly. r=seth
--HG--
extra : rebase_source : 97f714b139508092ef5a733313f10e281b0bc6fe
2013-02-01 20:06:34 -05:00
Joe Drew ab990dff82 Bug 716140 - Preallocate frames before going into a decoder. r=seth
--HG--
extra : rebase_source : 6445356bc4a01ac2890eca855103e58bda772095
2013-02-01 20:06:30 -05:00
Joe Drew 9cf500f344 Bug 716140 - Run a size decode even if we're not storing source data. r=seth
--HG--
extra : rebase_source : 732ed17d8edec893fd6fdc8dc12c1d4a8bcbc330
2013-02-01 14:36:39 -05:00
Joe Drew 4225ddb497 Bug 716140 - Always run a size decode before doing a full decode so we know the size before decoding. r=jlebar
--HG--
extra : rebase_source : de3388c861b00b135b658ea9a9225b0cc58e389a
2013-01-31 13:38:24 -05:00
Joe Drew 3a1ba4d188 Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Joe Drew 4d3a7dae17 Bug 716140 - Count complete frames in Decoder::Finish(), not just whatever frame objects mImage has. r=seth
--HG--
extra : rebase_source : 2466ec5e5bc64d8d60190cdc4805eaa73bf695af
2013-02-07 17:23:44 -05:00
Joe Drew 13684808f2 Bug 716140 - Make mImageData and mColormap (and their sizes) protected members of mozilla::image::Decoder rather than the leaf classes.
--HG--
extra : rebase_source : d4f506a669d5b18a33676434ad0cc512216956d5
2013-01-28 12:26:36 -05:00
Joe Drew b2712b400e Bug 716140 - Create a clone imgStatusTracker on every asynchronous decoding event, and replay the difference between that imgStatusTracker and the image's current status tracker when decoding completes. r=seth
* * *
[mq]: test-fixes
* * *
[mq]: undefer-on-remove
* * *
imported patch notify-in-sequence

--HG--
extra : rebase_source : 01a495a64cb4b6a8076a3550c254ddd804f53e80
2013-01-18 16:47:18 -05:00
Joe Drew fcda375530 Bug 716140 - Handle discarding specially so it gets notified synchronously. r=seth
--HG--
extra : rebase_source : 1bd66dcec4925b486af0905dbd07286bb3ae729e
2013-02-07 17:22:38 -05:00
Joe Drew c5a2a76f54 Bug 716140 - Heap-allocate DecodeRequests so we know when we're still decoding an image. r=seth
--HG--
extra : rebase_source : c03271201f48efb29972a1b6834036638029810c
2013-01-18 16:47:18 -05:00
Joe Drew 9ebff14b7f Bug 716140 - Add SetObserver method to Decoder instead of initializing it in the constructor. r=seth
In order to have "throw-away" imgStatusTrackers that we'll use to track an
individual decode chunk's status, we need to be able to change the observer on
a decoder.

--HG--
extra : rebase_source : b10a050022f80dddeeea62e77d3f208598311d4f
2013-01-18 16:47:18 -05:00
Joe Drew 5464a29b35 Bug 716140 - Calculate the difference between two imgStatusTrackers, notify for that difference, and apply it to the source. r=seth
This patch adds two semi-unrelated functions, currently unused:
 - SyncAndSyncNotifyDifference, which synchronizes the current
   imgStatusTracker to have the state of the argument imgStatusTracker, and
   notifies our observers about the new state;
 - CloneForRecording, which will let us create a new imgStatusTracker based on
   the current state for use with SyncAndSyncNotifyDifference.

--HG--
extra : rebase_source : 2b9072e38f9dabf4d2cbe0d7c129b44c81743591
2013-01-18 16:47:17 -05:00
Joe Drew 7eb23e8ba4 Bug 716140 - Factor out notification of a particular imgStatusTracker state into its own function. r=seth
--HG--
extra : rebase_source : ba72f5c3aa1b47d8c6f36d1c2d0202d55671a1d2
2013-01-18 16:47:17 -05:00
Joe Drew 7b8b1eec0e Bug 716140 - Make an (unused) imgDecoderObserver implementation that doesn't notify proxies when it gets an observer function call, and rename the old version (which will be going away). r=jlebar
--HG--
extra : rebase_source : 4e09ccd83f0a4a26277fd65916c175189c1b8ba6
2013-01-02 12:00:50 -05:00
Joe Drew ea56123eb4 Bug 716140 - Explicitly record whether an image is animated. r=seth
--HG--
extra : rebase_source : 741a16bd8c5cf30af839629deeb0274638b8720c
2013-01-18 16:47:17 -05:00
Joe Drew b6ca7b60e8 Bug 716140 - Track the invalid area for the latest frame from within imgStatusTracker. r=seth
--HG--
extra : rebase_source : 1a1197b63279a52eaf11faefa199f538b4f960f7
2013-01-18 16:47:17 -05:00
Joe Drew 9f889623b9 Bug 716140 - Create and Send OnStartFrame when a frame starts. r=seth
--HG--
extra : rebase_source : 7af770a5cc28c2a6d199e632c706330a0d582659
2013-01-18 16:47:17 -05:00
Joe Drew 70decf9aee Bug 716140 - imgDecoderObserver::OnDataAvailable is simply a duplicate of imgDecoderObserver::FrameUpdated, so remove it. r=seth
--HG--
extra : rebase_source : 90d828b429a6dd629b76912a4a58c802d2318d34
2013-01-18 16:47:17 -05:00
Joe Drew adf62cd6b9 Bug 716140 - Remove explicit imgStatusTracker::mBlockingOnload, as it's implied by stateBlockingOnload. r=khuey
--HG--
extra : rebase_source : 4368c09438bd6cb288a0c845ff20cb8a3f0c5560
2012-12-20 11:49:26 -05:00
Joe Drew b56f5d3a1f Bug 716140 - Track image metadata in a separate object, and sync it to the image once decoding is done. r=jlebar
--HG--
extra : rebase_source : ba1173bc1cf090ed02f3a9a7927382c302576088
2012-12-20 11:49:25 -05:00
Joe Drew eeeeac4775 Bug 716140 - Don't call Set* methods directly on images from decoders; call them from the Decoder base class. r=seth
--HG--
extra : rebase_source : 9f7ec3cb8b8393053abbc872d706a6304a157d55
2012-12-19 15:11:42 -05:00
Gregory Szorc 89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders 37866632e6 bug 852379 - remove unneeded prlock.h includes r=Ms2ger 2013-03-16 22:46:40 -04:00
Timothy Nikkel 1a564394b1 Bug 851785. Stop RasterImage::FrameRect from initiating a decode. r=joe
imgStatusTracker::SyncNotify is the only caller and it does not need a decode to be initiated.

This prevents us from kicking off a decode for almost every image we download.
2013-03-18 16:10:28 -05:00
Timothy Nikkel 8f3da71640 Bug 851785. Stop expecting the image to be decoded in async_load_tests.js because it never does anything that would require a decode to happen. r=joe 2013-03-18 16:10:26 -05:00
Ed Morley ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley 3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard 919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc 7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger 51cced7786 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger 4f5fca99bc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger eb52584f84 Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:13 +01:00
Shih-Chiang Chien 33c3c6c7de Bug 847310 - Test cases for WBMP decoder. r=joe 2013-03-08 16:04:51 +08:00
Shih-Chiang Chien e51f538dd6 Bug 847310 - WBMP decoder implementation. r=joe 2013-03-08 11:17:29 +08:00
Gregory Szorc 426ac0cdd3 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Jim Mathies cf587a7cd9 Bug 848963 - disable bug415761 reftest on Win8 due to bug 850194. r=bbondy 2013-03-12 09:57:52 -05:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Seth Fowler ec23f3c541 Bug 843895 (Part 4) - Use FrozenImage instead of ExtractFrame for imgRequestProxy::GetStaticRequest. r=joe 2013-03-10 18:43:38 -07:00
Seth Fowler 52dd08a044 Bug 843895 (Part 3) - Add the FrozenImage wrapper class to stop image animation. r=joe 2013-03-10 18:43:38 -07:00
Seth Fowler e63ce3659a Bug 843895 (Part 2) - Add ImageWrapper. r=joe 2013-03-10 18:43:38 -07:00
Seth Fowler 0f684de7ac Bug 843895 (Part 1) - Add an aWhichFrame parameter to imgIContainer::Draw. r=joe 2013-03-10 18:43:37 -07:00
Seth Fowler e5b7b7c5e0 Bug 847630 - Stop deferring OnStopRequest in VectorImage. r=joe 2013-03-10 14:04:29 -07:00
Seth Fowler 9c8dbc3c77 Bug 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me 2013-03-12 13:42:09 -07:00