image/RasterImage.cpp
f03cdaa7c326306660a6952833ad3a8be6f26992
created 2016-12-01 15:52 -0600
pushed 2017-04-10 20:44 +0000
Timothy Nikkel Timothy Nikkel - Bug 1317837. RasterImage::RequestDecodeForSize should set mWantFullDecode just like StartDecoding if we don't have our size yet. r=aosmond
563c1205e1472702c2a9e121cb378beddbcb87e6
created 2016-11-29 01:01 -0600
pushed 2017-04-10 20:44 +0000
Timothy Nikkel Timothy Nikkel - Bug 1317907. Refactor FrameAnimator::GetCompositedFrame to be a bit simpler. r=aosmond
072d40d19b1fe3e521eab399429114a9f28fb19e
created 2016-11-26 01:56 -0600
pushed 2017-04-10 20:44 +0000
Timothy Nikkel Timothy Nikkel - Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond
0e069443912292d0f98b82a425eeb0a60582c2f1
created 2016-11-17 00:25 -0600
pushed 2017-04-10 20:44 +0000
Timothy Nikkel Timothy Nikkel - Bug 1317552. Send unlocked draw notifications for images async when asked to. r=aosmond
3cbb93f5768e0e5ac470d3bb29cea58fe2f45df3
created 2016-10-18 20:05 -0400
pushed 2017-04-10 20:44 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
518ab93137128a640a30c9e8b0617d80432e41a0
created 2016-10-13 10:09 -0400
pushed 2017-02-27 14:59 +0000
Andrew Osmond Andrew Osmond - Bug 1284117 - Make RasterImage and SourceBuffer handle input stream read errors. r=edwin
d56e9b123ed63993592c477540b64ec24a18002b
created 2016-09-26 14:18 -0400
pushed 2017-02-27 14:59 +0000
Andrew Osmond Andrew Osmond - Bug 1258741 - Part 2. Ensure we consistently render partially decoded images. r=tnikkel
5238fbaf49fa56ffa84a83dfa9cc92e9818671a4
created 2016-09-21 07:13 -0400
pushed 2017-02-27 14:59 +0000
Andrew Osmond Andrew Osmond - Bug 1258741 - Part 1. Remove dead/unused image decoder aborted flag. r=tnikkel
ee87ff2bd4f55ada05e105256e38c2ea9a79a4c1
created 2016-10-13 10:09 -0400
pushed 2017-01-16 13:07 +0000
Andrew Osmond Andrew Osmond - Bug 1284117 - Make RasterImage and SourceBuffer handle input stream read errors. r=edwin, a=gchang
17242152a8fbe65f20b864bd5a577b0dff624857
created 2016-09-17 09:54 -0700
pushed 2017-01-16 13:07 +0000
Phil Ringnalda Phil Ringnalda - Backed out changeset c0021d576b3a (bug 1120279) for multiple reftest failures
c0021d576b3a738e055b0c1c6608823038cba3a0
created 2016-09-15 15:13 -0400
pushed 2017-01-16 13:07 +0000
Andrew Osmond Andrew Osmond - Bug 1120279 - Ensure the animated image state is consistent if redecoding fails or is asynchronous. r=edwin
85cfd0bd6eb0c321ccfa105f49e2f607d88b79f9
created 2016-08-22 21:15 -0500
pushed 2017-01-16 13:07 +0000
Timothy Nikkel Timothy Nikkel - Bug 1260324. Don't draw garbage to the screen if an image doesn't happen to be decoded. r=seth
ca24710db69ad1b51f415889a6276a53bc59d36c
created 2016-08-23 13:50 -0700
pushed 2017-01-16 13:07 +0000
Wes Kocher Wes Kocher - Backed out changeset 54933b5b96f1 (bug 1260324) for frequent windows reftest failures a=backout CLOSED TREE
54933b5b96f1673a94a6463baf2c9cc643973e2d
created 2016-08-22 21:15 -0500
pushed 2017-01-16 13:07 +0000
Timothy Nikkel Timothy Nikkel - Bug 1260324. Don't draw garbage to the screen if an image doesn't happen to be decoded. r=seth
cfb1f1eeceb36952195fd255d5a7a5f017771cbd
created 2016-08-18 00:06 -0700
pushed 2017-01-16 13:07 +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
e7caba6197ba3500be336d88ca2571aa6c0b8192
created 2016-08-18 12:43 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1296147 (Part 2) - Rename imgFrame::GetSurface() to imgFrame::GetSourceSurface() for clarity. r=edwin
0f9b465ebb5fab7f1dd2d7eb32e172292a618b21
created 2016-08-17 17:50 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1296147 (Part 1) - Add a DrawableSurface smart pointer type to allow lazy surface generation. r=dholbert,edwin
c1dda3c8d9d2e7d7155f19edab3702bc84678819
created 2016-08-15 19:58 -0500
pushed 2017-01-16 13:07 +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.
731d13870f6a161f47ab8bffe5ee8e2ac92d5195
created 2016-08-02 17:22 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 6) - Stop passing a decoder to FinalizeDecoder() and rename it NotifyDecodeComplete(). r=edwin
55a26e91a828df3cd54b432a03014ed4801dc20f
created 2016-08-02 17:12 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 5) - Pass the decoder's final status explicitly to FinalizeDecoder(). r=edwin
eef2029cae9d33943011306ac593906492368d2b
created 2016-08-02 16:45 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 4) - Clean up Decoder::SpeedHistogram() and related code. r=edwin
9b9a6dca288397b794f31e52c8a21b1262c72d47
created 2016-08-02 16:34 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 3) - Pass telemetry explicitly to FinalizeDecoder. r=edwin
801b6b88b490705e4905b2b83346515e2461c5b7
created 2016-08-02 16:32 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 2) - Pass decoder progress explicitly to FinalizeDecoder. r=edwin
5ce50dc53516af734f52c5eff598e8f171623040
created 2016-08-02 15:43 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 1) - Pass ImageMetadata explicitly to FinalizeDecoder. r=edwin
d416df8849a03fb005f6bd0ed9d844ed9dd4b6db
created 2016-08-02 14:26 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1291071 (Part 1) - Move an assertion from RasterImage::FinalizeDecoder() to IDecodingTask::NotifyDecodeComplete(). r=edwin
3ec9f4bad96e4fb3ea136786b7dfeae8fe394b40
created 2016-08-05 04:19 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1292505 (Part 1b) - Update DecoderFactory to use SetOutputSize(), and propagate the changes to RasterImage. r=edwin
bed21227876d1bee01453f32986ee3be8858488b
created 2016-07-30 14:10 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1290682 (Part 3) - Remove RasterImage::CopyFrame(). r=edwin
078d914cde9aa9cdfd19fc91db609fe967b9ef66
created 2016-07-30 13:41 -0700
pushed 2017-01-16 13:07 +0000
Seth Fowler Seth Fowler - Bug 1290681 (Part 2) - Remove the single color optimization from imgFrame. r=edwin
41184c8c63b17e62605e0f9840d8e3350ac2275a
created 2016-08-24 00:02 -0500
pushed 2016-10-31 18:13 +0000
Timothy Nikkel Timothy Nikkel - Bug 1260324. Don't draw garbage to the screen if an image doesn't happen to be decoded. r=seth, a=ritu
2a0981531355dc77614e72c72fda7498bb074ffe
created 2016-08-15 19:58 -0500
pushed 2016-10-31 18:13 +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
587904a10d9a4f2934a5cff85c9415ad2fb5cb56
created 2016-07-31 14:35 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1290747 - Fix bad assert in RasterImage::NotifyProgress(). r=edwin, a=ritu
70369395b75433f29f313b7426681c2bd7ec4bc1
created 2016-07-27 17:12 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1289957 (Part 2) - Notify RasterImage about new frames in NotifyProgress() and remove OnAddedFrame(). r=edwin
8c4fb79a81438d8a8242c2e5c564a0fadc4494cf
created 2016-07-27 14:04 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1289957 (Part 1) - Fix minor style issues in RasterImage::NotifyProgress. r=edwin
37340346a89e3ff5680559afabbc430ffaf9bb74
created 2016-07-26 16:31 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1289628 - Return ISurfaceProvider objects from SurfaceCache lookup functions. r=dholbert,edwin
550c31d39ecc648f4ca31e651ada238fd27b91e8
created 2016-07-26 16:48 +0200
pushed 2016-10-31 18:13 +0000
Nicolas Silva Nicolas Silva - Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
4dee7c0653260c0913348e7dd4ac2c284b553fc5
created 2016-07-19 18:20 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 11) - Clean up RefreshResult. r=edwin
7a652ffa8bfb8fc9a9d71f78573f7a639a129b00
created 2016-07-19 23:35 -0700
pushed 2016-10-31 18:13 +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-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 9) - Determine the loop length of animated images while decoding them. r=edwin
725304d2b48bcdd9924c0b0300e77d99f913f84d
created 2016-07-19 13:51 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 6) - Don't call GetTimeoutForFrame() in RasterImage. r=edwin
3760df5754587ef476f339032068eb22b682c87e
created 2016-07-19 16:22 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 5) - Wrap frame timeout values in a FrameTimeout type that ensures they're normalized. r=edwin
b979622ece878a5eceb812a7ded7bad6fe8acbb1
created 2016-07-19 13:45 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 4) - We only need to check for infinitely long frames in StartAnimation() for the first frame. r=edwin
34faad78d6f099f4d1a25a1c7935db5656fdf627
created 2016-07-19 13:31 -0700
pushed 2016-10-31 18:13 +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-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1288040 (Part 1) - Separate FrameAnimator's state into a separate class, AnimationState. r=edwin
77fe4e663e345389c4260ea573dbf58afa85da1b
created 2016-07-11 00:34 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1285867 (Part 1) - Remove Decoder's notion of decoder errors. r=edwin
385feddefee4bb63b7899d5c87bb3ef3b7bb38ba
created 2016-07-13 11:53 +0200
pushed 2016-10-31 18:13 +0000
Chris H-C Chris H-C - Bug 1285006 - Remove IMAGE_MAX_DECODE_COUNT Telemetry r=gfritzsche, seth
1fe160cfbce20585e6a619f93b1843ef72de20f2
created 2016-06-26 22:05 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1282354 - Move code for SurfaceCache placeholder insertion from RasterImage to DecoderFactory. r=dholbert
a561bae08fbbbbe148f67febb8d6d0d4cd11c2ce
created 2016-07-01 23:33 -0600
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1282327 (Part 2) - Update SurfaceCache documentation and method names to reflect the fact that cache entries are now ISurfaceProviders. r=dholbert
c607a8652548294fab5cffa926a81e0e7952744f
created 2016-06-26 21:50 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1282352 - Make DecoderFactory use NotNull where possible. r=edwin
626bc70dd8f972f8498d732f0f4c8c4343dc41d3
created 2016-06-26 00:09 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1282275 - Return IDecodingTask objects instead of Decoder objects from most DecoderFactory functions. r=dholbert
d51379e5475d29c015fa93e5698439f80ee31938
created 2016-06-29 13:43 -0700
pushed 2016-10-31 18:13 +0000
Seth Fowler Seth Fowler - Bug 1282259 - Run IDecodingTasks instead of Decoders directly in image::DecodePool. r=dholbert
0f0586c0b68d927512617266a133545272dba9c7
created 2016-05-25 17:01 +0100
pushed 2016-09-05 20:01 +0000
Jonathan Watt Jonathan Watt - Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
114ca1fc9c51036e4d2cd151125bb7c77d4b3d17
created 2016-05-05 01:45 -0700
pushed 2016-09-05 20:01 +0000
Kyle Huey Kyle Huey - Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
beaa0bcb3d160680f9d93f32371aa557304645d8
created 2016-05-03 18:07 +0200
pushed 2016-09-05 20:01 +0000
Georg Fritzsche Georg Fritzsche - Bug 1261063 - Part 3 - Make RasterImage use the public Telemetry API. r=tnikkel
9979c96310a07ada1d91c166027c0829bea264d2
created 2016-04-29 14:21 +0200
pushed 2016-09-05 20:01 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 85ce8cb0639a (bug 1268313)
85ce8cb0639aac2617f81c974d4c10ab80b49bfd
created 2016-04-28 14:08 -0700
pushed 2016-09-05 20:01 +0000
Kyle Huey Kyle Huey - Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
fcc0936b576daa150697671849a191009ca33811
created 2016-04-25 17:23 -0700
pushed 2016-09-05 20:01 +0000
Kyle Huey Kyle Huey - Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
5005b1604f269e2204260bdff4b26a92564e42f6
created 2016-04-01 12:44 -0500
pushed 2016-07-25 16:35 +0000
Timothy Nikkel Timothy Nikkel - Bug 1222596. If RasterImage::LookupFrame does (some) sync decoding and encouters an error we don't want to return the surface with an error. r=seth
c75b2b195f28a5ed556a7dfc12e9b45bc56c971a
created 2016-03-23 19:31 -0500
pushed 2016-07-25 16:35 +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
396e7cdc25393a818a8e3a07af49284655ad58a3
created 2016-03-07 17:17 -0800
pushed 2016-07-25 16:35 +0000
Seth Fowler Seth Fowler - Bug 1225934 - Never allow surface substitution when FLAG_HIGH_QUALITY_SCALING is disabled. r=tn
8c056908523ec29f08db9d304bff71f5485a14f2
created 2016-03-07 17:17 -0800
pushed 2016-07-25 16:35 +0000
Seth Fowler Seth Fowler - Bug 1251806 - In RasterImage::GetFrameInternal(), check if the frame covers the actual surface size rather than the requested surface size. r=tn
less more (0) -100 -60 tip