Seth Fowler
ffe50e3c56
Bug 1084136 (Part 6) - Don't reset any imgStatusTracker state when discarding. r=tn
...
--HG--
extra : rebase_source : 48b0bb6827f6b8121f662bab4dcfb823fa8fe870
2014-11-06 17:33:59 -08:00
Seth Fowler
4bb8da9c27
Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
...
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Seth Fowler
483bb40bfa
Bug 1084136 (Part 4) - Record STATUS_DECODE_COMPLETE even if there's an error. r=tn
...
--HG--
extra : rebase_source : 9d5ba3964faf1fe2d28020050a0d89fa5cbc5bb0
2014-11-06 17:33:58 -08:00
Seth Fowler
8de98648d8
Bug 1084136 (Part 3) - Don't reset image status flags on error. r=tn
...
--HG--
extra : rebase_source : a14a69a7f8a000be8c66008edf99c6d08a755325
2014-11-06 17:33:57 -08:00
Seth Fowler
955fd6a1eb
Bug 1084136 (Part 2) - Add FLAG_UNBLOCK_ONLOAD and never unset FLAG_BLOCK_ONLOAD. r=tn
...
--HG--
extra : rebase_source : 1658f334021b19c15e55fc838276a2d7903e5bca
2014-11-06 17:33:57 -08:00
Seth Fowler
072f743299
Bug 1084136 (Part 1) - Clean up image state flags. r=tn
...
--HG--
extra : rebase_source : e91a0adca1f47e1f430c9120f86a903c374c29dc
2014-11-06 17:33:57 -08:00
Ehsan Akhgari
4dcaff616a
Bug 1061047 - Fix some bad implicit constructors in imagelib; r=jrmuizel
2014-09-02 12:20:24 -04:00
Seth Fowler
71d94ea626
Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
...
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Benoit Jacob
24320668ca
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Milan Sreckovic
c3eca6db23
Bug 994907: imgDecoderObserver does reference counting on different threads, so should be using thread safe reference counting. r=seth,ehsan
2014-05-06 14:32:23 -04:00
Josh Matthews
74a0e914a5
Bug 942164 - Store weak references to imgRequest consumers. r=seth
2013-12-12 16:17:35 -05:00
Seth Fowler
b95a0cf587
Bug 910533 - Clear invalidation rect only after sync notifying in imgStatusTracker. r=tn
...
--HG--
extra : rebase_source : d373b3c4ccc747e9afef3c1bbdb8e522b7724b10
2013-11-18 13:12:59 -08:00
Jonathan Watt
718de4d09f
Bug 937581 - Remove imgStatusTrackerNotifyingObserver. r=seth
2013-11-18 14:30:12 +00:00
Seth Fowler
7e8d548ff9
Bug 922613 - Remove erroneous assertion in imgStatusTracker. r=jdm
2013-11-01 17:05:01 -07:00
Steve Workman
38b912cd11
Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
71940cda4d
Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
3763714e33
Bug 867755 - Dispatch imgRequestProxy notifications r=seth
2013-09-28 11:28:43 -07:00
Steve Workman
036d4ca49a
Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth
2013-09-28 11:28:42 -07:00
Ehsan Akhgari
bdb172ee45
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Seth Fowler
1c470a32cb
Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm
2013-08-28 15:39:05 -07:00
Seth Fowler
4b25dccea5
Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm
2013-08-28 15:39:04 -07:00
ISHIKAWA, Chiaki
406d7bae3a
Bug 866463 - Remove the initial incorrect assignment. r=joe
2013-05-08 09:14:26 -04: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
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
Luis de Bethencourt
ffc494cab7
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04: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
bf3283de15
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -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
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
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
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
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
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
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
a79762d116
Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe
2013-02-04 16:06:14 -08:00
Masatoshi Kimura
13ac82c57e
Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe
2013-01-05 12:55:23 +09:00
Seth Fowler
25f403a350
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-19 13:28:54 -08:00