Commit Graph

1522 Commits

Author SHA1 Message Date
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
5b8d5a0e13 Bug 1045929 (Part 1) - Add a streaming downscaler to ImageLib. r=tn 2015-01-20 03:06:37 -08:00
Seth Fowler
a6defe4846 Bug 1122446 - Give cached surfaces a chance to expire, when starting a downscale-during-decode. r=dholbert 2015-01-20 03:06:37 -08:00
Seth Fowler
d34d823d05 Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn 2015-01-19 15:46:55 -08:00
Trevor Saunders
85227ffecb bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel 2015-01-19 17:41:12 -05:00
Phil Ringnalda
69b0b94fd7 Bug 1123195 - skip image/test/crashtests/694165-1.xhtml on OS X 10.10 debug, where it hangs 2015-01-18 22:56:02 -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
5b8fd134c2 Bug 1119774 (Part 6) - Add downscale-during-decode support to RasterImage::LookupFrame. r=tn 2015-01-18 14:02:14 -08:00
Seth Fowler
0d57f2a8e2 Bug 1119774 (Part 5) - Add SurfaceCache::LookupBestMatch. r=dholbert 2015-01-18 14:02:14 -08:00
Seth Fowler
17d0b6438e Bug 1119774 (Part 4) - Add an optional alternate flags parameter to SurfaceCache::Lookup. r=dholbert 2015-01-18 14:02:13 -08:00
Seth Fowler
38cc052b30 Bug 1119774 (Part 3) - Make it possible to propagate a target size to the decoder. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
e518285564 Bug 1119774 (Part 2) - Add RequestDecodeForSize to imgIContainer. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
a186ee4906 Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00
Seth Fowler
bb5b07a9a3 Bug 1119158 - Retarget OnDataAvailable to a new I/O thread instead of the image decoding thread pool. r=sworkman 2015-01-18 01:27:16 -08:00
Seth Fowler
967add8060 Bug 1118694 - Always retarget OnDataAvailable for RasterImage. r=sworkman 2015-01-17 13:18:26 -08:00
Seth Fowler
af78dffc24 Bug 985193 - Stop holding a strong reference to RasterImage's ImageContainer. r=mattwoodrow 2015-01-16 14:11:23 -08:00
Seth Fowler
b58c9ccafd Bug 1120271 - Add compacting support for SourceBuffer. r=tn 2015-01-15 20:28:38 -08:00
L. David Baron
13ce318418 Bug 1122297 - Adjust existing Mac OS X reftest failure annotations that also show up on 10.10. r=philor
This adjusts existing reftest annotations for tests that fail on 10.8
that are showing up as failing on 10.10 as well to be marked using >=
version tests rather than == version tests.
2015-01-15 18:00:49 -08:00
Seth Fowler
c416f00994 Bug 1079627 (Part 7) - Disable some questionable tests. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
6bcf24b3a0 Bug 1079627 (Part 6) - Lock the image during decoding. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
209cea17b9 Bug 1079627 (Part 5) - Allow recursive notifications in NotifyProgress. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
09c701ddd7 Bug 1079627 (Part 4) - Support multiple decoders in the presence of frame preallocation. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
968ba626cc Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-15 15:11:36 -08:00
Seth Fowler
ddb14760dd Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-15 15:11:35 -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
L. David Baron
eb5285b396 Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek 2015-01-15 15:07:50 -08:00
Ryan VanderMeulen
82e3ce2e32 No bug - Adjust some Android reftest expectations now that they're passing again. r=gbrown, a=test-only
These tests were originally marked as failing on 2.3 so that Android 2.3 could be enabled in production. Something today made them start passing again, so remove the failing annotations.
2015-01-14 13:46:20 -05:00
Ehsan Akhgari
1e88271572 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
4a8e595770 Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
d517a30886 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05: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
Ryan VanderMeulen
ec64fa9cbe Backed out 2 changesets (bug 1119158, bug 1118694) for B2G Nuwa test failures on a CLOSED TREE.
Backed out changeset a15929ba55cd (bug 1119158)
Backed out changeset 0b1b75d692bf (bug 1118694)
2015-01-12 12:07:13 -05:00
Carsten "Tomcat" Book
06bff7d380 Backed out changeset c65de66fe0aa (bug 1119774) since this needs to be backedout too otherwise you will have a bustage or so :) on a CLOSED TREE 2015-01-12 15:36:36 +01:00
Carsten "Tomcat" Book
0bb2cd34b4 Backed out changeset 0257e0be8c42 (bug 1119774) 2015-01-12 15:35:21 +01:00
Carsten "Tomcat" Book
441a3dad22 Backed out changeset 9e9c62f86ca3 (bug 1119774) 2015-01-12 15:35:19 +01:00
Carsten "Tomcat" Book
3927deff78 Backed out changeset 02d04afc91b5 (bug 1119774) 2015-01-12 15:35:17 +01:00
Carsten "Tomcat" Book
f0998d414e Backed out changeset 560042809ee7 (bug 1119774) 2015-01-12 15:35:16 +01:00
Carsten "Tomcat" Book
5111b3dc4b Backed out changeset 2eefd792306d (bug 1118655) 2015-01-12 15:35:14 +01:00
Carsten "Tomcat" Book
43eb970b8e Backed out changeset 9e4626f6062b (bug 1045929) 2015-01-12 15:35:12 +01:00
Carsten "Tomcat" Book
2f468c47a2 Backed out changeset 66a9a3b1aadb (bug 1045929) 2015-01-12 15:35:10 +01:00
Seth Fowler
da4e6029db Bug 1079627 (Followup) - Switch to fallible allocator in SourceBuffer and disable GIF webcam test. r=me 2015-01-12 04:22:01 -08: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
84ebcf0622 Bug 1045929 (Part 1) - Add a streaming downscaler to ImageLib. r=tn 2015-01-12 03:24:26 -08:00
Seth Fowler
cc17a59ef6 Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ is enabled. 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
5ca41857d2 Bug 1119774 (Part 4) - Add downscale-during-decode support to RasterImage::LookupFrame. r=tn 2015-01-12 03:24:26 -08:00
Seth Fowler
7924968a7c Bug 1119774 (Part 3) - Make it possible to propagate a target size to the decoder. r=tn 2015-01-12 03:24:26 -08:00
Seth Fowler
138cdbd00e Bug 1119774 (Part 2) - Add RequestDecodeForSize to imgIContainer. r=tn 2015-01-12 03:24:25 -08:00
Seth Fowler
e45b4b33bd Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-12 03:24:25 -08:00
Seth Fowler
183cbfe57e Bug 1119158 - Retarget OnDataAvailable to a new I/O thread instead of the image decoding thread pool. r=sworkman 2015-01-12 01:29:25 -08:00
Seth Fowler
f5461f43c6 Bug 1118694 - Always retarget OnDataAvailable for RasterImage. r=sworkman 2015-01-12 01:29:23 -08:00
Seth Fowler
763ba1131e Bug 1079627 (Part 4) - Support multiple decoders in the presence of frame preallocation. r=tn 2015-01-12 01:20:23 -08:00
Seth Fowler
2bd2f07368 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-12 01:20:23 -08:00
Seth Fowler
2a70666eab Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-12 01:20:23 -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
9ef0e5680a Bug 1118105 - Make SurfaceCache::Insert let you know if you try to insert a duplicate surface. r=dholbert 2015-01-11 22:29:35 -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
Seth Fowler
f16f08b16e Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. r=tn 2015-01-11 19:28:02 -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
883643f8ab Bug 1079627 - Additonal commit to allow push on a CLOSED TREE since these patches should fix the oranges 2015-01-11 05:43:06 -08:00
Seth Fowler
08df7af950 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler
2bc1ac6eeb Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-11 05:34:20 -08: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
e85c416171 Bug 1118105 - Make SurfaceCache::Insert let you know if you try to insert a duplicate surface. r=dholbert 2015-01-10 20:47:39 -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
5955b3c0ef Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. 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
Chris Peterson
9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -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
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
b27a30a8fe Bug 987616 - Disable browser_image.js on debug builds due to frequent failures. 2015-01-08 12:32:12 -05:00
Seth Fowler
d3da56cc5b Bug 1116733 (Followup) - Mark constructor of UnlockImageDataRunnable explicit on a CLOSED TREE. r=me
--HG--
extra : amend_source : 866c595f036229aa3047d725b6158430536a911f
2015-01-08 01:28:21 -08:00
Seth Fowler
8f47ed3254 Bug 1116747 - Always use multithreaded image decoding. r=tn 2015-01-08 00:29:41 -08:00
Seth Fowler
df59da8689 Bug 1116746 - Remove unused statistics code from RasterImage. r=tn 2015-01-08 00:29:39 -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
Seth Fowler
806a27672a Bug 1116716 (Followup) - Add missing header file in FrameAnimator.cpp on a CLOSED TREE. r=me 2015-01-07 02:51:58 -08:00
Seth Fowler
83d34460e2 Bug 1116716 - Store animated frames in the SurfaceCache. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
445b417916 Bug 1116719 - Remove Image::FrameRect. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
e77448413c Bug 1112972 (Part 5) - Remove almost all special handling of multipart images in ProgressTracker. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
fa7dbd3ca8 Bug 1112972 (Part 4) - Remove Image::OnNewSourceData. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
0e4f9bad00 Bug 1112972 (Part 3) - Remove almost all special handling of multipart images in RasterImage. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
d39948761c Bug 1112972 (Part 2) - Add MultipartImage and use it for multipart/x-mixed-replace image loading. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
3072a3e4c7 Bug 1112972 (Part 1) - Minor refactoring to prepare for MultipartImage. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
af8da03583 Bug 1112956 - Add IProgressObserver to permit more than one class to observe ProgressTracker. r=tn 2015-01-07 01:35:20 -08:00
Valentin Gosu
47907c06e3 Bug 1021221 - resourceTiming initiatorType is empty/other when images are loaded from cache r=seth
Setting the initiatorType to img in ProxyListener::OnStartRequest for resources that don't already have it set.
2014-10-29 17:35:05 +02:00
Christoph Kerschbaumer
b39fa64608 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Patrick McManus
c8acfd64a8 bug 1113065 - spdy should not close session on imglib error r=bagder r=seth 2014-12-22 11:03:05 -05: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
91a9cb8cc3 Bug 1087731: Make JS callers of ios.newChannel call ios.newChannel2 in image/ (r=seth) 2014-10-24 14:54:01 -07:00
Glenn Randers-Pehrson
5736d3ebf6 Bug 1102048 (Part 08) - Make image/src/FrameAnimator.* comply with the Mozilla Coding Style Guide. r=seth
--HG--
extra : rebase_source : 317b7ad7f96fd63b3f989beb177397f065f66c8f
2014-12-14 15:54:00 -08:00
Ehsan Akhgari
d945a5c5ae Bug 773014 - Part 2: Mark Static{Auto,Ref}Ptr as global-only; r=jrmuizel 2014-12-22 18:10:44 -05:00
Seth Fowler
f789afa81c Bug 1111041 - Detect PR_GetPhysicalMemorySize failure in SurfaceCache. r=dholbert 2014-12-18 19:50:56 -08:00
Carsten "Tomcat" Book
0ee712abb4 Backed out changeset 6d81c1303daf (bug 1086284) for refest failures on a CLOSED TREE 2014-12-17 13:21:07 +01:00
Jonathan Watt
9e326f88fc Bug 1086284 - Avoid using refcounting when determining an SVG-as-an-image's intrinsic size so that the image doesn't end up in the CC graph. r=dholbert 2014-12-09 22:32:10 +00:00
Daniel Holbert
525d23e073 (no bug) Fix some mis-indented lines in VectorImage.cpp. (whitespace-only, DONTBUILD) 2014-12-15 19:50:02 -08:00
Daniel Holbert
ece9c83a9f (no bug) Update stale comment above VectorImage::Draw() impl, to reflect current IDL function-prototype. (comment-only, DONTBUILD) 2014-12-15 19:49:59 -08:00