Ehsan Akhgari
b4cc06df88
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
698e5bd377
Bug 579517 follow-up: Remove NSPR types that crept in
2013-09-22 19:14:24 -04:00
Matt Woodrow
90010f8076
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
ea8ec4777e
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
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
d6da7b763f
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
Seth Fowler
2413374ccd
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
Seth Fowler
ebf18fc534
Bug 912514 - Don't release nsIURIs off-main-thread. r=jdm
2013-09-11 17:01:59 -07:00
Nicholas Nethercote
9d1d4e73b0
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
Ehsan Akhgari
bdb172ee45
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
Benoit Jacob
bd8899eab6
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Seth Fowler
428388057f
Bug 908514 (Part 1) - Replace imagelib endian macros with MFBT's endian functions. r=jrmuizel
2013-09-05 15:55:13 -07:00
Robert O'Callahan
33cdb42706
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
ad36ee41a9
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
43ad5b4dcf
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
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Jonathan Watt
7702657f81
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
b9f58331d4
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
46ecd64ac0
Backout bug 867183 due to intermittent oranges. (See bug 910533.) r=me
2013-08-29 17:47:39 -07:00
Ehsan Akhgari
f691095054
Bug 910857 - Minimize #includes in content/events; r=smaug
2013-08-29 17:18:25 -04:00
Seth Fowler
ebf1560d55
Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar
2013-08-28 15:39:05 -07:00
Seth Fowler
1c470a32cb
Bug 905468 (Part 2) - Replace SyncNotifyDecodeState with DecodeStateAsDifference. r=jdm
2013-08-28 15:39:05 -07:00
Seth Fowler
4b25dccea5
Bug 905468 (Part 1) - Make imgStatusTracker state diffing a cleaner process. r=jdm
2013-08-28 15:39:04 -07:00
Adam Dane [:hobophobe]
5c3f899820
Bug 907575 - mResniffMimeType not properly reset. r=seth
2013-08-27 18:39:54 -05:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
593964f6a3
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
83bedf2b02
Backed out changeset 5acab2576a56 (bug 885277) for intermittent mochitest-other failures.
2013-08-27 20:52:18 -04:00
Justin Lebar
a12ca3e4e8
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
27eabcc9dc
Bug 900200 - Fix strange transparent areas appearing in some APNG files. r=seth
2013-08-27 14:50:59 -07:00
Simon Lindholm
84c2b65825
Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode
2013-08-14 12:29:55 +02:00
Seth Fowler
1e21fab02d
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-25 00:19:43 -07:00
Seth Fowler
3aca66ef56
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-25 00:19:42 -07:00
Phil Ringnalda
d9907eb8f3
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
7a3f7ea947
Bug 869723 (Part 4) - Add OrientedImage. r=joe
2013-08-24 17:31:15 -07:00
Seth Fowler
8ebd59a07e
Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz
2013-08-24 17:31:14 -07:00
Gabriele Svelto
c8251ce6f3
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
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
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
31df3b590f
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
Birunthan Mohanathas
1f08b5ef4b
Bug 784739 - Switch from NULL to nullptr in image/. r=ehsan
2013-08-23 15:51:00 -04:00
David Zbarsky
6e2250a052
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
f19c09b33c
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Matt Woodrow
64b190a16a
Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc
2013-08-23 18:13:55 +12:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Milan Sreckovic
cad35fdcfe
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
14637a855c
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
bddf017039
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Milan Sreckovic
4a2fc3f265
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
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Trevor Saunders
7da524d402
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
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Trevor Saunders
6b3c839046
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
9427004a98
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
22e78f38b5
Backed out changeset 8a6e3d229183 (bug 887466) because of assertion failures
2013-07-26 14:02:57 -04:00
Joe Drew
53237a73e4
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
42ae40f756
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
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
5d51157f46
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
cc1f66e57f
Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc
2013-07-22 22:31:24 -04:00
Daniel Holbert
e48962413a
Bug 895023: Null-check SVG image document's root frame, before dereferencing it. r=seth
2013-07-22 13:42:05 -07:00
Seth Fowler
99d1044b44
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
Joe Drew
d51ea240ac
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
82e5558b37
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
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Joe Drew
c44dc6c974
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
7de8e0f38a
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
6dd7a36602
Bug 888607 - Correctly clear sub-frames. r=seth
...
--HG--
extra : rebase_source : 99ef0a24beea67613a67823fd35c313f933841c9
2013-07-04 17:05:59 -04:00
Ms2ger
db26bfced0
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joe Drew
f97dd2844a
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
5f3db1b4cd
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
2d4d670611
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
b26afa3bda
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
f4c4753072
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
b2fd2caedb
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
Catalin Iacob
ff12d6de33
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
e71f68ab8f
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
4f03e5bb1a
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
11e0f4ef0d
Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger
2013-06-24 12:31:52 -07:00
Justin Lebar
a814ad50fc
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
c02062b6c4
Bug 695763 (Part 1) - Add imgIContainer::IsDecoded. r=joe sr=bz
2013-05-22 17:27:02 +08:00
Seth Fowler
7a0c3902ce
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
d1fc6919cf
Bug 883416 (Part 2) - Revert bug 846028. r=dholbert
...
--HG--
extra : rebase_source : be11dfe000188dc97b0daef70135d3a9f2d3a513
2013-06-21 13:32:34 -07:00
Seth Fowler
487976bb9c
Bug 883416 (Part 1) - Revert bug 851416. r=dholbert
...
--HG--
extra : rebase_source : 47dae82941038ff7f79f15aee50194276f617f9b
2013-06-21 13:32:33 -07:00
Joe Drew
d943e48d3b
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
ed49f186a2
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
Seth Fowler
35dc379fd8
Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert
2013-06-13 00:47:26 -07:00
Joe Drew
9257e0a236
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
b1baf91fd4
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
Joe Drew
bf470038f5
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
e4c4ef5e27
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
03bc36db46
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
97bedbde4e
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
3f2ad154cb
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
Mike Shal
994cfe0b6b
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
Joe Drew
82b4027eef
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
b8c78f1ffe
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
9657715331
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
1b9e5c1977
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
677ca94c3f
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
b673e908d6
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
749e04b4b6
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 17:10:38 +08:00
Ed Morley
f05cfda4de
Backed out changeset 11de174da4a4 (bug 873455) for assertions
2013-05-22 09:18:27 +01:00
Seth Fowler
1c71cd9d8c
Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe
2013-05-22 15:46:57 +08:00
Seth Fowler
7b516b11c6
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-22 15:33:08 +08:00
Joe Drew
8d2709698b
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
Ed Morley
fe6fc2f6b0
Backed out changeset 3948ffacb5fb (bug 873455) for assertions on a CLOSED TREE
2013-05-21 12:40:13 +01:00
Seth Fowler
639ea48407
Bug 873455 - Add assertions for imgFrame::Init failure. r=joe
2013-05-21 17:36:09 +08:00
Ryan VanderMeulen
20741feef6
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
9f6fd6b282
Bug 817700 - Make <canvas>.toBlob run asynchronously - imglib changes. r=seth
2013-05-15 08:21:22 -04:00
Seth Fowler
616cce0dd1
Bug 867009 (Part 1) - Remove imgFrame::Extract. r=joe
2013-05-13 14:54:40 -07:00
Robert O'Callahan
ac14393b0c
Bug 865546 - Propagate FLAG_CLAMP through RasterImage::DrawWithPreDownscaleIfNeeded. r=joedrew
2013-05-09 13:42:12 -04:00
Joe Drew
52ef83b337
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
ISHIKAWA, Chiaki
406d7bae3a
Bug 866463 - Remove the initial incorrect assignment. r=joe
2013-05-08 09:14:26 -04:00
Seth Fowler
121c299feb
Bug 859377 (Part 5) - Use CreateOffscreenDrawTarget instead of CreateOffscreenSurface. r=joe
...
--HG--
extra : rebase_source : ff31b47bcfd2cc6c733903a885e08ce7add358dd
2013-05-07 10:47:42 -07:00
Timothy Nikkel
d1b622d17d
Bug 866959. Make sure to initialize mHasBeenDecoded in all constructors of imgStatusTracker. r=seth
2013-04-30 18:35:00 -05:00
Seth Fowler
d48060c7da
Bug 859377 (Part 4) - Make ClippedImage use gfxImageSurfaces on Windows. r=me
2013-04-30 16:28:25 -07:00
Timothy Nikkel
9aefcaa4ce
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
Joe Drew
a75f4d6413
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
a076704e44
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
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Seth Fowler
f3cf00b3f9
Bug 853774 - RequestBehaviour must handle null owners. r=joe
2013-04-25 20:30:29 -07:00
Seth Fowler
05a976db1b
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
8ba747eda2
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
e035b7c8eb
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
60014f40bc
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
Timothy Nikkel
13ed3b291e
Bug 863970. Remove some dead code in imagelib. r=seth
2013-04-24 23:37:00 -05:00
Seth Fowler
521a452088
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
913e4b5d18
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
98b255627a
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
b32d1b4d0b
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
02bf4e10f8
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
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Nicholas Nethercote
f5378cec64
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
870366be4c
Bug 861324 - Remove unneeded mDecoder null check after usage. r=joedrew
2013-04-15 22:05:46 -04:00
Seth Fowler
7e3fecce7e
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
97b5ddaea5
Bug 853707 - Fix bogus assert in StaticBehaviour::SetOwner. r=joedrew
2013-04-02 17:48:42 -07:00
Luis de Bethencourt
efe34d2b7f
Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew
2013-04-12 16:25:04 -04:00
Luis de Bethencourt
96f0654518
Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew
2013-04-12 16:25:04 -04:00
Shih-Chiang Chien
2a87c8df9d
Bug 857831 - Remove WBMP content sniffer. r=jmuizelaar
2013-04-11 07:48:09 -04:00
Patrick McManus
7da05b6e3a
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
Seth Fowler
b98a20274f
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
e97100579c
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
Seth Fowler
b78a4dda08
Bug 826093 (Part 1) - Add ClippedImage. r=joe
...
--HG--
extra : rebase_source : 2a7bb09ee0b1c221b4b57c5d201c282f5c6f52fb
2013-04-05 14:14:32 -07:00
Phil Ringnalda
d372c62b0a
Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure
2013-04-04 21:06:58 -07:00
Seth Fowler
3d7422de02
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
830f88cb0b
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-04-04 19:06:42 -07:00
Seth Fowler
30d5f2d31e
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-04-04 19:06:41 -07:00
Seth Fowler
03541f5492
Bug 857367 - Make it safe to call RasterImage::DecodePool::RequestDecode off the main thread. r=tn
...
--HG--
extra : rebase_source : c7c91e08ca0ca200d5c3c4cb24475a6445748842
2013-04-04 18:01:41 -07:00
Seth Fowler
2ab1d5532d
Bug 856602 - RasterImage::DecodeJob should not reschedule itself if it can't make progress. r=tn
...
--HG--
extra : rebase_source : b8a9b535771f2bb607b8fbf1244ba2248452ac60
2013-04-04 17:57:40 -07:00
Seth Fowler
1cea6ec22f
Bug 856486 (Followup 2) - Make sure we use the buffered frame, when appropriate, for all callers of GetDrawableImgFrame. r=me
2013-04-04 15:46:08 -07:00
Seth Fowler
48a7e71857
Bug 856486 (Followup) - Make sure we use the buffered frame, when appropriate, for all callers of GetDrawableImgFrame. r=me
2013-04-04 15:05:19 -07:00
Seth Fowler
0f6297a555
Bug 856486 (Part 2) - Buffer the last fully-decoded frame for multipart images. r=jrmuizel
2013-04-03 19:19:38 -07:00
Seth Fowler
b6b7251367
Bug 856486 (Part 1) - Avoid asserts triggered by rapid off-main-thread decoding. r=jrmuizel
2013-04-03 19:18:42 -07:00
Robert Lickenbrock
214315a640
Bug 854803 - Part 2: Don't try to enqueue more decoding from DecodeDoneWorker. r=seth
...
--HG--
extra : rebase_source : 0d46455743f02d58c5615c72afb90bba13d505bc
2013-04-03 16:34:58 -07:00
Robert Lickenbrock
738142616c
Bug 854803 - Part 1: Account for more decoder state in RasterImage::IsDecodeFinished(). r=seth
...
--HG--
extra : rebase_source : 7fa2c43c5146eca831d5775d1ba4d0c665404626
2013-04-03 16:34:56 -07:00
Seth Fowler
f089ab00de
Bug 857275 - Remove RasterImage::FrameUpdated. r=jrmuizel
...
--HG--
extra : rebase_source : 4d8209630bb8da562530a817f43cfd49243a379a
2013-04-02 16:42:20 -07:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Luis de Bethencourt
ffc494cab7
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04:00
Mina Almasry
797287a144
Bug 582783 - Move windows.h include and undef LoadImage to gfxWindowsSurface.h. r=joe
2013-03-25 17:53:54 -04:00
Shih-Chiang Chien
c665155214
Bug 852053 - Support WBMP on FirefoxOS only. r=joe
2013-03-20 14:03:07 +08:00
Ryan VanderMeulen
0922380a81
Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE.
2013-03-26 21:56:03 -04:00
Seth Fowler
a3368113cc
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
4a933303ef
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-03-26 16:29:13 -07:00
Seth Fowler
840b0e20cc
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 16:29:12 -07:00
Matt Brubeck
2ed7678151
Bug 795376 - Followup to fix bustage from incorrect conflict resolution on a CLOSED TREE
2013-03-26 15:42:02 -07:00
Luis de Bethencourt
b27cfa793b
Bug 795376 - Use high-quality scaler for upscaling raster images [r=joedrew]
2013-03-24 12:37:21 -04:00
Ryan VanderMeulen
916f9eafbf
Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE.
2013-03-26 16:52:17 -04:00
Seth Fowler
3d4a2fd8a3
Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
2013-03-26 11:56:47 -07:00
Seth Fowler
67cfb471eb
Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz
2013-03-26 11:56:46 -07:00
Seth Fowler
629754a3c2
Bug 826093 (Part 1) - Add ClippedImage. r=joe
2013-03-26 11:56:46 -07:00
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Joe Drew
bb6f65fd16
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
fdd7352f67
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Trevor Saunders
f3bfbc2ddd
backout 275cd395f9fa and 9e4b22851976 bug 716140 for breaking linux tp on a CLOSED TREE
2013-03-24 15:43:20 -04:00
Joe Drew
636983f7e2
Bug 716140 - Control multithreaded encoding with a pref. r=seth
2013-03-01 18:42:08 -05:00
Joe Drew
bf3283de15
Bug 716140 - Implement multithreaded decoding using a thread pool. r=seth
2013-03-01 18:17:24 -05:00
Joe Drew
897f5fe8e0
Bug 853536 - Never write to size-only decoders when we've already gotten the size. r=jrmuizel
...
--HG--
extra : rebase_source : 14e8cf30dc665eab10e04ef643513bcfad633ea2
2013-03-23 11:05:55 -04:00
Joe Drew
1587c1c909
Bug 853337 - Make sure we actually call Flush and MarkDirty on frames when we've done some decoding work. r=seth
2013-03-22 22:05:44 -04:00
Joe Drew
3cef9747ad
Back out e1d71b13e35f (Bug 853337) for crashes on a CLOSED TREE
2013-03-22 21:13:24 -04:00
Wes Johnston
e254391954
Bug 419588 - Add support for a resolution media fragment. r=seth
2013-03-22 16:12:40 -07:00
Joe Drew
8f96c3d4f0
Bug 853337 - Make sure we MarkDirty on our image frames after every piece of decoding. r=seth
...
--HG--
extra : rebase_source : 097f3a7d59f7a59f5b8c1a6bcf7a0bce99235051
2013-03-22 18:47:25 -04:00
Joe Drew
63ff5957dc
Bug 853390 - Notify our listeners after creating decoders to ensure onload is correctly blocked. r=seth
...
--HG--
extra : rebase_source : f846da6a01b95e2ba389689bb97cb9242fa09a4f
2013-03-22 18:46:20 -04:00
Seth Fowler
5f455b952f
Bug 851416 - Ensure SVGRootRenderingObserver always gets added back to the rendering observer list. r=dholbert
...
--HG--
extra : rebase_source : e945338503a9dbaf2ad4b4925c8f8993555e605c
2013-03-21 11:22:42 -07:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Joe Drew
b331eb8555
Bug 716140 - Allocate frames asynchronously with a separate worker dispatched to the main thread. r=seth
...
--HG--
extra : rebase_source : 116fa383362c5ff7016e81c345645fa2607cf9a3
2013-02-27 14:23:08 -05:00
Joe Drew
5b5ff16d15
Bug 716140 - Set the size of images via ImageMetadata objects. r=seth
...
* * *
imported patch jpeg-size-decode-more-writing
--HG--
extra : rebase_source : 34f28c95b7164c35678f9e61faa3a8497da25893
2013-02-27 14:23:08 -05:00
Joe Drew
39b180a45f
Bug 716140 - Set metadata directly on frames. r=seth
...
--HG--
extra : rebase_source : d3899816bb6b5f816955a53c2cd7ad1bf8ad788a
2013-02-27 14:23:08 -05:00
Joe Drew
4843cee9e1
Bug 716140 - Make SVG images handle the new world order. r=dholbert
...
--HG--
extra : rebase_source : 988402c76d1d260148a25d0b3f91e4bd1639efe6
2013-02-11 19:34:20 -05:00
Joe Drew
0349f6aeb4
Bug 716140 - Handle errors correctly. r=seth
...
--HG--
extra : rebase_source : 97f714b139508092ef5a733313f10e281b0bc6fe
2013-02-01 20:06:34 -05:00
Joe Drew
7d7f4428f7
Bug 716140 - Preallocate frames before going into a decoder. r=seth
...
--HG--
extra : rebase_source : 6445356bc4a01ac2890eca855103e58bda772095
2013-02-01 20:06:30 -05:00
Joe Drew
c6cdce35eb
Bug 716140 - Run a size decode even if we're not storing source data. r=seth
...
--HG--
extra : rebase_source : 732ed17d8edec893fd6fdc8dc12c1d4a8bcbc330
2013-02-01 14:36:39 -05:00
Joe Drew
a4fb0a698b
Bug 716140 - Always run a size decode before doing a full decode so we know the size before decoding. r=jlebar
...
--HG--
extra : rebase_source : de3388c861b00b135b658ea9a9225b0cc58e389a
2013-01-31 13:38:24 -05:00
Joe Drew
ffcb478530
Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
...
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Joe Drew
82ec48a5a0
Bug 716140 - Count complete frames in Decoder::Finish(), not just whatever frame objects mImage has. r=seth
...
--HG--
extra : rebase_source : 2466ec5e5bc64d8d60190cdc4805eaa73bf695af
2013-02-07 17:23:44 -05:00
Joe Drew
7aa4fdd72d
Bug 716140 - Make mImageData and mColormap (and their sizes) protected members of mozilla::image::Decoder rather than the leaf classes.
...
--HG--
extra : rebase_source : d4f506a669d5b18a33676434ad0cc512216956d5
2013-01-28 12:26:36 -05:00