Joe Drew
677ca94c3f
Bug 873505 - Set the animation frame's start time based on when we *wanted* to start, not when we actually did. r=seth
...
--HG--
extra : rebase_source : 3a227e377e84d23f00ba11352fe22fa51c0d2958
2013-05-17 13:41:35 -04:00
Joe Drew
b673e908d6
Bug 875173 - Fix an infinite loop in RasterImage::RequestRefresh when, for whatever reason, we can't advance a frame after we've advanced at least one. r=seth
...
--HG--
extra : rebase_source : 805fc9ab44fe0c99cab80f9d3c717b94727fcfd4
2013-05-23 09:40:58 +08:00
Seth Fowler
749e04b4b6
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 17:10:38 +08:00
Ed Morley
f05cfda4de
Backed out changeset 11de174da4a4 (bug 873455) for assertions
2013-05-22 09:18:27 +01:00
Seth Fowler
1c71cd9d8c
Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe
2013-05-22 15:46:57 +08:00
Seth Fowler
7b516b11c6
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 15:33:08 +08:00
Joe Drew
8d2709698b
Bug 861595 - Don't try to decode anything if we don't have any bytes to decode. r=seth
2013-05-22 13:38:06 +08:00
Ed Morley
fe6fc2f6b0
Backed out changeset 3948ffacb5fb (bug 873455) for assertions on a CLOSED TREE
2013-05-21 12:40:13 +01:00
Seth Fowler
639ea48407
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-21 17:36:09 +08:00
Ryan VanderMeulen
20741feef6
Backed out 5 changesets (bug 817700) for Ubuntu32 PGO mochitest-1 timeouts on a CLOSED TREE.
...
Backed out changeset fad852b5819a (bug 817700)
Backed out changeset 7a3535c6e652 (bug 817700)
Backed out changeset 44a748256eca (bug 817700)
Backed out changeset 06ae8895852b (bug 817700)
Backed out changeset d6bddc947d38 (bug 817700)
2013-05-15 15:25:47 -04:00
Stephen Pohl
9f6fd6b282
Bug 817700 - Make <canvas>.toBlob run asynchronously - imglib changes. r=seth
2013-05-15 08:21:22 -04:00
Seth Fowler
616cce0dd1
Bug 867009 (Part 1) - Remove imgFrame::Extract. r=joe
2013-05-13 14:54:40 -07:00
Robert O'Callahan
ac14393b0c
Bug 865546 - Propagate FLAG_CLAMP through RasterImage::DrawWithPreDownscaleIfNeeded. r=joedrew
2013-05-09 13:42:12 -04:00
Joe Drew
52ef83b337
Bug 868871 - Don't do any invalidation from under RasterImage::GetImageContainer(), which is called while painting. r=seth
2013-05-09 09:36:57 -04:00
ISHIKAWA, Chiaki
406d7bae3a
Bug 866463 - Remove the initial incorrect assignment. r=joe
2013-05-08 09:14:26 -04:00
Seth Fowler
121c299feb
Bug 859377 (Part 5) - Use CreateOffscreenDrawTarget instead of CreateOffscreenSurface. r=joe
...
--HG--
extra : rebase_source : ff31b47bcfd2cc6c733903a885e08ce7add358dd
2013-05-07 10:47:42 -07:00
Timothy Nikkel
d1b622d17d
Bug 866959. Make sure to initialize mHasBeenDecoded in all constructors of imgStatusTracker. r=seth
2013-04-30 18:35:00 -05:00
Seth Fowler
d48060c7da
Bug 859377 (Part 4) - Make ClippedImage use gfxImageSurfaces on Windows. r=me
2013-04-30 16:28:25 -07:00
Timothy Nikkel
9aefcaa4ce
Bug 866259. Vector images need to send the unlocked draw notification too because it is also responsible for managing the number of animation consumers. r=joedrew
2013-04-29 14:10:16 -05:00
Joe Drew
a75f4d6413
Bug 853564 - Deal with outstanding decoding-done notifications from within RequestDecode so we don't have to wait for the event loop. r=seth
...
--HG--
extra : rebase_source : 256eb11410196dd09319b02b20111ea87c4b57d6
2013-04-26 16:43:17 -04:00
Timothy Nikkel
a076704e44
Bug 865993. For layerized images GetImageContainer has the same meaning as Draw()'ing the image, and Draw will not be called on the image, so send the unlocked draw notification there too. r=joedrew
2013-04-26 14:58:17 -05:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Seth Fowler
f3cf00b3f9
Bug 853774 - RequestBehaviour must handle null owners. r=joe
2013-04-25 20:30:29 -07:00
Seth Fowler
05a976db1b
Bug 859377 (Part 3) - Make ClippedImage cache temporary surfaces. r=joe
...
--HG--
extra : rebase_source : 060615904e1b416f84b4d6ecf6329841896f13da
2013-04-25 15:58:32 -07:00
Seth Fowler
8ba747eda2
Bug 859377 (Part 1) - Add imgIContainer::GetFrameIndex. r=joe sr=bz
...
--HG--
extra : rebase_source : e81992f8bead31b273f4afb4fb589849ec1c5218
2013-04-25 15:58:20 -07:00
Joe Drew
e035b7c8eb
Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn
2013-04-25 18:08:58 -04:00
Joe Drew
60014f40bc
Bug 863975 - Handle the situation that we're left mid-frame when decoding a multi-frame image. r=seth
...
--HG--
extra : rebase_source : e485eb48a615f3e35e4e5592d0f37604402142f8
2013-04-25 16:35:23 -04:00
Timothy Nikkel
13ed3b291e
Bug 863970. Remove some dead code in imagelib. r=seth
2013-04-24 23:37:00 -05:00
Seth Fowler
521a452088
Bug 854287 - Don't send partial invalidations for images which have already been decoded. r=joe
2013-04-18 16:31:46 -07:00
Joe Drew
913e4b5d18
Bug 855923 - Set the multithreaded image decoding thread pool's idle thread limit in addition to the regular thread limit. r=seth
2013-04-23 10:06:56 -04:00
Joe Drew
98b255627a
Bug 860149 - Mark ourselves as doing synchronous decoding when writing directly to decoders in AddSourceData. r=seth
...
--HG--
extra : rebase_source : 1d48d2ba8bc880bb9a52fd1f9f6a95849f12992a
2013-04-17 20:05:49 -04:00
Joe Drew
b32d1b4d0b
Bug 857367 - Remove DecodePool::mShuttingDown, which is unnecessary. r=seth
...
--HG--
extra : rebase_source : a323f90de5d1616f50a6d9aa717c7b423f230c92
2013-04-17 20:05:19 -04:00
Joe Drew
02bf4e10f8
Bug 857876 - If we're not storing source data, explicitly shut down the decoder when the image data is complete. r=seth
2013-04-16 15:55:45 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Nicholas Nethercote
f5378cec64
Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
...
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Luis de Bethencourt
870366be4c
Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew
2013-04-15 22:05:46 -04:00
Seth Fowler
7e3fecce7e
Bug 859718 - Don't assume we have mImageRequest in RasterImage::IsDecodeFinished. r=joe
...
--HG--
extra : rebase_source : ec57c42b17398f0c90d19f35834e389444059b7f
2013-04-15 14:34:18 -07:00
Andrew McCreight
97b5ddaea5
Bug 853707 - Fix bogus assert in StaticBehaviour::SetOwner. r=joedrew
2013-04-02 17:48:42 -07:00
Luis de Bethencourt
efe34d2b7f
Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew
2013-04-12 16:25:04 -04:00
Luis de Bethencourt
96f0654518
Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew
2013-04-12 16:25:04 -04:00
Shih-Chiang Chien
2a87c8df9d
Bug 857831 - Remove WBMP content sniffer. r=jmuizelaar
2013-04-11 07:48:09 -04:00
Patrick McManus
7da05b6e3a
bug 857906 progress indicator spinning on multipart motion jpeg r=duell sr=bz
...
--HG--
extra : rebase_source : 6b3beea6f6bb91e21c37e6dd01e5c6445317f994
2013-04-09 13:38:48 -04:00
Seth Fowler
b98a20274f
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
...
--HG--
extra : rebase_source : fcf5028a8f91f28306ca009cbe41f48794f19291
2013-04-05 14:15:05 -07:00
Seth Fowler
e97100579c
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
Seth Fowler
b78a4dda08
Bug 826093 (Part 1) - Add ClippedImage. r=joe
...
--HG--
extra : rebase_source : 2a7bb09ee0b1c221b4b57c5d201c282f5c6f52fb
2013-04-05 14:14:32 -07:00
Phil Ringnalda
d372c62b0a
Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure
2013-04-04 21:06:58 -07:00
Seth Fowler
3d7422de02
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
830f88cb0b
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
30d5f2d31e
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-04-04 19:06:41 -07:00
Seth Fowler
03541f5492
Bug 857367 - Make it safe to call RasterImage::DecodePool::RequestDecode off the main thread. r=tn
...
--HG--
extra : rebase_source : c7c91e08ca0ca200d5c3c4cb24475a6445748842
2013-04-04 18:01:41 -07:00
Seth Fowler
2ab1d5532d
Bug 856602 - RasterImage::DecodeJob should not reschedule itself if it can't make progress. r=tn
...
--HG--
extra : rebase_source : b8a9b535771f2bb607b8fbf1244ba2248452ac60
2013-04-04 17:57:40 -07:00
Seth Fowler
1cea6ec22f
Bug 856486 (Followup 2) - Make sure we use the buffered frame, when appropriate, for all callers of GetDrawableImgFrame. r=me
2013-04-04 15:46:08 -07:00
Seth Fowler
48a7e71857
Bug 856486 (Followup) - Make sure we use the buffered frame, when appropriate, for all callers of GetDrawableImgFrame. r=me
2013-04-04 15:05:19 -07:00
Seth Fowler
0f6297a555
Bug 856486 (Part 2) - Buffer the last fully-decoded frame for multipart images. r=jrmuizel
2013-04-03 19:19:38 -07:00
Seth Fowler
b6b7251367
Bug 856486 (Part 1) - Avoid asserts triggered by rapid off-main-thread decoding. r=jrmuizel
2013-04-03 19:18:42 -07:00
Robert Lickenbrock
214315a640
Bug 854803 - Part 2: Don't try to enqueue more decoding from DecodeDoneWorker. r=seth
...
--HG--
extra : rebase_source : 0d46455743f02d58c5615c72afb90bba13d505bc
2013-04-03 16:34:58 -07:00
Robert Lickenbrock
738142616c
Bug 854803 - Part 1: Account for more decoder state in RasterImage::IsDecodeFinished(). r=seth
...
--HG--
extra : rebase_source : 7fa2c43c5146eca831d5775d1ba4d0c665404626
2013-04-03 16:34:56 -07:00
Seth Fowler
f089ab00de
Bug 857275 - Remove RasterImage::FrameUpdated. r=jrmuizel
...
--HG--
extra : rebase_source : 4d8209630bb8da562530a817f43cfd49243a379a
2013-04-02 16:42:20 -07:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Luis de Bethencourt
ffc494cab7
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04:00
Mina Almasry
797287a144
Bug 582783 - Move windows.h include and undef LoadImage to gfxWindowsSurface.h. r=joe
2013-03-25 17:53:54 -04:00
Shih-Chiang Chien
c665155214
Bug 852053 - Support WBMP on FirefoxOS only. r=joe
2013-03-20 14:03:07 +08:00
Ryan VanderMeulen
0922380a81
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
a3368113cc
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
4a933303ef
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
840b0e20cc
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 16:29:12 -07:00
Matt Brubeck
2ed7678151
Bug 795376 - Followup to fix bustage from incorrect conflict resolution on a CLOSED TREE
2013-03-26 15:42:02 -07:00
Luis de Bethencourt
b27cfa793b
Bug 795376 - Use high-quality scaler for upscaling raster images [r=joedrew]
2013-03-24 12:37:21 -04:00
Ryan VanderMeulen
916f9eafbf
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
3d4a2fd8a3
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 11:56:47 -07:00
Seth Fowler
67cfb471eb
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-03-26 11:56:46 -07:00
Seth Fowler
629754a3c2
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 11:56:46 -07:00
Benoit Girard
fc10a7cfe4
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 : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Joe Drew
bb6f65fd16
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
fdd7352f67
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Trevor Saunders
f3bfbc2ddd
backout 275cd395f9fa and 9e4b22851976 bug 716140 for breaking linux tp on a CLOSED TREE
2013-03-24 15:43:20 -04:00
Joe Drew
636983f7e2
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
bf3283de15
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Joe Drew
897f5fe8e0
Bug 853536 - Never write to size-only decoders when we've already gotten the size. r=jrmuizel
...
--HG--
extra : rebase_source : 14e8cf30dc665eab10e04ef643513bcfad633ea2
2013-03-23 11:05:55 -04:00
Joe Drew
1587c1c909
Bug 853337 - Make sure we actually call Flush and MarkDirty on frames when we've done some decoding work. r=seth
2013-03-22 22:05:44 -04:00
Joe Drew
3cef9747ad
Back out e1d71b13e35f (Bug 853337) for crashes on a CLOSED TREE
2013-03-22 21:13:24 -04:00
Wes Johnston
e254391954
Bug 419588 - Add support for a resolution media fragment. r=seth
2013-03-22 16:12:40 -07:00
Joe Drew
8f96c3d4f0
Bug 853337 - Make sure we MarkDirty on our image frames after every piece of decoding. r=seth
...
--HG--
extra : rebase_source : 097f3a7d59f7a59f5b8c1a6bcf7a0bce99235051
2013-03-22 18:47:25 -04:00
Joe Drew
63ff5957dc
Bug 853390 - Notify our listeners after creating decoders to ensure onload is correctly blocked. r=seth
...
--HG--
extra : rebase_source : f846da6a01b95e2ba389689bb97cb9242fa09a4f
2013-03-22 18:46:20 -04:00
Seth Fowler
5f455b952f
Bug 851416 - Ensure SVGRootRenderingObserver always gets added back to the rendering observer list. r=dholbert
...
--HG--
extra : rebase_source : e945338503a9dbaf2ad4b4925c8f8993555e605c
2013-03-21 11:22:42 -07:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Joe Drew
b331eb8555
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
5b5ff16d15
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
39b180a45f
Bug 716140 - Set metadata directly on frames. r=seth
...
--HG--
extra : rebase_source : d3899816bb6b5f816955a53c2cd7ad1bf8ad788a
2013-02-27 14:23:08 -05:00
Joe Drew
4843cee9e1
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
0349f6aeb4
Bug 716140 - Handle errors correctly. r=seth
...
--HG--
extra : rebase_source : 97f714b139508092ef5a733313f10e281b0bc6fe
2013-02-01 20:06:34 -05:00
Joe Drew
7d7f4428f7
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
c6cdce35eb
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
a4fb0a698b
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
ffcb478530
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
82ec48a5a0
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
7aa4fdd72d
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
5fd88749b5
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
d0c874d59f
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
82d083ed44
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
e3aad71854
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
05e13f261f
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
b85c3b1328
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
549f22bd07
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
cb88c52e27
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
459363c7b9
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
6ec9e2fb0d
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
b1f9cd3d6f
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
f5a344d560
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
7ab61b029d
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
8a43b8d666
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
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
7b5cc7e54d
bug 852379 - remove unneeded prlock.h includes r=Ms2ger
2013-03-16 22:46:40 -04:00
Timothy Nikkel
6f6cf6ed15
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
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
a2173990cc
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
96307a5c9b
Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:13 +01:00
Shih-Chiang Chien
52d6dc4b9b
Bug 847310 - WBMP decoder implementation. r=joe
2013-03-08 11:17:29 +08:00
Seth Fowler
8e35291dcd
Bug 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me
2013-03-12 13:42:09 -07:00
Seth Fowler
fab812ffeb
Bug 843895 (Part 4) - Use FrozenImage instead of ExtractFrame for imgRequestProxy::GetStaticRequest. r=joe
2013-03-10 18:43:38 -07:00
Seth Fowler
b6a06b903e
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
0f558c8931
Bug 843895 (Part 2) - Add ImageWrapper. r=joe
2013-03-10 18:43:38 -07:00
Seth Fowler
ed3494d327
Bug 843895 (Part 1) - Add an aWhichFrame parameter to imgIContainer::Draw. r=joe
2013-03-10 18:43:37 -07:00
Seth Fowler
85877bfa73
Bug 847630 - Stop deferring OnStopRequest in VectorImage. r=joe
2013-03-10 14:04:29 -07:00
Joe Drew
50670e143c
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135
2013-02-15 11:48:17 -05:00
Joe Drew
2b2ae2d87a
Back out the code changes from bug 841579 for causing a frequent intermittent failure.
...
--HG--
extra : rebase_source : 4748bf23718b781128f93364fad3c6ca924a2008
2013-03-06 15:49:40 -05:00
Joe Drew
216bdb5253
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : b2ca068840c2e4effc8c93fd9e5effe122e8b45e
2013-02-15 11:48:17 -05:00
Joe Drew
4e44a3b3c3
Bug 840353 - Don't send OnStopRequest if we're cancelled. r=khuey
2013-02-13 14:57:16 -05:00
Daniel Holbert
1859a93138
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Seth Fowler
9949fcf6e3
Bug 846132 (Part 3) - Remove imgIContainer::CopyFrame. r=jdm
2013-03-05 15:39:48 -08:00
Seth Fowler
107f1fb56b
Bug 846132 - (Part 2) Update CopyFrame callers to use GetFrame. r=jdm
2013-03-05 15:39:48 -08:00
Joe Drew
52a9d66336
Backed out 2 changesets (bug 841579) on a CLOSED TREE
...
Backed out changeset d21d144e3db9 (bug 841579)
Backed out changeset 0222cb048028 (bug 841579)
2013-03-04 17:27:51 -05:00
Joe Drew
f6ffc8e22d
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
Joe Drew
cd9a0e5c47
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Daniel Holbert
fe1bb0bf77
Bug 846078 part 2: Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in VectorImage.cpp. rs=seth
2013-02-28 22:45:00 -08:00
Daniel Holbert
81ca8dd08f
Bug 846078 part 1: Code-cleanup in helper classes within VectorImage.cpp. r=seth
2013-02-28 22:44:59 -08:00
Daniel Holbert
6a3088413e
Bug 846046: Make VectorImage member-vars type 'bool' instead of 'bool:1', and use AutoRestore to clear mIsDrawing at the end of Draw(). r=joe
2013-02-28 22:44:57 -08:00
Seth Fowler
6dd7438b3f
Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert
2013-02-28 16:43:43 -08:00
Ryan VanderMeulen
4ce512d606
Backed out changeset 1cf12e699dc7 (bug 846028) for reftest crashes on a CLOSED TREE.
2013-02-28 16:59:26 -05:00
Seth Fowler
76f4d9d44a
Bug 842850 (Part 2) - Remove imgIContainer::GetRootLayoutFrame. r=dholbert,joe sr=bz
2013-02-28 12:22:46 -08:00
Seth Fowler
66d7e369f0
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08:00
Seth Fowler
ffc81e238d
Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert
2013-02-28 12:02:31 -08:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
faf262c4ee
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Seth Fowler
bfbd6dcfd3
Bug 844403 - Make VectorImage cancel all listeners when destroyed. r=dholbert
2013-02-25 17:40:13 -08:00
Gregory Szorc
afd08540c0
Bug 784841 - Part 18p: Convert /image; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Timothy Nikkel
8919430d6a
Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats
2013-02-24 18:59:22 -06:00
Seth Fowler
68f9bf1917
Bug 845234 - Add null check in VectorImage's listener Cancel methods. r=dholbert
2013-02-26 13:21:07 -08:00
Seth Fowler
b929bbb906
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Ryan VanderMeulen
eb66260ea3
Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts.
2013-02-20 12:20:12 -05:00
Seth Fowler
2ad970af3d
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Seth Fowler
c096395936
Bug 839739 - Remove bad NS_ENSURE_STATE in imgRequestProxy::AdjustPriority. r=joe
2013-02-15 17:00:03 -08:00
Seth Fowler
d7a6834226
Bug 704059 - Part 2: Let images call imgStatusTracker::OnStopRequest. r=joe
2013-02-13 18:41:10 -08:00
Seth Fowler
069e7d62ce
Bug 704059 - Part 1: Decouple OnStopRequest and OnStopDecode for VectorImage. r=joe, r=dholbert
2013-02-13 18:04:08 -08:00
Seth Fowler
096a1c614f
Bug 840841 - Remove mObserver from RasterImage and VectorImage. r=joe
2013-02-12 19:00:03 -08:00
Seth Fowler
810b4d3daa
Bug 840851 - Mark RasterImage::Initialize as static in RasterImage.cpp. r=joe
2013-02-13 14:03:37 -08:00
Seth Fowler
824657df52
Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe
2013-02-13 13:53:42 -08:00
Seth Fowler
218a8ef1ee
Bug 840843 - Rename RasterImage::eShutdownIntent_Interrupted to eShutdownIntent_Unneeded. r=joe
2013-02-13 13:41:45 -08:00
Chris Jones
c0817a354e
Bug 841154: Add a sample label for image decoding. r=khuey
2013-02-13 13:49:57 -08:00
David Zbarsky
61eee9a22a
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Kyle Huey
6dc3226a04
Bug 835814. r=joe
2013-02-05 09:38:22 +00:00
Seth Fowler
a79762d116
Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe
2013-02-04 16:06:14 -08:00
Seth Fowler
9e646b4929
Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe
2013-02-04 14:22:30 -08:00
Seth Fowler
fcd0c77a69
Bug 828176 - Make RasterImage::GetURIString work again. r=joe
2013-01-30 12:11:20 -08:00
Ryan VanderMeulen
c0fd51f77b
Backed out changeset 25ea9ac37380 (bug 828176) for crashes.
2013-01-30 18:16:09 -05:00
Seth Fowler
5821dd1fff
Bug 828176 - Make RasterImage::GetURIString work again. r=joe
2013-01-10 18:15:05 -08:00
Seth Fowler
96a19d6d45
Bug 820602 - Remove change to decoder notification behavior that causes AWSY leak. r=joe
2013-01-25 18:39:11 -08:00
Joe Drew
12f4aa24df
Bug 832446 - Don't use the high-quality downscaler on multipart images. r=jrmuizel
2013-01-21 11:37:54 -05:00
Mats Palmgren
6c53161814
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
Kyle Huey
8dca790c84
Bug 824658 - Avoid infinite decode loops of images by switching some GetFrame calls to GetFrameNoDecode. r=joe
2013-01-14 16:01:08 -05:00
Ryan VanderMeulen
68e828b65d
Backed out changeset c8fe09ac1842 (bug 825720) on suspicion of making bug 772443 nearly perma-orange.
2013-01-12 21:00:30 -05:00
Seth Fowler
ea4e910f0f
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Chris Peterson
f913a80fc9
Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan
2013-01-10 17:56:51 -08:00
David Zbarsky
e4a26da046
Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Seth Fowler
9ab61d4fcd
Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe
2013-01-08 13:40:47 -08:00
Jonathan Watt
57ed2aa0e9
Add a comment to SVGDocumentWrapper::OnStopRequest. DONTBUILD (NPOB). No bug.
2012-12-27 17:29:03 +00:00
Masatoshi Kimura
13ac82c57e
Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe
2013-01-05 12:55:23 +09:00
Justin Lebar
bd6f330cbc
Bug 825519 - Add telemetry for the max number of times any one image was decoded. r=joe
2013-01-03 16:06:08 -05:00
Ehsan Akhgari
fef43d061f
Backed out changeset 3d51d7f54e5d (bug 825519) because of build failures
2013-01-03 13:28:18 -05:00
Justin Lebar
21a56e1f99
Bug 825519 - Add telemetry for the max number of times any one image was decoded. r=joe
2013-01-03 12:52:58 -05:00
Masatoshi Kimura
b5e27745c8
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Nicholas Nethercote
acc80a9abd
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ryan VanderMeulen
1ed577fa28
Backed out changeset 5244caae8c46 (bug 822846) for Windows build bustage.
2012-12-23 11:45:38 -05:00
Seth Fowler
7278eff009
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
97ce4e1130
Bug 822526 - Turn mozilla::image::Image into an interface. r=joe
2012-12-19 14:24:32 -08:00
Seth Fowler
25f403a350
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-19 13:28:54 -08:00
Nicholas Nethercote
cc76233470
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
13dde2f3bd
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
d070cfdc5f
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
d49d3e14e7
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
43a95f9f61
Bug 716140 - Move imgStatusTrackerObserver to the cpp file. r=jrmuizel
2012-12-18 11:37:14 -05:00
Seth Fowler
6eb926a4d4
Bug 816374 - Don't export RasterImage from imagelib. r=joe
2012-12-17 18:35:46 -08:00
Seth Fowler
170cc5a604
Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe
2012-12-17 17:35:07 -08:00
Seth Fowler
879247bc7e
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
3aad78c6df
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
1230aaf81b
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-14 15:42:18 -08:00
Seth Fowler
30356bddc1
Bug 816374 - Don't export RasterImage from imagelib. r=joe
2012-12-03 16:22:32 -08:00
Seth Fowler
974dee4967
Bug 816362 - Refactor imgTools::DecodeImageData to remove imgIContainer argument and use ImageFactory. r=joe
2012-12-13 17:02:26 -08:00
Seth Fowler
90aaafe522
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 Muizelaar
9d65a426a6
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
b4e2a8d95a
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
Saurabh Anand
c9e3659e16
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Patrick McManus
72257971e8
bug 792438 - part 0. imagelib proxies should share load group root r=joedrew
2012-12-04 18:06:29 -05:00
Joe Drew
1f45fe2030
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
584b8dd15d
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
4fd3be0cc7
Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
...
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Nicholas Nethercote
0a76089154
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
Seth Fowler
16d868bb06
Bug 813800 - Never revalidate data URIs. r=joe
2012-11-20 16:58:32 -08:00
Ehsan Akhgari
3ff108e984
Bug 813787 - Remove support for image-sniffing-services; r=joe
2012-11-20 19:08:06 -05:00
Joe Drew
16eff3638c
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
ef4327744e
Bug 812932 - Have EndianMacros.h recognize __BIG_ENDIAN__ preprocessor macro - r=bbondy
2012-11-19 09:09:17 -08:00
Jeff Muizelaar
7406d0ccb6
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
41e92624f2
Bug 803125 - Notify status tracker when image request is destroyed. r=joe
2012-11-17 13:33:20 +00:00
Ryan VanderMeulen
d64a665956
Backed out changeset fb3e2fb82000 (bug 802390) for mochitest bc orange.
2012-11-16 16:58:11 -05:00
Joe Drew
9bbca08240
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
5737de8f11
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
0827ec3aaa
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
26e7462dbf
Bug 795648 - Don't synchronously decode images during painting. r=joe
2012-11-16 10:04:29 -08:00
Honza Bambas
4b1361b1c5
Bug 734062 - Followup: fixed unused varialble use, r=joedrew
2012-11-14 13:56:56 +01:00
Josh Matthews
9416cf2c50
Bug 803121 - Avoid using virtual functions in imgRequestProxy's destructor. r=joe
2012-10-19 15:39:38 -04:00
Jeff Muizelaar
20d1de1575
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
bd282adc07
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
a335e4be51
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
27b8218689
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
f9c594dd58
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
793acbdae0
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
cc2af4f753
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
4388c1b02d
Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe
2012-11-03 23:04:07 -04:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Abhishek Potnis
2509c81393
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
05a584c750
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
eb26e24d1b
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
Seth Fowler
775198e7ab
Bug 803349 - Restore NS_DECL_IMGICONTAINER to VectorImage / RasterImage. r=joe
2012-10-19 13:27:11 -07:00
Joe Drew
c6ec6d5484
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
67ad3c2619
Bug 801358 - Part 1 - Discard downscaled frames. r=jrmuizel
...
--HG--
extra : rebase_source : 1b699918323e7c116521cbde579aafb07846b2f6
2012-10-13 22:17:30 -04:00
Joe Drew
d8f7ba2fd2
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
38c28c41f2
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
573a5425f8
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
99d0a521a3
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
Joe Drew
78dd322d79
Bug 795940 - Part 0.1 - Allocate ScaleRequests dynamically and only hold on to a ScaleResult in RasterImage. Let ScaleRequests only hold a weak pointer to RasterImage so their lifetimes aren't bound. Finally, make ScaleRequests hold on to references to their surfaces instead of imgFrames. r=jlebar,jrmuizel
...
--HG--
extra : rebase_source : 335837e469e8318f0a70907060470b0a0e14ef21
2012-10-10 11:35:23 -04:00
Daniel Holbert
155b4147de
Bug 802409: Mark a bunch of /image subdirectories as FAIL_ON_WARNINGS. r=joe
2012-10-17 08:32:12 -07:00
Josh Matthews
2c140b0eaa
Bug 802144 - Don't delete memory used for image frames while the decoder could still try to use it. r=joe
2012-10-16 22:45:14 -04:00
Josh Matthews
23b999d286
Bug 801405 - Avoid attempting to optimize frames that no longer exist. r=joe
2012-10-15 18:06:43 -04:00
Josh Matthews
f1cf8a6ed3
Bug 801701 - Fix references to non-existent requests in status trackers for extracted frames. r=joe
2012-10-15 16:05:01 -04:00
Ehsan Akhgari
4770edb259
Silence a compiler warning about initialization order of RasterImage members, no bug
...
--HG--
extra : rebase_source : a109b2d20f362add2dbb38a6b2037adfab69941e
2012-10-13 17:28:39 -04:00
Patrick McManus
f77e276cbe
bug 801013 - imgRequest::AdjustPriority wrongly adjusts loadgroup instead of channel r=joedrew
2012-10-13 12:47:36 -04:00
Jeff Muizelaar
491b02a2e0
Bug 799335. Fix unintenional image flash on tab switch. r=joe,dholbert
...
This was caused by bug 792199.
There are two parts to this fix:
1. Always decode during StartDecoding even if we already have a Decoder
(hopefully this is safe) This was a bug in the original patch.
2. After calling StartDecoding() we recheck if we're complete and abort if
we're not doing a SYNC_DECODE. Before this regression we would usually be done
decoding the image because of the decoding we did when we Locked all of the
images on tab switch.
--HG--
extra : rebase_source : 9db93075aad2f45c6cc70d27ef67468b4507642c
2012-10-12 16:04:32 -04:00
Josh Matthews
80112a2809
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
572a9fc85e
Bug 505385 - Part 17: Clean up unused arguments in imgStatusTracker observers, document unclear things, etc. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
f0973fc5a9
Bug 505385 - Part 17: Consolidate image request failure handling code into a central location and deal with preexisting errors correctly. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
05bcc24587
Bug 505385 - Part 15: Fix cases where pending requests in nsImageLoadingContent could be cancelled and never receive OnStartRequest. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
e921e3d68c
Bug 505385 - Part 14: Update image request status on decoding errors. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
36511684e4
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
da0753d2a1
Bug 505385 - Part 12: Ensure clones of static image proxies result in more static proxies. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
2b389bf47d
Bug 505385 - Part 10: Remove GetConsumers from imgStatusTracker by delegating all remaining notification operations from imgRequest to the status tracker. r=joe
2012-10-12 12:11:21 -04:00
Josh Matthews
575c6923d4
Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe
2012-10-12 12:11:21 -04:00
Josh Matthews
d14b24720d
Bug 505385 - Part 8: Remove image reference from proxies, and delegate operations on images to the owning request or the status tracker. r=joe
2012-10-12 12:11:21 -04:00
Bobby Holley
ebfc6219aa
Bug 505385 - Part 7: Initialize imgRequestProxy with a status tracker. r=joe
...
This is sort of symbolic for now, since we keep mOwner and mImage and just
pull them off the tracker, but we'll soon change that. ;-)
2012-10-12 12:11:21 -04:00
Bobby Holley
ff52b30b32
Bug 505385 - Part 6: Expose imgRequest::GetStatusTracker, and ensure that it's never null. r=joe
...
We're slowly turning imgStatusTracker into the central coordination point between imgRequest,
imgRequestProxy, and Image, so we need it to be a bit more visible.
2012-10-12 12:11:21 -04:00
Bobby Holley
b4f53e6959
Bug 505385 - Part 5: Expose pointers to the imgRequest and Image on imgStatusTracker. r=joe
...
This will help us decouple imgRequest and imgRequestProxy.
2012-10-12 12:11:20 -04:00
Bobby Holley
8e97ba9c7b
Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe
2012-10-12 12:11:20 -04:00
Bobby Holley
66d01e9996
Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe
2012-10-12 12:11:20 -04:00
Bobby Holley
ea8c2c8456
Bug 505385 - Part 0: Remove the last vestiges of manual animation reset within imagelib. r=joe
...
This stuff should now all be taken care of by the AnimationConsumers infrastructure.
2012-10-12 12:11:20 -04:00
Josh Matthews
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
1194df95ea
Bug 505385 - Part 17: Clean up unused arguments in imgStatusTracker observers, document unclear things, etc. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
0ba2557f02
Bug 505385 - Part 17: Consolidate image request failure handling code into a central location and deal with preexisting errors correctly. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
7bc0fd2874
Bug 505385 - Part 15: Fix cases where pending requests in nsImageLoadingContent could be cancelled and never receive OnStartRequest. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
3b45c5148f
Bug 505385 - Part 14: Update image request status on decoding errors. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
44a4791d51
Bug 505385 - Part 12: Ensure clones of static image proxies result in more static proxies. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
2265705a65
Bug 505385 - Part 10: Remove GetConsumers from imgStatusTracker by delegating all remaining notification operations from imgRequest to the status tracker. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
6949f501f2
Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
af9ce4332d
Bug 505385 - Part 8: Remove image reference from proxies, and delegate operations on images to the owning request or the status tracker. r=joe
2012-10-11 21:34:23 -04:00
Bobby Holley
c63c777ca4
Bug 505385 - Part 7: Initialize imgRequestProxy with a status tracker. r=joe
...
This is sort of symbolic for now, since we keep mOwner and mImage and just
pull them off the tracker, but we'll soon change that. ;-)
2012-10-11 21:34:22 -04:00
Bobby Holley
7a41acba96
Bug 505385 - Part 6: Expose imgRequest::GetStatusTracker, and ensure that it's never null. r=joe
...
We're slowly turning imgStatusTracker into the central coordination point between imgRequest,
imgRequestProxy, and Image, so we need it to be a bit more visible.
2012-10-11 21:34:22 -04:00
Bobby Holley
c708293662
Bug 505385 - Part 5: Expose pointers to the imgRequest and Image on imgStatusTracker. r=joe
...
This will help us decouple imgRequest and imgRequestProxy.
2012-10-11 21:34:22 -04:00
Bobby Holley
9abde7bec9
Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe
2012-10-11 21:34:22 -04:00
Bobby Holley
ee2a546a5b
Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe
2012-10-11 21:34:22 -04:00
Bobby Holley
052f0f73fa
Bug 505385 - Part 0: Remove the last vestiges of manual animation reset within imagelib. r=joe
...
This stuff should now all be taken care of by the AnimationConsumers infrastructure.
2012-10-11 21:34:22 -04:00
Trevor Saunders
9b60ca6b7e
bug 797445 - remove prmem.h from imagelib r=joe
2012-10-03 14:10:31 -04:00
Kyle Huey
655e8a2821
Bug 799791: Remove unused boolean parameters and dead branches. r=jlebar
2012-10-11 09:35:43 -07:00
Kyle Huey
fde0463ade
Bug 789846: Ensure that we unblock unload if we're only pretending that the request finished. r=joe
2012-10-09 09:47:14 -07:00
Neil Rashbrook
7ed85d673e
Bug 794884 Followup to export SupportImageWithMimeType from libxul for mimei.cpp r=joe
2012-10-07 19:01:08 +01:00
Jeff Muizelaar
fa081a82fc
Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
...
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.
--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Jeff Muizelaar
644f4e96df
Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
...
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.
--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Jeff Muizelaar
4751b78423
Bug 566370. Remove return type from AddProxy(). r=joe
...
No one checks it, and it's not really useful.
--HG--
extra : rebase_source : 164f3c18f707551670af1acd4d735f705903a9d2
2012-10-03 18:39:59 -04:00
Josh Matthews
ac15360713
Bug 795571 - Update nsIChannel consumers concerned with privacy status to use the correct NS_UsePrivateBrowsing. r=ehsan
2012-10-03 18:43:26 -04:00
Jeff Muizelaar
b3159f57d8
Bug 662246. Log image url in profiles during decoding. r=joe
...
--HG--
extra : rebase_source : 83a418d1b8b5dbb2d5f6bfe2725f04d0459cfca0
2012-10-03 16:36:26 -04:00
Joe Drew
b610b33b73
Back out 134f5b1d6d50 for leaking at shutdown on a CLOSED TREE
2012-10-03 16:31:28 -04:00
Jeff Muizelaar
c500015d76
Bug 794884. Make SupportImageWithMimeType return a bool. r=joe.
...
This cleans things up quite a bit.
---
content/base/src/nsObjectLoadingContent.cpp | 4 +---
docshell/base/nsWebNavigationInfo.cpp | 4 +---
image/src/imgLoader.cpp | 7 ++-----
image/src/imgLoader.h | 2 +-
layout/build/nsContentDLF.cpp | 4 +---
5 files changed, 6 insertions(+), 15 deletions(-)
2012-10-03 16:17:47 -04:00