Milan Sreckovic
39746f41ba
Bug 905793 - Send ImageUpdated() on the whole image in PostFrameStop. This may be an overkill in some cases, dirtying twice. r=seth
2013-08-15 17:06:01 -04:00
Trevor Saunders
acfc9e9cd6
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Milan Sreckovic
ff8052e6e1
Bug 899861 - Animated gifs should not wait to play until fully downloaded. This is a partial backout of 717872 with the intent to re-enable using the separate FrameAnimator class. Hide the new approach behind #define USE_FRAME_ANIMATOR for now. r=bgirard
2013-08-13 18:30:28 -04:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
30f4e6e119
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Mihnea Dobrescu-Balaur
de44eb6dbd
Bug 903864 - Make test_imgtools use do_get_tempdir(). r=dolske
2013-08-11 09:38:09 -07:00
Trevor Saunders
e62a12b52f
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Joey Armstrong
56ab717da3
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Jeff Gilbert
a799e185b5
Bug 865919 - Add INT32_MIN-height BMP test. r=joe
2013-07-30 17:49:42 -07:00
Jeff Gilbert
0a122c2ad7
Bug 865919 - Abort decode of INT32_MIN BMPs. r=joe
2013-07-30 17:49:41 -07:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Tom Schuster
2a7f05152e
Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug
2013-07-29 11:03:41 -04:00
Trevor Saunders
108b7dd046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Joe Drew
1b946f8566
Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth
2013-07-26 14:57:41 -04:00
Joe Drew
939663e03f
Backed out changeset 8a6e3d229183 (bug 887466) because of assertion failures
2013-07-26 14:02:57 -04:00
Joe Drew
86ebd6ba9f
Bug 897488 - Apply any dirt on frames whenever we get a drawable frame, not just in Draw(). r=seth
...
--HG--
extra : rebase_source : f4b9e2ccded3844e9384e6f8eb7a801b5e25105d
2013-07-26 10:41:57 -04:00
Joe Drew
6014dc8bbe
Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth
...
--HG--
extra : rebase_source : 0c63494d7b6330b6d477ba28af34f26af2e2f3ab
2013-07-26 10:38:51 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
77f38b11be
Bug 884061 - Part 3k: Use NS_DECL_THREADSAFE_ISUPPORTS in image/, r=joedrew
...
--HG--
extra : rebase_source : f8582736fc5306c441ddcab7a215e16262c6f517
2013-07-18 21:23:31 -05:00
Shih-Chiang Chien
30db599e0c
Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc
2013-07-22 22:31:24 -04:00
Daniel Holbert
8dde80d3f4
Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth
2013-07-22 13:42:05 -07:00
Gervase Markham
5103d820f9
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Seth Fowler
8c58c3be0f
Bug 885939 (Part 1) - Scale SVG images using the graphics context matrix instead of the viewport. r=dholbert
2013-07-16 15:41:30 -04:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Joe Drew
cb1e8505e5
Bug 717872 - Move all image animation logic into a new class, FrameAnimator, and use it from RasterImage. r=seth
...
This patch moves the logic of moving from one frame to another (and tracking
what frame is current, etc) to a separate class, FrameAnimator. Deciding
*whether* to animate, and actually calling that animation code, is left to
RasterImage, but the animation itself is driven by FrameAnimator.
2013-07-15 14:38:59 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Mihnea Dobrescu-Balaur
d0852d2d3f
Bug 887578 - Make the image xpcshell tests use dynamic httpd ports so they can be run concurrently. r=joe
2013-07-09 12:48:50 -07:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Joe Drew
31f323b1d6
Bug 717872 - Make FrameSequences be refcounted, and store a RefPtr to FrameSequence on FrameBlender. r=seth
...
This makes it possible for us to share FrameSequences by refcounting them. We
don't do anything smart when inserting/removing/swapping frames, but we do
carefully handle the "discard" case (by just reallocating a new
FrameSequence).
Note that, currently, nothing actually *shares* FrameSequences.
--HG--
extra : rebase_source : 9facdf8930297888f2ee77e0816543c6ad703f80
2013-07-09 14:53:12 -04:00
Joe Drew
171c658f3e
Bug 717872 - Move frame ownership to a separate container object, FrameSequence, which only exposes const access to its frames. r=seth
...
The eventual goal here is to have FrameBlenders be able to share
FrameSequences.
--HG--
extra : rebase_source : 97b8be9f53ed5cb14f0d46655d8fd7cdfa6bab67
2013-07-09 10:45:06 -04:00
Joe Drew
763b4a19d3
Bug 888607 - Test. r=seth
...
--HG--
extra : rebase_source : aeecfcc1c178f1a8402291fbeb698ca0c4b4d980
2013-07-04 17:06:05 -04:00
Joe Drew
29fbe81aa3
Bug 888607 - Correctly clear sub-frames. r=seth
...
--HG--
extra : rebase_source : 99ef0a24beea67613a67823fd35c313f933841c9
2013-07-04 17:05:59 -04:00
Joe Drew
a52cd51483
Bug 890179. r=seth a=abillings
...
--HG--
extra : rebase_source : f8c1f5adbdcc9bae652df901f256e8eac3fc5dc3
2013-07-04 15:58:26 -04:00
Ms2ger
1a40020bdd
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Trevor Saunders
4fda35a773
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
38ca368790
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Joe Drew
f697457bef
Bug 717872 - Make blending functions take const source parameters so it's a little less likely that we modify things in mFrames again. r=seth
2013-06-28 15:01:32 -04:00
Joe Drew
58551ea3c8
Bug 717872 - Don't change the content of mFrames, even when it'd be faster. r=seth
2013-06-28 14:53:11 -04:00
Joe Drew
1e3d9fa92d
Bug 717872 - Remove the imgFrame* helpers from FrameBlender now that we always have raw data pointers. r=seth
2013-06-28 14:52:04 -04:00
Joe Drew
7406a5c6fb
Bug 717872 - Store a frame's raw image data pointer beside its imgFrame pointer so we can access it without having to lock the frame. r=seth
...
This patch makes us store imgFrames in FrameBlender with a new sort-of-tuple,
FrameDataPair, that is smart enough to be able to lock and unlock imgFrames,
and can be transparently cast to an imgFrame, but doesn't do too much else.
The alternative, storing a separate array of uint8_t pointers, seemed too
complicated.
2013-06-28 13:52:39 -04:00
Joe Drew
97e991daf1
Bug 795737 - To avoid Cairo assertions, call Flush when we MarkDirty too, because we can draw locked images, which adds snapshots to the Cairo surfaces. r=Bas
2013-07-04 14:46:02 -04:00
Joe Drew
00f3c91805
Bug 888499 - Mark frames as dirty in a threadsafe way when imgFrame::ImageUpdated is called on them, and clear that dirty bit when we're drawing. r=seth
2013-07-04 14:45:57 -04:00
Chris Lord
ab2369584d
Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
2013-07-04 14:53:31 +01:00
Jared Wein
5bfd235f29
Bug 822149 - Replace translucent media backgrounds with an opaque background and make uniform the backgrounds for images and audio/video. r=dolske
2013-07-09 09:09:16 -04:00
Joey Armstrong
53426849e7
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Phil Ringnalda
3ef086bd75
Backed out 066a0110bd0b:1dc02c10629c (bug 865919) for mochitest-4 assertions
...
CLOSED TREE
2013-07-01 19:18:34 -07:00
Jeff Gilbert
39be2e7e10
Bug 865919 - Add test with INT_MIN-height BMP. - r=joe
2013-07-01 17:32:06 -07:00
Jeff Gilbert
854e567d4c
Bug 865919 - Check for still-negative heights when decoding BMPs. - r=joe
2013-07-01 17:32:06 -07:00
Catalin Iacob
8f3a2a0c69
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Timothy Nikkel
bf19db7713
Bug 845147. Fix accidentally landed incorrect patch so it does some sync decoding for images being decoded the first time. r=joe
2013-06-26 15:36:43 -05:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
David Zbarsky
21ce0909ad
Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger
2013-06-24 12:31:52 -07:00
Justin Lebar
3bd1003def
Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew
2013-06-04 17:05:54 -05:00
Seth Fowler
8252e3fa97
Bug 695763 (Part 1) - Add imgIContainer::IsDecoded. r=joe sr=bz
2013-05-22 17:27:02 +08:00
Seth Fowler
6d6bdeafcb
Bug 883416 (Part 3) - Coalesce invalidations in RasterImage using a listening flag. r=dholbert
...
--HG--
extra : rebase_source : db6a580cacd0f0556c5e38ba1b4fb9924ecf9dfd
2013-06-21 13:32:34 -07:00
Seth Fowler
a99584d913
Bug 883416 (Part 2) - Revert bug 846028. r=dholbert
...
--HG--
extra : rebase_source : be11dfe000188dc97b0daef70135d3a9f2d3a513
2013-06-21 13:32:34 -07:00
Seth Fowler
c2dd6b1d0d
Bug 883416 (Part 1) - Revert bug 851416. r=dholbert
...
--HG--
extra : rebase_source : 47dae82941038ff7f79f15aee50194276f617f9b
2013-06-21 13:32:33 -07:00
Joey Armstrong
177893ac53
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal
2013-06-20 15:59:59 -04:00
Joe Drew
c3f99184a6
Bug 867774 - Rename the helper HTML pages as suggested by reviewer. r=seth
...
--HG--
rename : image/test/reftest/animated/delaytest.html => image/test/reftest/animated/delay-test.html
rename : image/test/reftest/animated/nodelaytest.html => image/test/reftest/animated/no-delay-test.html
2013-06-20 09:33:51 -04:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Joe Drew
7480707396
Bug 867774 - Tests for animated images with different disposal and blend modes. r=seth
...
--HG--
extra : rebase_source : bceeb8ad5bc02a84e15e758e1addc84d8205b9b2
2013-06-18 16:24:05 -04:00
Joe Drew
e10ce649b4
Bug 867774 - Create a FrameBlender class that holds on to an image's frames and can blend frames together on demand (while leaving the decision as to which frames to external users). r=seth
...
FrameBlender steals RasterImage::mFrames, RasterImage::DoComposite, and the
RasterImage blending helper functions CopyFrameImage, DrawFrameTo, and
ClearFrame. Now RasterImage doesn't hold on to its frames directly, and defers
all blending to FrameBlender::DoComposite.
--HG--
extra : rebase_source : f03736045f967f0947441703e54135b98d9dcf54
2013-06-17 16:49:04 -04:00
Joe Drew
4e275ea54e
Bug 867774 - Make RasterImage's frame blending helper functions threadsafe. r=jrmuizel
...
--HG--
extra : rebase_source : 4fbf269ff3fcc5d8a88102b20fa7cc09f1c1bc03
2013-06-14 09:42:01 -04:00
Joey Armstrong
0a0e08cb9c
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1 ) r=mshal
2013-06-14 14:07:19 -04:00
Seth Fowler
72967380f0
Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert
2013-06-13 00:47:26 -07:00
Martin Stransky
d8da1b5a38
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Joe Drew
69fc50b5b6
Bug 878751 - Port a bug fix from Chrome back to Mozilla. r=jlebar
...
--HG--
extra : rebase_source : d680dada2ac1932806e10c6050376a849112f523
2013-06-07 16:42:57 -04:00
Joe Drew
30621b3877
Bug 878392 - Reset Decoder::mCurrentFrame to nullptr if we fail to create a frame. r=seth
...
--HG--
extra : rebase_source : 1188bfd4896c687eb954ac781cd23e2d49a48959
2013-06-07 16:42:57 -04:00
Joe Drew
43351f7d0c
Bug 876499 - If a looping image is being asked to advance to a time that is more than one loop in the future, skip the intermediate frames and simply jump to the next multiple of the loop count. r=seth
...
When there is a long delay between calls to RequestRefresh(), for example
because an animated image has been scrolled off the screen, the current
animation frame time can be significantly behind the current time, requiring a
huge number of composites to catch up. This patch makes us skip those
intermediate composites, jumping to the closest multiple of the image's loop
time.
--HG--
extra : rebase_source : 3e9ef5bd3ad3f1e9d95def99e6bb546474a583c9
2013-06-07 15:28:24 -04:00
Matt Woodrow
de91760c0f
No Bug - Mark bmp-size-1x1-1bpp.bmp as passing on b2g now
2013-06-07 21:22:41 +12:00
Joe Drew
0fff129d82
Bug 878037 - unit test to make sure we can clone a static imgIRequest. r=seth
...
--HG--
extra : rebase_source : 0b6a360ab04719b648c2eaaf9310a1bbb81be881
2013-06-06 13:33:54 -04:00
Phil Ringnalda
9c043953e8
Bug 879494 followup, clean up the last few bug685516 annotations
...
CLOSED TREE
2013-06-04 23:10:53 -07:00
Timothy Nikkel
7de8dddcde
Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey
2013-06-05 00:18:54 -05:00
Daniel Holbert
4795726e4a
Back out 022bc808586b (bug 845147) on suspicion of causing frequent intermittent oranges for list-simple-1.html by busting its reference case
2013-06-04 20:00:20 -07:00
Bobby Holley
17992acedf
Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap
2013-06-04 19:56:41 -07:00
Justin Lebar
410eb65e8b
Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew
2013-06-04 17:05:54 -05:00
Joe Drew
0a764c3232
Bug 878037 - Make static image requests (imgRequestProxyStatic) Clone correctly when the concrete-type Clone override is called. r=seth
2013-06-04 14:38:37 -04:00
Joe Drew
0d58f40d2e
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
15f4e6899b
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
c9a03cdf39
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
ed1618fa32
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
9b848f5568
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
347f27d7f6
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
4b16c76fb3
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
c0967d6681
Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
2013-05-28 18:50:17 +01:00
Mike Shal
5169c0a913
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
e7f68c5019
Bug 876275 - skip a crashtest that times out on B2G on a VM
2013-05-26 11:16:47 -07:00
Joe Drew
c7a211e679
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
8ff0e1b8a3
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
9407c7066d
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
b2ab6d1995
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
298cd10406
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
ffc71066f7
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
4cb087e7a2
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
f41d980a46
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 17:10:38 +08:00
Ed Morley
65f1744f70
Backed out changeset 11de174da4a4 (bug 873455) for assertions
2013-05-22 09:18:27 +01:00
Seth Fowler
f2ab3bbf52
Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe
2013-05-22 15:46:57 +08:00
Seth Fowler
80d8e58170
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 15:33:08 +08:00
Joe Drew
e52a1f59a7
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
6fb796dce7
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
4449792cc3
Backed out changeset 3948ffacb5fb (bug 873455) for assertions on a CLOSED TREE
2013-05-21 12:40:13 +01:00
Ed Morley
81a342661a
Backed out changeset fea91386092f (bug 871671)
2013-05-21 12:39:25 +01:00
Seth Fowler
444b5cb576
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
4454fb1dac
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-21 17:36:09 +08:00
Carlos G.
8962237ccb
Bug 463696 - crash test
2013-05-19 18:20:20 +00:00
Aki Helin
542781dab5
Bug 570451 - crash test
2013-05-18 18:38:33 +00:00
Gregory Szorc
1b12175ba0
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ehsan Akhgari
0b00dc2f2d
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Maria Grazia Alastra
45c0af14f9
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Ryan VanderMeulen
c03cc5b8b2
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
2b352367e9
Bug 817700 - Fix animSVGImage test. r=roc
2013-05-15 08:21:25 -04:00
Stephen Pohl
af40797fb4
Bug 817700 - Make <canvas>.toBlob run asynchronously - imglib changes. r=seth
2013-05-15 08:21:22 -04:00
Seth Fowler
fd40f6b592
Bug 867009 (Part 1) - Remove imgFrame::Extract. r=joe
2013-05-13 14:54:40 -07:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Robert O'Callahan
ee810f8019
Bug 865546 - Propagate FLAG_CLAMP through RasterImage::DrawWithPreDownscaleIfNeeded. r=joedrew
2013-05-09 13:42:12 -04:00
Ryan VanderMeulen
eca9fedd98
Merge m-c to inbound.
2013-05-09 13:21:14 -04:00
Michael Wu
a78065dba5
Bug 870375 - back out bug 869011 for startup crashes on devices
2013-05-09 13:01:22 -04:00
Michael Wu
1727e4c18f
Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375
2013-05-09 13:00:14 -04:00
Joe Drew
146e468252
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
8ddd13e205
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
706f34c554
Bug 857040 - Warn on bad CRC instead of error exit. r=joe
2013-05-06 09:04:16 -04:00
ISHIKAWA, Chiaki
c3bc964f70
Bug 866463 - Remove the initial incorrect assignment. r=joe
2013-05-08 09:14:26 -04:00
Joe Drew
2e93a2b4bc
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
009f164aa1
Bug 868556 - We are not using gralloc on b2g anymore - r=vladv
2013-05-03 22:57:18 -04:00
Seth Fowler
35fe54c7fa
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
6ad63ad8a5
Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt
2013-05-07 10:25:21 -04:00
Alfred Kayser
f6f5713fa6
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
79a90022a1
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
1a59c831f2
Bug 866959. Make sure to initialize mHasBeenDecoded in all constructors of imgStatusTracker. r=seth
2013-04-30 18:35:00 -05:00
Seth Fowler
9497b33cd3
Bug 859377 (Part 4) - Make ClippedImage use gfxImageSurfaces on Windows. r=me
2013-04-30 16:28:25 -07:00
Timothy Nikkel
185ae2569a
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
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Joe Drew
b3bfc6dce1
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
fe2b9609be
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
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Seth Fowler
e9de641906
Bug 853774 - RequestBehaviour must handle null owners. r=joe
2013-04-25 20:30:29 -07:00
Seth Fowler
38bbbc4266
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
604be56846
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
615a963620
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
75e5030adc
Bug 863975 - Crashtest. r=seth
...
--HG--
extra : rebase_source : 2816b2f65b49091914c643357275c169911a4b2f
2013-04-25 16:35:38 -04:00
Joe Drew
a0b4c1afc0
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
ae4fe518b8
Bug 863958 - Crashtest. r=seth
...
--HG--
extra : rebase_source : 5f1fa4cd01aba2b1a9b07a8120711b58d36f5ddf
2013-04-25 16:35:03 -04:00
Joe Drew
85ab17e359
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
d7a8e833c8
Bug 863970. Remove some dead code in imagelib. r=seth
2013-04-24 23:37:00 -05:00
Seth Fowler
eaf7d57113
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
9ef00322c7
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
becc8be326
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
e3965097ba
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
027d6f3063
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
b0b3600214
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
657125683f
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
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Nicholas Nethercote
1c97315e22
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
8fce450089
Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew
2013-04-15 22:05:46 -04:00
Seth Fowler
d66ab16c15
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
7d981e7bfa
Bug 853707 - Fix bogus assert in StaticBehaviour::SetOwner. r=joedrew
2013-04-02 17:48:42 -07:00
Luis de Bethencourt
bedfab1d62
Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew
2013-04-12 16:25:04 -04:00
Luis de Bethencourt
eee3badd19
Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew
2013-04-12 16:25:04 -04:00
Shih-Chiang Chien
6ab5378419
Bug 857831 - Remove WBMP content sniffer. r=jmuizelaar
2013-04-11 07:48:09 -04:00
Patrick McManus
bd916210f8
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
2550eb2430
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
Xin Zhang
a5e9630c16
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
9c38e77967
Bug 857623 - Ensure we always call PostFrameStop before PostDecodeDone in nsGIFDecoder2.cpp. r=tn
2013-04-05 18:02:39 -07:00
Seth Fowler
5c5a23d447
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
a6687427e7
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
30311c2dc7
Bug 826093 (Part 1) - Add ClippedImage. r=joe
...
--HG--
extra : rebase_source : 2a7bb09ee0b1c221b4b57c5d201c282f5c6f52fb
2013-04-05 14:14:32 -07:00
Phil Ringnalda
681e05f0f8
Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure
2013-04-04 21:06:58 -07:00
Seth Fowler
b05708cecd
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
911086c549
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
775ee86bd9
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-04-04 19:06:41 -07:00
Seth Fowler
a30f765ef8
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
a282117233
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
96ff0df3dd
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
cf84db7bb4
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
97ae827742
Merge m-c to m-i.
2013-04-04 14:15:56 +02:00
Ms2ger
77b7525264
Bug 856973 - Outparamdel NS_New{In,Out}putStreamReadyEvent; r=ehsan
2013-04-04 09:05:18 +02:00
Seth Fowler
fb6852294b
Bug 857275 - Remove RasterImage::FrameUpdated. r=jrmuizel
...
--HG--
extra : rebase_source : 4d8209630bb8da562530a817f43cfd49243a379a
2013-04-02 16:42:20 -07:00
Jonathan Kew
6e1d7e1bb3
bug 854441 - prefer downscaling a larger icon rather than upscaling a smaller one, if exact size is not available. r=seth
2013-04-02 08:18:09 +01:00
Seth Fowler
9b33d58640
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
4d5dd53b5e
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
3fac653899
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
c49be76e03
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
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Jonathan Kew
0f5958303f
bug 818927 part 2 - refactoring - create a GetDPIScale method in gfxWindowsPlatform, and use this to replace GetDeviceCaps(hdc, LOGPIXELSY) in widget code. r=jimm
2013-04-01 10:10:28 +01:00
Kyle Machulis
43628a7867
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
334c0800cf
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
390ad04106
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04:00
Mina Almasry
2f2a1387d7
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
5cc5056451
Bug 852053 - Support WBMP on FirefoxOS only. r=joe
2013-03-20 14:03:07 +08:00
Ryan VanderMeulen
e46c6c9dfb
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
f06f37b782
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
485f15bb87
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
2144eccec0
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 16:29:12 -07:00
Matt Brubeck
ca4d881057
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
7c0ab1999f
Bug 795376 - Use high-quality scaler for upscaling raster images [r=joedrew]
2013-03-24 12:37:21 -04:00
Ryan VanderMeulen
0cedc1cf7c
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
bea17f6576
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 11:56:47 -07:00
Seth Fowler
f779875387
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
7b9db4e071
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 11:56:46 -07:00
Benoit Girard
042e2c83ad
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
c47f308258
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Joe Drew
040ddc8303
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
87a1590a0d
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Trevor Saunders
8a8a4401c1
backout 275cd395f9fa and 9e4b22851976 bug 716140 for breaking linux tp on a CLOSED TREE
2013-03-24 15:43:20 -04:00
Joe Drew
b2954cece4
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
ea933fd5e2
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Joe Drew
b1eeb605cd
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
0fc7533fc6
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
15d88300df
Back out e1d71b13e35f (Bug 853337) for crashes on a CLOSED TREE
2013-03-22 21:13:24 -04:00
Wes Johnston
4faa56943f
Bug 419588 - Add support for a resolution media fragment. r=seth
2013-03-22 16:12:40 -07:00
Joe Drew
c3d87b324d
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
aff61943d7
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
247caf60a8
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
e3efc3a646
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
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