image/FrameAnimator.cpp
9d8e1c9e19e009ec64bbae332a78b87c5acd7150
created 2017-06-01 02:19 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1363092. Don't update the state of an animated image that requires an invalidation when creating a new decoder because we may not be able to send invalidations. r=aosmond
bf91589e3d3ccd9045f16ef273ef23209c9fd92b
created 2017-05-24 16:20 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1364365. Limit the number of full loops of an animated image we can skip to the number of remaining loops. r=aosmond
27e777d4ac381f74d2d4e29d0ceac2872df5e1f4
created 2017-05-03 21:20 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1360572. Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
6f1a0340d55386cdf61c7a66d4b0a8f79a13ece9
created 2017-05-04 01:25 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1361642. Return PENDING from FrameAnimator::GetCompositedFrame is a decode is pending so that we don't start another decode. r=aosmond
b1cfdc015e2fd014aba79ffa4e30a54553935a45
created 2017-05-04 11:30 +0800
pushed 2017-06-12 13:08 +0000
Iris Hsiao Iris Hsiao - Backed out changeset dda520b4ed32 (bug 1360572) for Assertion failure at RasterImage.cpp
dda520b4ed3292bc3575aacffc0b2d3873ce814e
created 2017-05-03 21:20 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1360572. Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
8b4e96304c8d9c5b9ce79333741d2da51be3669d
created 2017-04-06 04:00 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1353299. Make sure to invalidate when composited frame becomes valid. r=aosmond
3de61f5929f77f68ba06f2eb60249b40fbc5df6a
created 2017-03-30 19:07 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1352008. Check return value of DrawableSurface::Seek because if it failed it will return the first frame when you ask for a frame. r=aosmond
f2bc0c02b50c5417f6a7f10345e22326df28fee4
created 2017-03-26 00:04 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Rewrite animation state updating to derive new state purely based on SurfaceCache and RasterImage::mAnimationFinished. r=aosmond
1c5e910290349546d1b3b32f86e842b96a982e80
created 2017-03-24 00:57 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. In FrameAnimator look up our frames once and pass them around. r=aosmond
af363f677224cd97a021cfea7820742aab25e915
created 2017-03-23 00:02 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Change GetTimeoutForFrame to return a Maybe, and make all callers deal with a lack of a return value. r=aosmond
67c3d82f8caece2779cd28e17e47dbb629ccf288
created 2017-03-17 00:41 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Fix a bug with redecoding images whose animation is finished. r=aosmond
cd3a72a7a121bd8214c8a6604e0e37b6b5f20c00
created 2017-03-16 03:06 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
a22dff44c2abd5ddad3276cf7ebbb943dd343ccf
created 2017-03-15 03:13 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Backed out changeset a23edcf5b82a (bug 1343341)
a23edcf5b82aad48a36e15d72c4c0a4b9cbbea1b
created 2017-03-15 02:47 -0500
pushed 2017-06-12 13:08 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
b92b8655e634c865271a079b7709cb466fa44bdf
created 2017-03-02 02:24 -0600
pushed 2017-04-18 12:07 +0000
Timothy Nikkel Timothy Nikkel - Backed out changeset 7f13c7a84acb (bug 1343341) for hitting a fatal assert that it added in RasterImage::OnSurfaceDiscard sometimes on android reftests.
ef4042cfbd8095727cfeb83f8c9d83f9cd707b72
created 2017-03-01 23:05 -0600
pushed 2017-04-18 12:07 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Include gfxPref.h to fix build bustage.
7f13c7a84acb0eac18b13cf48cca108b4e26b1d0
created 2017-03-01 22:45 -0600
pushed 2017-04-18 12:07 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Create state on the AnimationState object to track whether the image is decoded or not. r=aosmond
67ef66953267770b8a76a3318e2fa75eb03de864
created 2017-03-01 22:45 -0600
pushed 2017-04-18 12:07 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Rename mDoneDecoding to mHasBeenDecoded. r=aosmond
2c135b467344e72465ccf64f1cd24a18ad28f15d
created 2017-02-22 09:30 -0500
pushed 2017-04-18 12:07 +0000
Andrew Osmond Andrew Osmond - Bug 1341624 - Include shared handle totals in memory reports for images. r=tnikkel
9fc1fccf53d3ba003829a46be3e3396022d81d92
created 2017-01-18 13:31 -0500
pushed 2017-04-18 12:07 +0000
Andrew Osmond Andrew Osmond - Bug 1331938 - Part 3. Switch to using VolatileSourceSurface instead of VolatileBuffer directly in imgFrame. r=tnikkel
74d35e993149f35eb613dff9923a3fb995f2f77a
created 2016-11-25 10:38 -0500
pushed 2017-03-06 20:48 +0000
Andrew Osmond Andrew Osmond - Bug 1319025 - Fix how animated images disposal method should use frame rect size instead of the image size as its bounds. r=tnikkel
563c1205e1472702c2a9e121cb378beddbcb87e6
created 2016-11-29 01:01 -0600
pushed 2017-03-06 20:48 +0000
Timothy Nikkel Timothy Nikkel - Bug 1317907. Refactor FrameAnimator::GetCompositedFrame to be a bit simpler. r=aosmond
b828b2c86ea9e3ceed2ba667f8a71ee3ebfbebc3
created 2016-11-25 10:38 -0500
pushed 2016-12-19 11:06 +0000
Andrew Osmond Andrew Osmond - Bug 1319025 - Fix how animated images disposal method should use frame rect size instead of the image size as its bounds. r=tnikkel a=jcristau+gchang
f568370288565ecf264f26a50debf926de5209fe
created 2016-09-21 12:55 -0400
pushed 2016-11-14 12:26 +0000
Andrew Osmond Andrew Osmond - Bug 1120279 - Always check if the next frame is available before advancing an animation. r=edwin, a=gchang
cfb1f1eeceb36952195fd255d5a7a5f017771cbd
created 2016-08-18 00:06 -0700
pushed 2016-11-14 12:26 +0000
Seth Fowler Seth Fowler - Bug 1293472 (Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn
0f9b465ebb5fab7f1dd2d7eb32e172292a618b21
created 2016-08-17 17:50 -0700
pushed 2016-11-14 12:26 +0000
Seth Fowler Seth Fowler - Bug 1296147 (Part 1) - Add a DrawableSurface smart pointer type to allow lazy surface generation. r=dholbert,edwin
4f86c8f412bcb7d0cdb17fe6b40f0732ad260c4d
created 2016-09-21 12:55 -0400
pushed 2016-10-20 14:36 +0000
Andrew Osmond Andrew Osmond - Bug 1120279 - Always check if the next frame is available before advancing an animation. r=edwin, a=gchang
2a0981531355dc77614e72c72fda7498bb074ffe
created 2016-08-15 19:58 -0500
pushed 2016-09-19 13:38 +0000
Timothy Nikkel Timothy Nikkel - Backed out changeset 37340346a89e (Bug 1289628 - Return ISurfaceProvider objects from SurfaceCache lookup functions. r=dholbert,edwin) for causing bug 1292290. a=ritu
70369395b75433f29f313b7426681c2bd7ec4bc1
created 2016-07-27 17:12 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1289957 (Part 2) - Notify RasterImage about new frames in NotifyProgress() and remove OnAddedFrame(). r=edwin
37340346a89e3ff5680559afabbc430ffaf9bb74
created 2016-07-26 16:31 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1289628 - Return ISurfaceProvider objects from SurfaceCache lookup functions. r=dholbert,edwin
6bb7f6c316bb8c0c5a898439250288a7bd306827
created 2016-07-19 23:43 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 12) - Use Moz2D types in FrameAnimator code. r=edwin
4dee7c0653260c0913348e7dd4ac2c284b553fc5
created 2016-07-19 18:20 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 11) - Clean up RefreshResult. r=edwin
7a652ffa8bfb8fc9a9d71f78573f7a639a129b00
created 2016-07-19 23:35 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 10) - Determine the first frame refresh area of animated images while decoding them. r=edwin
ec558fefe42f16f4f8e1c0345762d9f59facd49b
created 2016-07-19 17:14 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 9) - Determine the loop length of animated images while decoding them. r=edwin
b6b8a4bc9168e7f0422c6bf612776a875ea32dc6
created 2016-07-19 15:48 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 8) - Return a FrameTimeout value from FrameAnimator::GetSingleLoopTime(). r=edwin
76ad9c12237689a490d756def046bd6e4b8901ac
created 2016-07-19 14:00 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 7) - Make FrameAnimator::GetTimeoutForFrame() a private method that doesn't rely on AnimationState. r=edwin
3760df5754587ef476f339032068eb22b682c87e
created 2016-07-19 16:22 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 5) - Wrap frame timeout values in a FrameTimeout type that ensures they're normalized. r=edwin
1f2c834df0db955921199939b3977829f976ad1f
created 2016-07-19 13:37 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 3) - Get rid of RefreshResult.error, a field which nothing cares about. r=edwin
34faad78d6f099f4d1a25a1c7935db5656fdf627
created 2016-07-19 13:31 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 2) - Don't reset the last composited frame index when we reset animation. r=edwin
8383c2cc99393e21a7b7f2f8129e94b0f9a77593
created 2016-07-18 23:26 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 1) - Separate FrameAnimator's state into a separate class, AnimationState. r=edwin
39ba4da73c6c040e291520ecbec2d61bdeb3d168
created 2016-06-24 15:20 -0700
pushed 2016-09-19 13:38 +0000
Seth Fowler Seth Fowler - Bug 1255107 (Part 3) - Use SurfacePipe in the PNG decoder. r=njn
50e32be6552151fd71dd828b30b24749b5fbf4d4
created 2016-06-01 14:27 +1000
pushed 2016-08-01 13:59 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1277122 - Add missing null checks for pixman_image_create_bits(). r=seth,lsalzman.
c75b2b195f28a5ed556a7dfc12e9b45bc56c971a
created 2016-03-23 19:31 -0500
pushed 2016-06-06 19:02 +0000
Timothy Nikkel Timothy Nikkel - Bug 1257101. imgFrame::IsImageComplete says whether we've had pixels decoded to the whole image rect, but it's used to check if the frame is finished decoding. These are different things when the image has more than one progress pass. r=seth
52ad95a283842c3a022a90340b4b4750bddec035
created 2016-03-04 21:54 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 1251405. Part 2. Use 64 bit ints to hold the delay between the current time and the last animation time. r=edwin
5be4e5b20d33bf626f4c83bf7253f64f666d7e46
created 2016-03-04 21:54 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 1251405. Part 1. Fix a significant signed/unsigned mismatch in handling the return value of FrameAnimator::GetSingleLoopTime. r=edwin
d82815bf45b2d3232786909adfea96dd452d4693
created 2016-03-02 21:52 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 1251403. Determine the correct index of the next frame before getting the next frame. r=edwin
bddda82562e9007b8f76f887628a4a02d4b225f8
created 2016-03-01 22:34 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 926048. Part 4. Update the current animation frame time if we hit the end of decoded frames before all frames are decoded. r=edwin
68dd453ec527500a44e25164d4f433526610c8ab
created 2016-03-01 22:34 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 926048. Part 3. Correctly check if we are at the end of an animated image. r=edwin
2b3a42aa606a417915f4eac3690b6add47a582b1
created 2016-03-01 22:34 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 926048. Part 2. Remove useless GetRawFrame call. r=edwin
148314d91dc4c746641bccc3b994e853a31203fb
created 2016-03-01 22:34 -0600
pushed 2016-04-25 16:57 +0000
Timothy Nikkel Timothy Nikkel - Bug 926048. Part 1. Simplify FrameAnimator::AdvanceFrame slightly. We don't need a |timeout| variable, we only check it once. r=edwin
70f3f851ab565acb36bbfd6a3ac7ee81d2b7b331
created 2015-12-24 23:50 -0700
pushed 2016-04-25 16:57 +0000
Chris Peterson Chris Peterson - Bug 1235297 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in image/decoders/. r=tn
e74405918e7a412c96d32db9874f87f8668c6f69
created 2016-01-15 11:38 +0100
pushed 2016-03-07 14:18 +0000
David Rajchenbach-Teller David Rajchenbach-Teller - Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
f98e2cc0df1d723b1259ebdde06166e5279ab756
created 2016-01-19 21:30 +0100
pushed 2016-03-07 14:18 +0000
Sebastian Hengst Sebastian Hengst - Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
c7ca88c57386a977631f0d873750cea51450dc14
created 2016-01-20 23:30 +0100
pushed 2016-01-25 13:55 +0000
David Rajchenbach-Teller David Rajchenbach-Teller - Bug 1224374 - Profiler labels for the 100 top chrome hangs (Aurora uplift edition);r=benwa,a=sylvestre
e8c7dfe727cd970e2c3294934e2927b14143c205
created 2015-10-18 01:24 -0400
pushed 2015-12-14 20:08 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
41dea9df27ed995f8315ab4318c187a617937664
created 2015-10-07 10:19 -0700
pushed 2015-12-14 20:08 +0000
Wes Kocher Wes Kocher - Backed out changeset 91d4539e00ce (bug 1207245)
91d4539e00cecb658604e021675a923c60ef3235
created 2015-10-07 16:50 -0400
pushed 2015-12-14 20:08 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
3a12957a6bd3166c3c0f6b5667264ddd040e6318
created 2015-08-14 17:56 -0700
pushed 2015-10-29 11:30 +0000
Seth Fowler Seth Fowler - Bug 1185800 - Add DecoderFlags and SurfaceFlags enum classes and use them instead of imgIContainer flags in all decoder-related code. r=tn
167ceb9650797d3281a4940450604893dc6bad26
created 2015-08-14 00:37 -0700
pushed 2015-10-29 11:30 +0000
Seth Fowler Seth Fowler - Bug 1194059 (Part 2) - Always detect IS_ANIMATED during the metadata decode. r=tn
less more (0) -60 tip