Nicholas Nethercote
fd238cabbe
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
50ba829a39
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
8e0e691623
Merge backout.
2013-09-09 16:56:18 +02:00
Ms2ger
7cc7e62ccd
Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review.
2013-09-09 16:56:00 +02:00
Stephen Pohl
165a3138d0
Bug 817700 - Fix animSVGImage test. r=roc
2013-09-06 12:30:40 -04:00
Nicholas Nethercote
9d7bc3d7f1
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
61d8f84eb7
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
d2e73511c3
Backed out changeset 35575118c650 (bug 912794) for asserts.
2013-09-06 23:08:36 -04:00
Benoit Jacob
5479e2b22e
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Seth Fowler
b83c6981a1
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
30bf352632
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
d4e6dbc9bb
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
ec49f86c3b
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
8ca63f18ef
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
3914af6be4
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
86b7ae4c3a
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
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Masatoshi Kimura
216f76200c
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Jonathan Watt
9c1142dce4
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
05acb4b403
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
ab1d8ca154
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
64e35d5791
Backout bug 867183 due to intermittent oranges. (See bug 910533.) r=me
2013-08-29 17:47:39 -07:00
Ehsan Akhgari
99c3fccc47
Bug 910857 - Minimize #includes in content/events; r=smaug
2013-08-29 17:18:25 -04:00
Seth Fowler
27bf640537
Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar
2013-08-28 15:39:05 -07:00
Seth Fowler
93dba29d30
Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm
2013-08-28 15:39:05 -07:00
Seth Fowler
5785191f27
Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm
2013-08-28 15:39:04 -07:00
Adam Dane [:hobophobe]
3886623ff8
Bug 907575 - mResniffMimeType not properly reset. r=seth
2013-08-27 18:39:54 -05:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
5023460d68
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
f01846d98f
Backed out changeset 5acab2576a56 (bug 885277) for intermittent mochitest-other failures.
2013-08-27 20:52:18 -04:00
Justin Lebar
4aeeb65d91
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
6c34ca2ae7
Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth
2013-08-27 14:50:59 -07:00
Simon Lindholm
ea585ac181
Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode
2013-08-14 12:29:55 +02:00
Seth Fowler
ad84c99697
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-25 00:19:43 -07:00
Seth Fowler
7759182379
Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe
2013-08-25 00:19:43 -07:00
Seth Fowler
e56edc217e
Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn
2013-08-25 00:19:42 -07:00
Seth Fowler
077d2e1740
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-25 00:19:42 -07:00
Phil Ringnalda
71f5f2dff5
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
bd7ba5df5a
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-24 17:31:15 -07:00
Seth Fowler
40980e9f27
Bug 869723 (Part 3) - Parse EXIF orientation in nsJPEGDecoder. r=joe
2013-08-24 17:31:14 -07:00
Seth Fowler
cc0f50924d
Bug 869723 (Part 2) - Add an EXIF parser to imagelib. r=tn
2013-08-24 17:31:14 -07:00
Seth Fowler
58c9cfc5f3
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-24 17:31:14 -07:00
Gabriele Svelto
619cc7ccf1
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
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
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
214420a48a
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
Birunthan Mohanathas
4616413b71
Bug 784739 - Switch from NULL to nullptr in image/. r=ehsan
2013-08-23 15:51:00 -04:00
David Zbarsky
2dcee164d7
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
c76b222982
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Matt Woodrow
11914fb596
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Ms2ger
f8f8a40a0a
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Milan Sreckovic
738a226297
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
2e92734f7a
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
86d20580f1
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Milan Sreckovic
2a2435500e
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
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Mihnea Dobrescu-Balaur
5d2923f61b
Bug 903864 - Make test_imgtools use do_get_tempdir(). r=dolske
2013-08-11 09:38:09 -07:00
Trevor Saunders
b2dc01f1a7
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
4246f49c03
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Jeff Gilbert
c70d1eeefa
Bug 865919 - Add INT32_MIN-height BMP test. r=joe
2013-07-30 17:49:42 -07:00
Jeff Gilbert
8698897b93
Bug 865919 - Abort decode of INT32_MIN BMPs. r=joe
2013-07-30 17:49:41 -07:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Tom Schuster
d02522a3b1
Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug
2013-07-29 11:03:41 -04:00
Trevor Saunders
64dbc43c4d
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
705bfc7c3f
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
8521d1827a
Backed out changeset 8a6e3d229183 (bug 887466) because of assertion failures
2013-07-26 14:02:57 -04:00
Joe Drew
0409e7823a
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
0b1e745334
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
bb26e8f816
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
b8f3f238fe
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
a79b5d485b
Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc
2013-07-22 22:31:24 -04:00
Daniel Holbert
e6a283f714
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
83c0913922
Bug 715549 - remove last vestiges of tri-licence. DONTBUILD.
2013-07-19 16:08:33 +01:00
Seth Fowler
7426ec7020
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
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Joe Drew
bb07839869
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
238525e2d8
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
517064fa1e
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
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Joe Drew
6e213ef3a3
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
c126c5378d
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
69052cb8df
Bug 888607 - Test. r=seth
...
--HG--
extra : rebase_source : aeecfcc1c178f1a8402291fbeb698ca0c4b4d980
2013-07-04 17:06:05 -04:00
Joe Drew
0390c248d7
Bug 888607 - Correctly clear sub-frames. r=seth
...
--HG--
extra : rebase_source : 99ef0a24beea67613a67823fd35c313f933841c9
2013-07-04 17:05:59 -04:00
Joe Drew
ed16810baa
Bug 890179. r=seth a=abillings
...
--HG--
extra : rebase_source : f8c1f5adbdcc9bae652df901f256e8eac3fc5dc3
2013-07-04 15:58:26 -04:00
Ms2ger
1475a22d49
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Trevor Saunders
ace23958ea
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Joe Drew
b029ebc59f
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
25beec1ea3
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
628fc396f6
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
8d1055dbd5
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
c482cf17a0
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
5bb5c01d5f
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
835c646a2f
Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
2013-07-04 14:53:31 +01:00
Jared Wein
0337a6763b
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