Commit Graph

1043 Commits

Author SHA1 Message Date
Steve Workman
9f54d2c390 Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
5d7442e954 Bug 867755 - Detect if DiscardTracker has shutdown r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
a15a4e8e26 Bug 867755 - Dispatch imgRequestProxy notifications r=seth 2013-09-28 11:28:43 -07:00
Steve Workman
8bc9e8de94 Bug 867755 - Make DiscardTracker thread-safe r=seth 2013-09-28 11:28:43 -07:00
Steve Workman
e9a5dd723a Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth 2013-09-28 11:28:42 -07:00
Martijn Wargers
a3d1617473 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
df60bfed7e Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
CLOSED TREE
2013-09-27 18:28:43 -04:00
Martijn Wargers
01fd8c8bbd Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Milan Sreckovic
dac32cb6ee Bug 856616 - Post size in the global header, rather than continuing with the processing, if all we need is a size decode. r=seth 2013-09-25 13:06:22 -04:00
Neil Rashbrook
fec95dc2b5 Bug 920073 Switch back to #including nsStringGlue.h in headers that need to work with the external string API r=ehsan 2013-09-25 08:27:54 +01:00
Nicholas Nethercote
dc5c29f71c Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
CLOSED TREE
2013-09-19 15:52:30 -07:00
Phil Ringnalda
12216d4f00 Backed out 3 changesets (bug 913260)
CLOSED TREE

Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
a51a1d18a4 Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
e5f7d1d148 Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel 2013-09-24 16:45:13 -04:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ryan VanderMeulen
26ad3fc54b Merge m-c to inbound.
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Martin Stransky
158c3250f0 Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt 2013-09-23 09:21:35 -04:00
Ehsan Akhgari
7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Ehsan Akhgari
a1b0ce2dbd Bug 579517 follow-up: Remove NSPR types that crept in 2013-09-22 19:14:24 -04:00
Matt Woodrow
ea50fadeaf Bug 917703 - Mark gfxSubimageSurface as opaque if it is within the opaque rect of the parent surface. r=roc 2013-09-20 21:50:05 +12:00
Honza Bambas
894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Mike Hommey
fdcd66734e Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66 Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Stephen Pohl
4914dcba49 Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Seth Fowler
2ef014c792 Bug 910881 - Do not call RasterImage::DoError off the main thread. r=jdm
--HG--
extra : rebase_source : 9d76763242a351dfbdcf8a35db98a5dceed0d838
2013-09-12 14:40:16 -07:00
Stephen Pohl
b7ecfddf96 Bug 817700 - Fix animSVGImage test. r=roc 2013-09-12 17:04:26 -04:00
Seth Fowler
69dfe65991 Bug 912514 - Don't release nsIURIs off-main-thread. r=jdm 2013-09-11 17:01:59 -07:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger
b336ed5c33 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
7154345fcf Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
b1e84e8aad Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Nicholas Nethercote
cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Ehsan Akhgari
cfc4d18351 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ryan VanderMeulen
66808396a3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Seth Fowler
2d68cf9437 Bug 908514 (Part 2) - Fix "variable may be used uninitialized" warning in nsICODecoder.cpp. r=jrmuizel 2013-09-05 15:55:13 -07:00
Seth Fowler
6b56ec47c8 Bug 908514 (Part 1) - Replace imagelib endian macros with MFBT's endian functions. r=jrmuizel 2013-09-05 15:55:13 -07:00
Josh Matthews
85eb883a1f Bug 906813 - Make private image channel test relying on cache wait until the cache is cleared. r=ehsan 2013-09-03 10:45:50 -04:00
Milan Sreckovic
5413b28258 Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.

--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jonathan Watt
e2e906c582 Bug 907503 - Test that invalidation works for SMIL animation in SVG-as-an-image. r=longsonr 2013-09-04 11:39:32 +01:00
Jonathan Watt
774ee65e35 Bug 911862 - Make VectorImage use the refresh driver to send out frame change notifications. r=dholbert 2013-09-04 11:39:30 +01:00
Simon Lindholm
5c911188e0 Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode. r=seth 2013-09-03 13:20:15 -07:00
Seth Fowler
e87a993f4a Backout bug 867183 due to intermittent oranges. (See bug 910533.) r=me 2013-08-29 17:47:39 -07:00
Ehsan Akhgari
7fcc6b89fc Bug 910857 - Minimize #includes in content/events; r=smaug 2013-08-29 17:18:25 -04:00
Seth Fowler
190904a6b2 Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar 2013-08-28 15:39:05 -07:00
Seth Fowler
83081b2d54 Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm 2013-08-28 15:39:05 -07:00
Seth Fowler
319f8740f0 Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm 2013-08-28 15:39:04 -07:00
Adam Dane [:hobophobe]
1183264382 Bug 907575 - mResniffMimeType not properly reset. r=seth 2013-08-27 18:39:54 -05:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
46a5d99103 Bug 831193 (part 13) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in image/. r=jmuizelaar.
--HG--
extra : rebase_source : 25e1c8dad9905df01eb18f300ddab98b24fde7dc
2013-01-17 16:45:11 -08:00
Ryan VanderMeulen
6349254839 Backed out changeset 5acab2576a56 (bug 885277) for intermittent mochitest-other failures. 2013-08-27 20:52:18 -04:00
Justin Lebar
35a65ed466 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Max Stepin
07f72fe0e1 Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth 2013-08-27 14:50:59 -07:00
Simon Lindholm
9e116dddaa Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode 2013-08-14 12:29:55 +02:00
Seth Fowler
d3ff72ca6a Bug 869723 (Part 4) - Add OrientedImage. r=joe 2013-08-25 00:19:43 -07:00
Seth Fowler
337d1b4d5f Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe 2013-08-25 00:19:43 -07:00
Seth Fowler
fc9c9c54a7 Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn 2013-08-25 00:19:42 -07:00
Seth Fowler
02e2cbfb29 Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-25 00:19:42 -07:00
Phil Ringnalda
64dcba29d5 Back out 353f5b3c81c7:62a1a184b2c3 (Bug 869723 and Bug 870090) for not actually building
CLOSED TREE
2013-08-24 19:13:21 -07:00
Seth Fowler
9d09a6075a Bug 869723 (Part 4) - Add OrientedImage. r=joe 2013-08-24 17:31:15 -07:00
Seth Fowler
c217638415 Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe 2013-08-24 17:31:14 -07:00
Seth Fowler
82fdbdc747 Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn 2013-08-24 17:31:14 -07:00
Seth Fowler
31264a78de Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-24 17:31:14 -07:00
Gabriele Svelto
91c1a25d52 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
David Zbarsky
4c5f4ab84f Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir 2013-08-23 13:56:20 -04:00
Birunthan Mohanathas
5bae25cea8 Bug 784739 - Switch from NULL to nullptr in image/. r=ehsan 2013-08-23 15:51:00 -04:00
David Zbarsky
0135827acf Backout c619171e0070 for windows assertion failure on a CLOSED TREE 2013-08-23 14:58:41 -04:00
David Zbarsky
fa0754f81a Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir 2013-08-23 13:56:20 -04:00
Matt Woodrow
e2c4e8b284 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Ms2ger
04a948975a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Milan Sreckovic
2b221b61f2 Bug 905678 - Back out the fix from bug 899861 now that bug 905793 is fixed. r=seth 2013-08-20 11:53:13 -04:00
Milan Sreckovic
39746f41ba Bug 905793 - Send ImageUpdated() on the whole image in PostFrameStop. This may be an overkill in some cases, dirtying twice. r=seth 2013-08-15 17:06:01 -04:00
Trevor Saunders
acfc9e9cd6 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Milan Sreckovic
ff8052e6e1 Bug 899861 - Animated gifs should not wait to play until fully downloaded. This is a partial backout of 717872 with the intent to re-enable using the separate FrameAnimator class. Hide the new approach behind #define USE_FRAME_ANIMATOR for now. r=bgirard 2013-08-13 18:30:28 -04:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Mihnea Dobrescu-Balaur
de44eb6dbd Bug 903864 - Make test_imgtools use do_get_tempdir(). r=dolske 2013-08-11 09:38:09 -07:00
Trevor Saunders
e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Joey Armstrong
56ab717da3 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Jeff Gilbert
a799e185b5 Bug 865919 - Add INT32_MIN-height BMP test. r=joe 2013-07-30 17:49:42 -07:00
Jeff Gilbert
0a122c2ad7 Bug 865919 - Abort decode of INT32_MIN BMPs. r=joe 2013-07-30 17:49:41 -07:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Tom Schuster
2a7f05152e Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug 2013-07-29 11:03:41 -04:00
Trevor Saunders
108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Joe Drew
1b946f8566 Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth 2013-07-26 14:57:41 -04:00
Joe Drew
939663e03f Backed out changeset 8a6e3d229183 (bug 887466) because of assertion failures 2013-07-26 14:02:57 -04:00
Joe Drew
86ebd6ba9f Bug 897488 - Apply any dirt on frames whenever we get a drawable frame, not just in Draw(). r=seth
--HG--
extra : rebase_source : f4b9e2ccded3844e9384e6f8eb7a801b5e25105d
2013-07-26 10:41:57 -04:00
Joe Drew
6014dc8bbe Bug 887466 - Rearrange SyncDecode so that we never try to finish a size decode with the decode lock held. r=seth
--HG--
extra : rebase_source : 0c63494d7b6330b6d477ba28af34f26af2e2f3ab
2013-07-26 10:38:51 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
77f38b11be Bug 884061 - Part 3k: Use NS_DECL_THREADSAFE_ISUPPORTS in image/, r=joedrew
--HG--
extra : rebase_source : f8582736fc5306c441ddcab7a215e16262c6f517
2013-07-18 21:23:31 -05:00
Shih-Chiang Chien
30db599e0c Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc 2013-07-22 22:31:24 -04:00
Daniel Holbert
8dde80d3f4 Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth 2013-07-22 13:42:05 -07:00
Gervase Markham
5103d820f9 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Seth Fowler
8c58c3be0f Bug 885939 (Part 1) - Scale SVG images using the graphics context matrix instead of the viewport. r=dholbert 2013-07-16 15:41:30 -04:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Joe Drew
cb1e8505e5 Bug 717872 - Move all image animation logic into a new class, FrameAnimator, and use it from RasterImage. r=seth
This patch moves the logic of moving from one frame to another (and tracking
what frame is current, etc) to a separate class, FrameAnimator. Deciding
*whether* to animate, and actually calling that animation code, is left to
RasterImage, but the animation itself is driven by FrameAnimator.
2013-07-15 14:38:59 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Mihnea Dobrescu-Balaur
d0852d2d3f Bug 887578 - Make the image xpcshell tests use dynamic httpd ports so they can be run concurrently. r=joe 2013-07-09 12:48:50 -07:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Joe Drew
31f323b1d6 Bug 717872 - Make FrameSequences be refcounted, and store a RefPtr to FrameSequence on FrameBlender. r=seth
This makes it possible for us to share FrameSequences by refcounting them. We
don't do anything smart when inserting/removing/swapping frames, but we do
carefully handle the "discard" case (by just reallocating a new
FrameSequence).

Note that, currently, nothing actually *shares* FrameSequences.

--HG--
extra : rebase_source : 9facdf8930297888f2ee77e0816543c6ad703f80
2013-07-09 14:53:12 -04:00
Joe Drew
171c658f3e Bug 717872 - Move frame ownership to a separate container object, FrameSequence, which only exposes const access to its frames. r=seth
The eventual goal here is to have FrameBlenders be able to share
FrameSequences.

--HG--
extra : rebase_source : 97b8be9f53ed5cb14f0d46655d8fd7cdfa6bab67
2013-07-09 10:45:06 -04:00
Joe Drew
763b4a19d3 Bug 888607 - Test. r=seth
--HG--
extra : rebase_source : aeecfcc1c178f1a8402291fbeb698ca0c4b4d980
2013-07-04 17:06:05 -04:00
Joe Drew
29fbe81aa3 Bug 888607 - Correctly clear sub-frames. r=seth
--HG--
extra : rebase_source : 99ef0a24beea67613a67823fd35c313f933841c9
2013-07-04 17:05:59 -04:00
Joe Drew
a52cd51483 Bug 890179. r=seth a=abillings
--HG--
extra : rebase_source : f8c1f5adbdcc9bae652df901f256e8eac3fc5dc3
2013-07-04 15:58:26 -04:00
Ms2ger
1a40020bdd Bug 213324 - Remove getter_AddRefs(T*); r=ehsan 2013-07-10 11:56:21 +02:00
Trevor Saunders
4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Joey Armstrong
38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Joe Drew
f697457bef Bug 717872 - Make blending functions take const source parameters so it's a little less likely that we modify things in mFrames again. r=seth 2013-06-28 15:01:32 -04:00
Joe Drew
58551ea3c8 Bug 717872 - Don't change the content of mFrames, even when it'd be faster. r=seth 2013-06-28 14:53:11 -04:00
Joe Drew
1e3d9fa92d Bug 717872 - Remove the imgFrame* helpers from FrameBlender now that we always have raw data pointers. r=seth 2013-06-28 14:52:04 -04:00
Joe Drew
7406a5c6fb Bug 717872 - Store a frame's raw image data pointer beside its imgFrame pointer so we can access it without having to lock the frame. r=seth
This patch makes us store imgFrames in FrameBlender with a new sort-of-tuple,
FrameDataPair, that is smart enough to be able to lock and unlock imgFrames,
and can be transparently cast to an imgFrame, but doesn't do too much else.
The alternative, storing a separate array of uint8_t pointers, seemed too
complicated.
2013-06-28 13:52:39 -04:00
Joe Drew
97e991daf1 Bug 795737 - To avoid Cairo assertions, call Flush when we MarkDirty too, because we can draw locked images, which adds snapshots to the Cairo surfaces. r=Bas 2013-07-04 14:46:02 -04:00
Joe Drew
00f3c91805 Bug 888499 - Mark frames as dirty in a threadsafe way when imgFrame::ImageUpdated is called on them, and clear that dirty bit when we're drawing. r=seth 2013-07-04 14:45:57 -04:00
Chris Lord
ab2369584d Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-07-04 14:53:31 +01:00
Jared Wein
5bfd235f29 Bug 822149 - Replace translucent media backgrounds with an opaque background and make uniform the backgrounds for images and audio/video. r=dolske 2013-07-09 09:09:16 -04:00
Joey Armstrong
53426849e7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Phil Ringnalda
3ef086bd75 Backed out 066a0110bd0b:1dc02c10629c (bug 865919) for mochitest-4 assertions
CLOSED TREE
2013-07-01 19:18:34 -07:00
Jeff Gilbert
39be2e7e10 Bug 865919 - Add test with INT_MIN-height BMP. - r=joe 2013-07-01 17:32:06 -07:00
Jeff Gilbert
854e567d4c Bug 865919 - Check for still-negative heights when decoding BMPs. - r=joe 2013-07-01 17:32:06 -07:00
Catalin Iacob
8f3a2a0c69 Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn. 2013-06-30 18:26:39 +02:00
Timothy Nikkel
bf19db7713 Bug 845147. Fix accidentally landed incorrect patch so it does some sync decoding for images being decoded the first time. r=joe 2013-06-26 15:36:43 -05:00
Catalin Iacob
6f4758d23e Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
David Zbarsky
21ce0909ad Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger 2013-06-24 12:31:52 -07:00
Justin Lebar
3bd1003def Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew 2013-06-04 17:05:54 -05:00
Seth Fowler
8252e3fa97 Bug 695763 (Part 1) - Add imgIContainer::IsDecoded. r=joe sr=bz 2013-05-22 17:27:02 +08:00
Seth Fowler
6d6bdeafcb Bug 883416 (Part 3) - Coalesce invalidations in RasterImage using a listening flag. r=dholbert
--HG--
extra : rebase_source : db6a580cacd0f0556c5e38ba1b4fb9924ecf9dfd
2013-06-21 13:32:34 -07:00
Seth Fowler
a99584d913 Bug 883416 (Part 2) - Revert bug 846028. r=dholbert
--HG--
extra : rebase_source : be11dfe000188dc97b0daef70135d3a9f2d3a513
2013-06-21 13:32:34 -07:00
Seth Fowler
c2dd6b1d0d Bug 883416 (Part 1) - Revert bug 851416. r=dholbert
--HG--
extra : rebase_source : 47dae82941038ff7f79f15aee50194276f617f9b
2013-06-21 13:32:33 -07:00
Joey Armstrong
177893ac53 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Joe Drew
c3f99184a6 Bug 867774 - Rename the helper HTML pages as suggested by reviewer. r=seth
--HG--
rename : image/test/reftest/animated/delaytest.html => image/test/reftest/animated/delay-test.html
rename : image/test/reftest/animated/nodelaytest.html => image/test/reftest/animated/no-delay-test.html
2013-06-20 09:33:51 -04:00
Brian O'Keefe
11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Joe Drew
7480707396 Bug 867774 - Tests for animated images with different disposal and blend modes. r=seth
--HG--
extra : rebase_source : bceeb8ad5bc02a84e15e758e1addc84d8205b9b2
2013-06-18 16:24:05 -04:00
Joe Drew
e10ce649b4 Bug 867774 - Create a FrameBlender class that holds on to an image's frames and can blend frames together on demand (while leaving the decision as to which frames to external users). r=seth
FrameBlender steals RasterImage::mFrames, RasterImage::DoComposite, and the
RasterImage blending helper functions CopyFrameImage, DrawFrameTo, and
ClearFrame. Now RasterImage doesn't hold on to its frames directly, and defers
all blending to FrameBlender::DoComposite.

--HG--
extra : rebase_source : f03736045f967f0947441703e54135b98d9dcf54
2013-06-17 16:49:04 -04:00
Joe Drew
4e275ea54e Bug 867774 - Make RasterImage's frame blending helper functions threadsafe. r=jrmuizel
--HG--
extra : rebase_source : 4fbf269ff3fcc5d8a88102b20fa7cc09f1c1bc03
2013-06-14 09:42:01 -04:00
Joey Armstrong
0a0e08cb9c bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Seth Fowler
72967380f0 Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert 2013-06-13 00:47:26 -07:00
Martin Stransky
d8da1b5a38 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Joe Drew
69fc50b5b6 Bug 878751 - Port a bug fix from Chrome back to Mozilla. r=jlebar
--HG--
extra : rebase_source : d680dada2ac1932806e10c6050376a849112f523
2013-06-07 16:42:57 -04:00
Joe Drew
30621b3877 Bug 878392 - Reset Decoder::mCurrentFrame to nullptr if we fail to create a frame. r=seth
--HG--
extra : rebase_source : 1188bfd4896c687eb954ac781cd23e2d49a48959
2013-06-07 16:42:57 -04:00
Joe Drew
43351f7d0c Bug 876499 - If a looping image is being asked to advance to a time that is more than one loop in the future, skip the intermediate frames and simply jump to the next multiple of the loop count. r=seth
When there is a long delay between calls to RequestRefresh(), for example
because an animated image has been scrolled off the screen, the current
animation frame time can be significantly behind the current time, requiring a
huge number of composites to catch up. This patch makes us skip those
intermediate composites, jumping to the closest multiple of the image's loop
time.

--HG--
extra : rebase_source : 3e9ef5bd3ad3f1e9d95def99e6bb546474a583c9
2013-06-07 15:28:24 -04:00
Matt Woodrow
de91760c0f No Bug - Mark bmp-size-1x1-1bpp.bmp as passing on b2g now 2013-06-07 21:22:41 +12:00
Joe Drew
0fff129d82 Bug 878037 - unit test to make sure we can clone a static imgIRequest. r=seth
--HG--
extra : rebase_source : 0b6a360ab04719b648c2eaaf9310a1bbb81be881
2013-06-06 13:33:54 -04:00
Phil Ringnalda
9c043953e8 Bug 879494 followup, clean up the last few bug685516 annotations
CLOSED TREE
2013-06-04 23:10:53 -07:00
Timothy Nikkel
7de8dddcde Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
Daniel Holbert
4795726e4a Back out 022bc808586b (bug 845147) on suspicion of causing frequent intermittent oranges for list-simple-1.html by busting its reference case 2013-06-04 20:00:20 -07:00
Bobby Holley
17992acedf Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Justin Lebar
410eb65e8b Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew 2013-06-04 17:05:54 -05:00
Joe Drew
0a764c3232 Bug 878037 - Make static image requests (imgRequestProxyStatic) Clone correctly when the concrete-type Clone override is called. r=seth 2013-06-04 14:38:37 -04:00
Joe Drew
0d58f40d2e Bug 878037 - Revert the null-owner intentional crashes, since we found the cause. r=seth 2013-06-04 14:38:31 -04:00
Robert O'Callahan
15f4e6899b Bug 786064. Part 1: Pass aFlags through VectorImage::Draw; FLAG_CLAMP is especially important to avoid taking a deathly-slow tiling path. r=joedrew
--HG--
extra : rebase_source : a8f5f9ea9755cf4e2017bb522e99870c2a7f48d5
2013-06-04 15:29:34 +12:00
Joe Drew
c9a03cdf39 Bug 876355 - We must report telemetry *before* shutting down the decoder! r=jrmuizel
This simply restores the control flow from pre-bug 716140.
2013-05-30 10:32:16 -04:00
Joe Drew
ed1618fa32 Bug 876332 - Set currentAnimationFrameTime correctly based on the current frame's timeout (not the next frame's timeout). r=jrmuizel
In AdvanceFrame(), timeout refers to the timeout of the *next* frame. Setting
the *current* animation frame time based on the *next* frame is nonsense, but
worked for images with uniform frame timings. Unfortunately some images
don't have uniform frame timings!
2013-05-30 10:31:54 -04:00
Ehsan Akhgari
9b848f5568 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
347f27d7f6 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
--HG--
extra : rebase_source : 04013f2315b07f86aea7d4a808de2626a9240387
2013-05-29 15:26:35 +01:00
Trevor Saunders
4b16c76fb3 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
c0967d6681 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-05-28 18:50:17 +01:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Phil Ringnalda
e7f68c5019 Bug 876275 - skip a crashtest that times out on B2G on a VM 2013-05-26 11:16:47 -07:00
Joe Drew
c7a211e679 Bug 855221 - Don't flush from imgFrame::ImageUpdated(), which can be called from the decoder thread. r=jrmuizel
--HG--
extra : rebase_source : a52a6ed8dc4d0477593f0af8289bb14a61594a3a
2013-05-24 21:52:34 +08:00
Joe Drew
8ff0e1b8a3 Bug 867758 - Test to ensure we don't return to the event loop while changing the frame of two images with the same FPS. r=seth
--HG--
extra : rebase_source : f91bfad7e8c984553808acf00ae5fc1d92965b24
2013-05-23 09:49:38 +08:00
Joe Drew
9407c7066d Bug 867758 - Don't start images' animation until they've been explicitly RequestRefreshed by the refresh driver. r=seth
--HG--
extra : rebase_source : fa6bfc38e37ccf1ea107a33e4ec845511ea947cd
2013-05-17 16:57:26 -04:00
Joe Drew
b2ab6d1995 Bug 867758 - Add imgIContainer::SetAnimationStartTime, which lets us explicitly set the time animation starts (rather than using TimeStamp::Now()). r=seth
--HG--
extra : rebase_source : 4660937d5eb06bf83b749826d2f13da29583e9e7
2013-05-17 16:57:20 -04:00
Joe Drew
298cd10406 Bug 867758 - Add an imgIContainer getter for the first frame's delay time. r=seth
--HG--
extra : rebase_source : aaedf6ee810ca8fcd8979abb5467da4420437bad
2013-05-17 13:42:20 -04:00
Joe Drew
ffc71066f7 Bug 873505 - Set the animation frame's start time based on when we *wanted* to start, not when we actually did. r=seth
--HG--
extra : rebase_source : 3a227e377e84d23f00ba11352fe22fa51c0d2958
2013-05-17 13:41:35 -04:00
Joe Drew
4cb087e7a2 Bug 875173 - Fix an infinite loop in RasterImage::RequestRefresh when, for whatever reason, we can't advance a frame after we've advanced at least one. r=seth
--HG--
extra : rebase_source : 805fc9ab44fe0c99cab80f9d3c717b94727fcfd4
2013-05-23 09:40:58 +08:00
Seth Fowler
f41d980a46 Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-22 17:10:38 +08:00
Ed Morley
65f1744f70 Backed out changeset 11de174da4a4 (bug 873455) for assertions 2013-05-22 09:18:27 +01:00
Seth Fowler
f2ab3bbf52 Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe 2013-05-22 15:46:57 +08:00
Seth Fowler
80d8e58170 Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-22 15:33:08 +08:00
Joe Drew
e52a1f59a7 Bug 861595 - Don't try to decode anything if we don't have any bytes to decode. r=seth 2013-05-22 13:38:06 +08:00
Seth Fowler
6fb796dce7 Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe
--HG--
extra : rebase_source : e2ae7acd6005e5913f2c3d45c83771c8fbed729c
2013-05-22 09:52:10 +08:00
Ed Morley
4449792cc3 Backed out changeset 3948ffacb5fb (bug 873455) for assertions on a CLOSED TREE 2013-05-21 12:40:13 +01:00
Ed Morley
81a342661a Backed out changeset fea91386092f (bug 871671) 2013-05-21 12:39:25 +01:00
Seth Fowler
444b5cb576 Bug 871671 - Only pause the PNG decoder when we really need a new frame. r=joe 2013-05-21 17:36:22 +08:00
Seth Fowler
4454fb1dac Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-21 17:36:09 +08:00
Carlos G.
8962237ccb Bug 463696 - crash test 2013-05-19 18:20:20 +00:00
Aki Helin
542781dab5 Bug 570451 - crash test 2013-05-18 18:38:33 +00:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ehsan Akhgari
0b00dc2f2d Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Maria Grazia Alastra
45c0af14f9 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Ryan VanderMeulen
c03cc5b8b2 Backed out 5 changesets (bug 817700) for Ubuntu32 PGO mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset fad852b5819a (bug 817700)
Backed out changeset 7a3535c6e652 (bug 817700)
Backed out changeset 44a748256eca (bug 817700)
Backed out changeset 06ae8895852b (bug 817700)
Backed out changeset d6bddc947d38 (bug 817700)
2013-05-15 15:25:47 -04:00
Stephen Pohl
2b352367e9 Bug 817700 - Fix animSVGImage test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
af40797fb4 Bug 817700 - Make <canvas>.toBlob run asynchronously - imglib changes. r=seth 2013-05-15 08:21:22 -04:00
Seth Fowler
fd40f6b592 Bug 867009 (Part 1) - Remove imgFrame::Extract. r=joe 2013-05-13 14:54:40 -07:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Robert O'Callahan
ee810f8019 Bug 865546 - Propagate FLAG_CLAMP through RasterImage::DrawWithPreDownscaleIfNeeded. r=joedrew 2013-05-09 13:42:12 -04:00
Ryan VanderMeulen
eca9fedd98 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
a78065dba5 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1727e4c18f Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Joe Drew
146e468252 Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -04:00
Joe Drew
8ddd13e205 Bug 868871 - Don't do any invalidation from under RasterImage::GetImageContainer(), which is called while painting. r=seth 2013-05-09 09:36:57 -04:00
Glenn Randers-Pehrson
706f34c554 Bug 857040 - Warn on bad CRC instead of error exit. r=joe 2013-05-06 09:04:16 -04:00
ISHIKAWA, Chiaki
c3bc964f70 Bug 866463 - Remove the initial incorrect assignment. r=joe 2013-05-08 09:14:26 -04:00
Joe Drew
2e93a2b4bc Bug 869125 - Use the preallocated first frame in the PNG and GIF decoders when possible so we don't flash unnecessarily. r=seth
--HG--
extra : rebase_source : b2b914fd86c7946392588726082b885b09a97b37
2013-05-07 22:25:03 -04:00
Benoit Jacob
009f164aa1 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -04:00
Seth Fowler
35fe54c7fa Bug 859377 (Part 5) - Use CreateOffscreenDrawTarget instead of CreateOffscreenSurface. r=joe
--HG--
extra : rebase_source : ff31b47bcfd2cc6c733903a885e08ce7add358dd
2013-05-07 10:47:42 -07:00
Iivari Äikäs
6ad63ad8a5 Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Alfred Kayser
f6f5713fa6 Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. (followup) r=joe@drew.ca 2013-05-04 13:42:26 +02:00
Alfred Kayser
79a90022a1 Bug 685471 - In PNG decoder, the allocating of mHeaderBuf can be prevented. r=joe@drew.ca 2013-05-04 11:39:47 +02:00
Timothy Nikkel
1a59c831f2 Bug 866959. Make sure to initialize mHasBeenDecoded in all constructors of imgStatusTracker. r=seth 2013-04-30 18:35:00 -05:00
Seth Fowler
9497b33cd3 Bug 859377 (Part 4) - Make ClippedImage use gfxImageSurfaces on Windows. r=me 2013-04-30 16:28:25 -07:00
Timothy Nikkel
185ae2569a Bug 866259. Vector images need to send the unlocked draw notification too because it is also responsible for managing the number of animation consumers. r=joedrew 2013-04-29 14:10:16 -05:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Joe Drew
b3bfc6dce1 Bug 853564 - Deal with outstanding decoding-done notifications from within RequestDecode so we don't have to wait for the event loop. r=seth
--HG--
extra : rebase_source : 256eb11410196dd09319b02b20111ea87c4b57d6
2013-04-26 16:43:17 -04:00
Timothy Nikkel
fe2b9609be Bug 865993. For layerized images GetImageContainer has the same meaning as Draw()'ing the image, and Draw will not be called on the image, so send the unlocked draw notification there too. r=joedrew 2013-04-26 14:58:17 -05:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Seth Fowler
e9de641906 Bug 853774 - RequestBehaviour must handle null owners. r=joe 2013-04-25 20:30:29 -07:00
Seth Fowler
38bbbc4266 Bug 859377 (Part 3) - Make ClippedImage cache temporary surfaces. r=joe
--HG--
extra : rebase_source : 060615904e1b416f84b4d6ecf6329841896f13da
2013-04-25 15:58:32 -07:00
Seth Fowler
604be56846 Bug 859377 (Part 1) - Add imgIContainer::GetFrameIndex. r=joe sr=bz
--HG--
extra : rebase_source : e81992f8bead31b273f4afb4fb589849ec1c5218
2013-04-25 15:58:20 -07:00
Joe Drew
615a963620 Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Joe Drew
75e5030adc Bug 863975 - Crashtest. r=seth
--HG--
extra : rebase_source : 2816b2f65b49091914c643357275c169911a4b2f
2013-04-25 16:35:38 -04:00
Joe Drew
a0b4c1afc0 Bug 863975 - Handle the situation that we're left mid-frame when decoding a multi-frame image. r=seth
--HG--
extra : rebase_source : e485eb48a615f3e35e4e5592d0f37604402142f8
2013-04-25 16:35:23 -04:00
Joe Drew
ae4fe518b8 Bug 863958 - Crashtest. r=seth
--HG--
extra : rebase_source : 5f1fa4cd01aba2b1a9b07a8120711b58d36f5ddf
2013-04-25 16:35:03 -04:00
Joe Drew
85ab17e359 Bug 863958 - Don't call SetSize from the ICO decoder if we already have the size. r=seth
--HG--
extra : rebase_source : 924fbe8460992b919d3d7072d162f23eaef30e2f
2013-04-25 16:34:30 -04:00
Timothy Nikkel
d7a8e833c8 Bug 863970. Remove some dead code in imagelib. r=seth 2013-04-24 23:37:00 -05:00
Seth Fowler
eaf7d57113 Bug 863319 - Improve assertions in browser_image mochitest. r=joe
--HG--
extra : rebase_source : bf323152a21613bf20d1ff2456520346bf1460b1
2013-04-19 13:47:36 -07:00
Seth Fowler
9ef00322c7 Bug 854287 - Don't send partial invalidations for images which have already been decoded. r=joe 2013-04-18 16:31:46 -07:00
Joe Drew
becc8be326 Bug 855923 - Set the multithreaded image decoding thread pool's idle thread limit in addition to the regular thread limit. r=seth 2013-04-23 10:06:56 -04:00
Joe Drew
e3965097ba Bug 863123 - Set APNG attributes on the right frame, rather than one frame behind. r=seth 2013-04-22 10:57:17 -04:00
Joe Drew
027d6f3063 Bug 860149 - Mark ourselves as doing synchronous decoding when writing directly to decoders in AddSourceData. r=seth
--HG--
extra : rebase_source : 1d48d2ba8bc880bb9a52fd1f9f6a95849f12992a
2013-04-17 20:05:49 -04:00
Joe Drew
b0b3600214 Bug 857367 - Remove DecodePool::mShuttingDown, which is unnecessary. r=seth
--HG--
extra : rebase_source : a323f90de5d1616f50a6d9aa717c7b423f230c92
2013-04-17 20:05:19 -04:00
Joe Drew
657125683f Bug 857876 - If we're not storing source data, explicitly shut down the decoder when the image data is complete. r=seth 2013-04-16 15:55:45 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nicholas Nethercote
1c97315e22 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Luis de Bethencourt
8fce450089 Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew 2013-04-15 22:05:46 -04:00
Seth Fowler
d66ab16c15 Bug 859718 - Don't assume we have mImageRequest in RasterImage::IsDecodeFinished. r=joe
--HG--
extra : rebase_source : ec57c42b17398f0c90d19f35834e389444059b7f
2013-04-15 14:34:18 -07:00
Andrew McCreight
7d981e7bfa Bug 853707 - Fix bogus assert in StaticBehaviour::SetOwner. r=joedrew 2013-04-02 17:48:42 -07:00
Luis de Bethencourt
bedfab1d62 Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew 2013-04-12 16:25:04 -04:00
Luis de Bethencourt
eee3badd19 Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew 2013-04-12 16:25:04 -04:00
Shih-Chiang Chien
6ab5378419 Bug 857831 - Remove WBMP content sniffer. r=jmuizelaar 2013-04-11 07:48:09 -04:00
Patrick McManus
bd916210f8 bug 857906 progress indicator spinning on multipart motion jpeg r=duell sr=bz
--HG--
extra : rebase_source : 6b3beea6f6bb91e21c37e6dd01e5c6445317f994
2013-04-09 13:38:48 -04:00
Masatoshi Kimura
2550eb2430 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Xin Zhang
a5e9630c16 Bug 849764 - Replace removeObserver() calls with three params with two in image dir. r=mak 2013-04-06 14:46:35 -04:00
Seth Fowler
9c38e77967 Bug 857623 - Ensure we always call PostFrameStop before PostDecodeDone in nsGIFDecoder2.cpp. r=tn 2013-04-05 18:02:39 -07:00
Seth Fowler
5c5a23d447 Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
--HG--
extra : rebase_source : fcf5028a8f91f28306ca009cbe41f48794f19291
2013-04-05 14:15:05 -07:00
Seth Fowler
a6687427e7 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
--HG--
extra : rebase_source : 65b4698483ab19005314913583ff0e21931d81f7
2013-04-05 14:14:34 -07:00