Commit Graph

731 Commits

Author SHA1 Message Date
Joe Drew
e4c4ef5e27 Bug 878037 - Revert the null-owner intentional crashes, since we found the cause. r=seth 2013-06-04 14:38:31 -04:00
Robert O'Callahan
03bc36db46 Bug 786064. Part 1: Pass aFlags through VectorImage::Draw; FLAG_CLAMP is especially important to avoid taking a deathly-slow tiling path. r=joedrew
--HG--
extra : rebase_source : a8f5f9ea9755cf4e2017bb522e99870c2a7f48d5
2013-06-04 15:29:34 +12:00
Joe Drew
97bedbde4e Bug 876355 - We must report telemetry *before* shutting down the decoder! r=jrmuizel
This simply restores the control flow from pre-bug 716140.
2013-05-30 10:32:16 -04:00
Joe Drew
3f2ad154cb Bug 876332 - Set currentAnimationFrameTime correctly based on the current frame's timeout (not the next frame's timeout). r=jrmuizel
In AdvanceFrame(), timeout refers to the timeout of the *next* frame. Setting
the *current* animation frame time based on the *next* frame is nonsense, but
worked for images with uniform frame timings. Unfortunately some images
don't have uniform frame timings!
2013-05-30 10:31:54 -04:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
24dd4690f5 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
--HG--
extra : rebase_source : 04013f2315b07f86aea7d4a808de2626a9240387
2013-05-29 15:26:35 +01:00
Trevor Saunders
4a839150dd backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
cdb2f06e15 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-05-28 18:50:17 +01:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Phil Ringnalda
626f72232e Bug 876275 - skip a crashtest that times out on B2G on a VM 2013-05-26 11:16:47 -07:00
Joe Drew
82b4027eef Bug 855221 - Don't flush from imgFrame::ImageUpdated(), which can be called from the decoder thread. r=jrmuizel
--HG--
extra : rebase_source : a52a6ed8dc4d0477593f0af8289bb14a61594a3a
2013-05-24 21:52:34 +08:00
Joe Drew
188f05a19d Bug 867758 - Test to ensure we don't return to the event loop while changing the frame of two images with the same FPS. r=seth
--HG--
extra : rebase_source : f91bfad7e8c984553808acf00ae5fc1d92965b24
2013-05-23 09:49:38 +08:00
Joe Drew
b8c78f1ffe Bug 867758 - Don't start images' animation until they've been explicitly RequestRefreshed by the refresh driver. r=seth
--HG--
extra : rebase_source : fa6bfc38e37ccf1ea107a33e4ec845511ea947cd
2013-05-17 16:57:26 -04:00
Joe Drew
9657715331 Bug 867758 - Add imgIContainer::SetAnimationStartTime, which lets us explicitly set the time animation starts (rather than using TimeStamp::Now()). r=seth
--HG--
extra : rebase_source : 4660937d5eb06bf83b749826d2f13da29583e9e7
2013-05-17 16:57:20 -04:00
Joe Drew
1b9e5c1977 Bug 867758 - Add an imgIContainer getter for the first frame's delay time. r=seth
--HG--
extra : rebase_source : aaedf6ee810ca8fcd8979abb5467da4420437bad
2013-05-17 13:42:20 -04:00
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
Seth Fowler
8c3903226a Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe
--HG--
extra : rebase_source : e2ae7acd6005e5913f2c3d45c83771c8fbed729c
2013-05-22 09:52:10 +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
Ed Morley
6a4be11ca0 Backed out changeset fea91386092f (bug 871671) 2013-05-21 12:39:25 +01:00
Seth Fowler
39660769e8 Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe 2013-05-21 17:36:22 +08:00
Seth Fowler
639ea48407 Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-21 17:36:09 +08:00
Carlos G.
270f3953d4 Bug 463696 - crash test 2013-05-19 18:20:20 +00:00
Aki Helin
fcc734e2e8 Bug 570451 - crash test 2013-05-18 18:38:33 +00:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ehsan Akhgari
aa114592bd Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Maria Grazia Alastra
d645d2e812 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04: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
a03c228414 Bug 817700 - Fix animSVGImage test. r=roc 2013-05-15 08:21:25 -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
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Robert O'Callahan
ac14393b0c Bug 865546 - Propagate FLAG_CLAMP through RasterImage::DrawWithPreDownscaleIfNeeded. r=joedrew 2013-05-09 13:42:12 -04:00
Ryan VanderMeulen
cb01ebf601 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
5555ab54e1 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
6cbfbe29e1 Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Joe Drew
0d6621c089 Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -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
Glenn Randers-Pehrson
373912d113 Bug 857040 - Warn on bad CRC instead of error exit. r=joe 2013-05-06 09:04:16 -04:00
ISHIKAWA, Chiaki
406d7bae3a Bug 866463 - Remove the initial incorrect assignment. r=joe 2013-05-08 09:14:26 -04:00
Joe Drew
071c6950d2 Bug 869125 - Use the preallocated first frame in the PNG and GIF decoders when possible so we don't flash unnecessarily. r=seth
--HG--
extra : rebase_source : b2b914fd86c7946392588726082b885b09a97b37
2013-05-07 22:25:03 -04:00
Benoit Jacob
f6d1108165 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -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
Iivari Äikäs
18ecd9248b Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Alfred Kayser
d63916b4eb Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. (followup) r=joe@drew.ca 2013-05-04 13:42:26 +02:00
Alfred Kayser
8374926681 Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. r=joe@drew.ca 2013-05-04 11:39:47 +02: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
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04: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
639834377f Bug 863975 - Crashtest. r=seth
--HG--
extra : rebase_source : 2816b2f65b49091914c643357275c169911a4b2f
2013-04-25 16:35:38 -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
Joe Drew
6205ca16e1 Bug 863958 - Crashtest. r=seth
--HG--
extra : rebase_source : 5f1fa4cd01aba2b1a9b07a8120711b58d36f5ddf
2013-04-25 16:35:03 -04:00
Joe Drew
d9e7df5f65 Bug 863958 - Don't call SetSize from the ICO decoder if we already have the size. r=seth
--HG--
extra : rebase_source : 924fbe8460992b919d3d7072d162f23eaef30e2f
2013-04-25 16:34:30 -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
ce978aa2ab Bug 863319 - Improve assertions in browser_image mochitest. r=joe
--HG--
extra : rebase_source : bf323152a21613bf20d1ff2456520346bf1460b1
2013-04-19 13:47:36 -07: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
c7c11b03b9 Bug 863123 - Set APNG attributes on the right frame, rather than one frame behind. r=seth 2013-04-22 10:57:17 -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
Masatoshi Kimura
7c989863ee Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Xin Zhang
76818c7746 Bug 849764 - Replace removeObserver() calls with three params with two in image dir. r=mak 2013-04-06 14:46:35 -04:00
Seth Fowler
f9d0108ed6 Bug 857623 - Ensure we always call PostFrameStop before PostDecodeDone in nsGIFDecoder2.cpp. r=tn 2013-04-05 18:02:39 -07: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
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
90f2d81463 Bug 856973 - Outparamdel NS_New{In,Out}putStreamReadyEvent; r=ehsan 2013-04-04 09:05:18 +02:00
Seth Fowler
f089ab00de Bug 857275 - Remove RasterImage::FrameUpdated. r=jrmuizel
--HG--
extra : rebase_source : 4d8209630bb8da562530a817f43cfd49243a379a
2013-04-02 16:42:20 -07:00