Andrew Osmond
7952dfe242
Bug 523950 - Part 6. Add DecoderFactory::CloneAnimationDecoder to clone an existing image decoder. r=tnikkel
...
Used later in the patch series, this API allows one to get an identical
decoder to the one given, but decodes from the beginning.
2018-02-28 13:34:52 -05:00
Andrew Osmond
a2da8f23eb
Bug 1389988 - Handle a data race between a new sync decode request and a pending decoder. r=tnikkel
...
If there is an active provider which has yet to produce a frame, any
calls to SurfaceCache::Lookup will return MatchType::PENDING. If
RasterImage::Lookup gets the above result while given FLAG_SYNC_DECODE,
it will attempt to start a new decoder. It is entirely possible that
when we try to insert the new provider into the SurfaceCache, it cannot
because the original provider finally did produce something. In that
case we should abandon attempting to redecode and retry our lookup.
2018-02-09 08:51:28 -05:00
Andrew Osmond
5cd0c28d91
Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel
2017-07-22 07:50:32 -04:00
Andrew Osmond
d72ae32db1
Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel
2017-07-22 07:50:31 -04:00
Andrew Osmond
db6e1e8dfa
Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel
2017-07-22 07:50:31 -04:00
Sebastian Hengst
1b9afeceb6
Backed out changeset fd310390a64a (bug 1315554) for failing GTest's ImageDecoders.LargeICOWithPNGSingleChunk on OS X opt. r=backout
2017-07-22 11:05:35 +02:00
Sebastian Hengst
486cc7cb00
Backed out changeset e39309b6fe7f (bug 1315554)
2017-07-22 11:04:02 +02:00
Sebastian Hengst
cb2086f0e6
Backed out changeset d46b7e02802c (bug 1315554)
2017-07-22 11:03:52 +02:00
Andrew Osmond
b7a5343164
Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
1359a001f0
Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
e5d030062e
Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel
2017-07-22 00:14:58 -04:00
Ehsan Akhgari
5a0aa00c2b
Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
...
This removes the feature added in bug 854795 for Tarako b2g devices.
2016-11-16 08:18:56 -05:00
Seth Fowler
414d097f49
Bug 1292505 (Part 1b) - Update DecoderFactory to use SetOutputSize(), and propagate the changes to RasterImage. r=edwin
2016-08-05 13:44:46 -07:00
Seth Fowler
28cdad949d
Bug 1185799 (Part 1) - Use DecoderFactory to construct nsICODecoder's contained decoder. r=edwin
2016-07-07 15:50:44 -07:00
Seth Fowler
1f9b35837b
Bug 1282354 - Move code for SurfaceCache placeholder insertion from RasterImage to DecoderFactory. r=dholbert
2016-07-02 18:47:49 -06:00
Daniel Holbert
d5653afeea
Bug 1282670, part 2: Remove unnecessary/redundant string-related #include & "using" declarations in imagelib. r=seth
...
MozReview-Commit-ID: 1hgnUosiOFU
2016-06-30 10:25:35 -07:00
Seth Fowler
6a066f954f
Bug 1282352 - Make DecoderFactory use NotNull where possible. r=edwin
2016-06-29 18:33:22 -07:00
Seth Fowler
a8b8626747
Bug 1282275 - Return IDecodingTask objects instead of Decoder objects from most DecoderFactory functions. r=dholbert
2016-06-29 18:33:18 -07:00
Seth Fowler
769e308f2f
Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn
2016-05-27 12:59:19 -07:00
Carsten "Tomcat" Book
1a2dcc1022
Backed out changeset 1bc7102718a9 (bug 1207830) for test failures in ImageDecoders.JPGDownscaleDuringDecode
2016-05-27 09:05:25 +02:00
Seth Fowler
64222939b0
Bug 1207830 (Part 1) - Make it possible to create an anonymous decoder that downscales. r=njn
2016-05-26 22:57:09 -07:00
Seth Fowler
5152afbe27
Bug 1118926 (Part 1) - Remove remnants of -moz-resolution in C++ code. r=tn
2015-09-30 17:00:52 -07:00
Seth Fowler
a15f73c8c3
Bug 1185800 - Add DecoderFlags and SurfaceFlags enum classes and use them instead of imgIContainer flags in all decoder-related code. r=tn
2015-08-14 17:56:44 -07:00
Seth Fowler
4508b595bb
Bug 1194059 (Part 2) - Always detect IS_ANIMATED during the metadata decode. r=tn
2015-08-14 00:37:13 -07:00
Seth Fowler
8ee469fb92
Bug 1191114 (Part 2) - Add support for creating an anonymous metadata decoder, for use in tests. r=tn
2015-08-12 10:41:05 -07:00
Seth Fowler
fb543a9095
Bug 1181863 (Part 2) - Add ImageOps::DecodeToSurface() to allow image decoding without involving any main-thread-only objects. r=tn
2015-07-31 18:10:31 -07:00
Seth Fowler
c945f5daa9
Bug 1187386 (Part 2) - Rework decoder code to avoid calling Decode::GetImage(). r=tn
2015-07-31 07:29:03 -07:00
Seth Fowler
f00db2fe74
Bug 1184996 (Part 4) - Forbid instantiation of decoders except via DecoderFactory. r=tn
2015-07-22 22:39:56 -07:00
Seth Fowler
9e22179872
Bug 1184996 (Part 3) - Replace all remaining references to 'size decodes' with 'metadata decodes'. r=tn
2015-07-22 22:39:54 -07:00
Seth Fowler
a53d8c33db
Bug 1184996 (Part 1) - Create decoders with a DecoderFactory. r=tn
2015-07-22 22:39:48 -07:00