Seth Fowler
3fb1ad3a7d
Bug 1187401 (Part 2) - Eliminate the nsresult return value from RasterImage::SetMetadata, since it's not used anymore. r=tn
2015-08-18 10:19:26 -07:00
Seth Fowler
143aee18e4
Bug 1194575 - Rename RecoverFromLossOfFrames() to RecoverFromInvalidFrames() to better reflect its role. r=tn
2015-08-18 10:19:14 -07:00
Seth Fowler
0119f3f595
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
028f2c1726
Bug 1194059 (Part 2) - Always detect IS_ANIMATED during the metadata decode. r=tn
2015-08-14 00:37:13 -07:00
Seth Fowler
7fea1207b1
Bug 1181863 (Part 1) - Add support for reading from nsIInputStreams directly to SourceBuffer. r=tn
2015-07-31 18:10:29 -07:00
Seth Fowler
17f2525f55
Bug 1187386 (Part 6) - Merge Decoder::Finish() and RasterImage::OnDecodingComplete() into RasterImage::FinalizeDecoder(). r=tn
2015-07-31 07:29:15 -07:00
Seth Fowler
7be9d06461
Bug 1187386 (Part 2) - Rework decoder code to avoid calling Decode::GetImage(). r=tn
2015-07-31 07:29:03 -07:00
Nicholas Nethercote
0d8d97efab
Bug 1188705 (part 2) - Remove unused SizeOfDecodedWithComputedFallbackIfHeap declaration. r=seth.
2015-07-28 18:58:57 -07:00
Seth Fowler
f9d2aa3c78
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
8637a4c894
Bug 1184996 (Part 2) - Clean up RasterImage's decoding API. r=tn
2015-07-22 22:39:51 -07:00
Seth Fowler
3b8afe5c2b
Bug 1184996 (Part 1) - Create decoders with a DecoderFactory. r=tn
2015-07-22 22:39:48 -07:00
Seth Fowler
014f9a185f
Bug 1185592 (Part 2) - Make RasterImage store the decoder type instead of the MIME type. r=baku
2015-07-21 09:42:30 -07:00
Seth Fowler
2100dfa4a6
Bug 1185582 - Back out bug 1171356, a hack to retry image decoding which is now useless. r=tn
2015-07-20 11:24:59 -07:00
Seth Fowler
55a7c119be
Bug 1183836 - Remove support for decode-on-draw-only. r=tn
2015-07-14 18:16:31 -07:00
Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Seth Fowler
14ef64f598
Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn
2015-07-10 19:26:15 -07:00
Seth Fowler
5449468605
Bug 1177615 - Rip everything related to FLAG_DECODE_STARTED out of ImageLib. r=tn
2015-07-06 17:11:14 -07:00
Seth Fowler
22cae9bc6b
Bug 1139641 - Return more information from SurfaceCache::Lookup and SurfaceCache::LookupBestMatch. r=dholbert
2015-06-30 18:57:03 -07:00
Nathan Froyd
46d6f38e68
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Seth Fowler
7596853982
Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn
2015-06-30 02:37:58 -07:00
Phil Ringnalda
e08c9983e4
Back out 2 changesets (bug 1163856) for Windows !mSyncLoad assertion failures
...
CLOSED TREE
Backed out changeset 62c1c616f21c (bug 1163856)
Backed out changeset 04239448fe0b (bug 1163856)
2015-06-25 19:57:00 -07:00
Seth Fowler
6f18effcf7
Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn
2015-06-25 17:09:57 -07:00
Seth Fowler
aa61294e7a
Bug 1171356 - On B2G, retry image decodes that fail because allocation of the first frame failed. r=tn
2015-06-04 11:08:17 -07:00
Carsten "Tomcat" Book
f1ff04fd1a
Backed out changeset dd25b4d148af (bug 1139641) for bustage on a CLOSED TREE
2015-06-03 08:51:36 +02:00
Seth Fowler
39da37698b
Bug 1139641 - Return more information from SurfaceCache::Lookup and SurfaceCache::LookupBestMatch. r=dholbert
2015-06-02 23:30:14 -07:00
Birunthan Mohanathas
ab03747a9e
Bug 1038536 - Flatten image/src/ directory. r=seth
2015-05-14 20:52:05 -07:00