Commit Graph

293 Commits

Author SHA1 Message Date
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
841639e989 Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel 2015-03-11 21:30:03 -04:00
Alex Henrie
72d559a1ae Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth 2015-03-03 23:15:08 -07:00
Blake Kaplan
532caaa0a1 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-12 15:41:21 -08:00
Blake Kaplan
a50bed555a Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth
--HG--
rename : image/decoders/icon/nsIIconURI.idl => image/public/nsIIconURI.idl
2015-02-12 15:41:21 -08:00
Jeff Muizelaar
a1c7482bc4 Bug 1131446. mFrameHasNoAlpha is mostly pointless. r=seth
Starting with bug 391583 we detect whether a png image has any transparency
during decode. I don't think this is worth doing anymore. We choose the format
of image based on the png header, that should be sufficient for the performance
improvement we desire from opaque images. This gets us faster image decoding.

--HG--
extra : rebase_source : 7233c03e9e4fd0987f3e7c12d5d0e27520ebddae
2015-02-10 13:26:14 +08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nathan Froyd
e54d2ebfac Bug 1128989 - part 2 - forward-declare Telemetry::ID in Decoder.h; r=seth
This change means that Decoder.h (and any files that include it) no
longer depend on Telemetry.h.  And since Telemetry.h can change rather
frequently, this change helps minimize the number of files that need to
be rebuilt when Telemetry.h does change.
2015-02-03 10:05:49 -05:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Seth Fowler
6e474f2af0 Bug 1128223 (Part 1) - Clean up existing image flags. r=tn 2015-02-02 21:40:35 -08:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Glenn Randers-Pehrson
05455fdadb Bug 1117406 - Fix handling of out-of-range PNG tRNS values. r=jmuizelaar 2015-01-24 12:43:49 -05:00
Nathan Froyd
c5c812bd1d Bug 1124180 - use MOZ_BIG_ENDIAN in nsJPEGDecoder.cpp; r=seth 2015-01-21 09:16:41 -05:00
Seth Fowler
02e46513f6 Bug 1124535 - Check if we have a downscaler before using it in nsJPEGDecoder. r=tn
--HG--
extra : rebase_source : 8bcde149c51dc1ab731d7f331a80cf016983c79e
2015-01-21 19:35:47 -08:00
Seth Fowler
89a1c6658e Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn 2015-01-20 03:06:37 -08:00
Seth Fowler
a5391a2011 Bug 1119774 (Part 7) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn 2015-01-18 14:02:14 -08:00
Seth Fowler
66b57f086b Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-15 15:11:35 -08:00
Ryan VanderMeulen
4064af07f7 Backed out 5 changesets (bug 1079627) for causing B2G crashes on a CLOSED TREE.
Backed out changeset e8ddeaeb82ee (bug 1079627)
Backed out changeset 14cc155b0d6e (bug 1079627)
Backed out changeset e7add8446221 (bug 1079627)
Backed out changeset 44b622a479b6 (bug 1079627)
Backed out changeset c86c43915254 (bug 1079627)

--HG--
extra : rebase_source : bdb8d9fa39e8745127ccc635b6d7d65cf6af170c
2015-01-12 13:17:52 -05:00
Carsten "Tomcat" Book
f0998d414e Backed out changeset 560042809ee7 (bug 1119774) 2015-01-12 15:35:16 +01:00
Carsten "Tomcat" Book
2f468c47a2 Backed out changeset 66a9a3b1aadb (bug 1045929) 2015-01-12 15:35:10 +01:00
Seth Fowler
109e1af6fb Bug 1045929 (Part 2) - Implement downscale-during-decode for JPEG images. r=tn 2015-01-12 03:24:26 -08:00
Seth Fowler
6f4ee7a17a Bug 1119774 (Part 5) - Make it possible to pass a target size to Decoder::AllocateFrame. r=tn 2015-01-12 03:24:26 -08:00
Seth Fowler
4689da7699 Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-12 01:20:22 -08:00
Seth Fowler
9fff103bae Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn 2015-01-11 22:29:32 -08:00
Tom Schuster
967d0d250a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Seth Fowler
c575069c34 Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler
bd5a6c7b28 Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn 2015-01-10 20:47:38 -08:00
Seth Fowler
13ecf8f345 Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn 2015-01-10 18:47:44 -08:00
Wes Kocher
a1bfc06c8c Backout 17fc30214d84 (bug 1117607) for reftest orange 2015-01-09 18:48:43 -08:00
Seth Fowler
57b28877bf Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn 2015-01-09 15:02:48 -08:00
Seth Fowler
e723960bef Bug 1116733 (Part 2) - Remove DecodeStrategy and frame allocation handling outside of Decoder. r=tn 2015-01-08 00:04:31 -08:00
Seth Fowler
2308938365 Bug 1116733 (Part 1) - Allocate frames off-main-thread. r=tn 2015-01-08 00:04:31 -08:00
Seth Fowler
3aabf959b6 Bug 1116735 - Allocate frames in the decoder. r=tn
--HG--
extra : rebase_source : df5c3cbe4e8a8ad40e4a7fa04a2c53e1c3bad559
2015-01-08 00:01:25 -08:00
Seth Fowler
f5c7051077 Bug 1116737 - Merge FrameBlender into FrameAnimator. r=tn
--HG--
extra : rebase_source : f2021135cf82e35273095f8e96373bcbee304710
2015-01-07 13:07:23 -08:00
Ehsan Akhgari
4d845d4829 Bug 1117248 - Mark virtual overridden functions as MOZ_OVERRIDE in image/; r=jrmuizel 2015-01-03 12:24:49 -05:00
Christoph Kerschbaumer
b3d1653ff6 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-12 09:06:54 -08:00
Phil Ringnalda
f7aea19aae Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
3cb88a3412 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-11 20:46:22 -08:00
Seth Fowler
fc5233fbbd Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn 2014-11-26 13:22:10 -08:00
Carsten "Tomcat" Book
f7bc004ff0 Backed out changeset 0a67a7799022 (bug 1060869) 2014-11-26 11:57:09 +01:00
Seth Fowler
3e7327ec18 Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn 2014-11-26 01:37:56 -08:00
Carsten "Tomcat" Book
299ac96904 Backed out changeset f6989ebe8e1c (bug 1060869) 2014-11-25 14:13:56 +01:00
Seth Fowler
05b62c59d5 Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
--HG--
extra : rebase_source : 3dcbc1258ab36634859c739c8e3c0d464cc52711
2014-11-25 00:10:11 -08:00
Seth Fowler
7bfc5f9689 Bug 1103328 (Part 3) - Fire HAS_TRANSPARENCY in nsIconDecoder. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
e116540fe3 Bug 1103328 (Part 2) - Fire HAS_TRANSPARENCY for PNGs with first frame padding. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
caa45fe3ec Bug 1103328 (Part 1) - Fire HAS_TRANSPARENCY for clear disposal methods. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
550967dd4b Bug 1079653 (Part 3) - Make decoders track whether they need to flush data after getting a new frame. r=tn 2014-11-18 12:06:27 -08:00