Kyle Huey
41b19ee1f2
Back out bug 991812 for bustage on a CLOSED TREE. r=me
2014-04-08 17:26:33 -07:00
Kyle Huey
749ec8b15d
Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan
2014-04-08 16:37:05 -07:00
Bobby Holley
840dd9cf8f
Bug 913138 - Shut down imagelib at the end of layout shutdown. r=bsmedberg
2014-04-08 15:51:34 -07:00
Bobby Holley
c1b7093738
Bug 913138 - Move imgLoader singleton management out of nsContentUtils. r=bsmedberg
2014-04-08 15:51:33 -07:00
Neil Rashbrook
88a9233a1e
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-04-03 23:06:26 +01:00
Patrick McManus
d171aafe06
bug 968417 - revalidating images needs loadgroup parent for spdy push r=seth
2014-01-29 22:35:40 -05:00
Carsten "Tomcat" Book
f5443911b3
merge b2g-inbound to mozilla-central
2014-04-03 12:48:14 +02:00
Seth Fowler
c849c6ff88
Bug 967985 - Don't retarget OnDataAvailable when not storing source data. r=tn
...
--HG--
extra : rebase_source : d3048bf3d949650f01ae97786cb5ca2d54aa3087
2014-04-02 19:20:25 -07:00
Michael Wu
f7b1f52134
Bug 985017 - [2/2] Cache a gfxImageSurface for the drawing path, r=seth
2014-04-02 21:32:54 -04:00
Mark Hammond
763885adb1
Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted.
2014-04-02 10:53:55 +11:00
Glenn Randers-Pehrson
a03f8c1074
Bug 987625 - Conditionally define MOZ_PNG_MAX_DIMENSION. r=jrmuizel
2014-04-01 09:14:14 -04:00
Ryan VanderMeulen
4141b8adf0
Bug 980488 - Remove duplicate MOZ_PNG_MAX_DIMENSION definition in nsPNGDecoder.cpp.
...
CLOSED TREE
2014-03-24 17:14:10 -04:00
Jonathan Watt
e7ba4e35fb
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Michael Wu
cc24631ebc
Bug 980037 - Store scaled images in volatile buffers, r=seth
2014-03-02 11:17:26 -05:00
Michael Wu
fd158d8b34
Bug 980035 - Support 16bit volatile buffer backed decoded images, r=seth
2014-02-25 05:57:41 -05:00
Bill McCloskey
d960718b48
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
292a923c8e
Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher
2014-03-13 10:40:10 -04:00
Nathan Froyd
6b17b47453
Bug 976566 - use Endian.h for image decoders; r=seth
2014-02-25 06:23:05 -05:00
Ryan VanderMeulen
238e2ab515
Merge inbound to m-c.
2014-03-07 15:38:19 -05:00
Michael Wu
aa2b5d7974
Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel
2014-02-24 22:37:51 -05:00
Jonathan Watt
f5b9b89e8c
Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas
2014-03-07 13:21:38 +00:00
Jonathan Watt
d9173afe3f
Bug 979905 - Make VectorImage use a Moz2D backed gfxContext. r=mattwoodrow
2014-03-05 16:10:34 +00:00
Milan Sreckovic
6cffe8ba37
Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard.
2014-03-05 16:25:09 -05:00
Timothy Nikkel
7cf8def1be
Bug 952354. Don't worry about premult alpha flags if the frame is opaque when calling GetFrame and CopyFrame. r=seth
2014-03-04 22:48:48 -06:00
Seth Fowler
3bc6902fe8
Bug 952354 - Draw non-premultiplied alpha raster image frames if the frame is opaque. r=jrmuizel
...
--HG--
extra : rebase_source : 62956f725b3a4765a7617a37bf79b4be2e37c739
2014-03-04 17:59:03 -08:00
Andrew McCreight
f1377bba28
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
6af883c75a
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Andrew McCreight
60f02fa45e
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Jeff Muizelaar
cf644b27c6
Bug 854795. Add support for -moz-samplesize. r=seth
...
-moz-samplesize allows decoding at a lower resolution.
This is valuable for saving memory when we know that
we don't need a large version of the image.
--HG--
extra : rebase_source : 0373c23bd4a8b5963329ea1ccf13f075c1264909
2014-02-28 16:43:14 -05:00
Timothy Nikkel
fa07405af4
Bug 944353. If we've had a decoder error then the image is not usable. r=seth
...
This matches what RasterImage will do.
2014-02-26 21:48:51 -06:00
Timothy Nikkel
f37b7602c0
Bug 944353. If we've encountered an error while decoding an image and the main thread has asked to do more decoding of that image before the main thread has acknowledged the error then refuse to decode more. r=seth
2014-02-26 21:48:47 -06:00
Jonathan Watt
e51d5225c2
Bug 975900 - Convert imgUtils to Moz2D (from gfxASurface to SourceSurface). r=mattwoodrow
...
--HG--
extra : rebase_source : aaa405346704d67005a4453de34cf67d68e2a7c6
2014-02-25 00:51:45 +00:00
Ehsan Akhgari
790a3e8ead
Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 23:07:24 -05:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Oleg Romashin
79dd3f3972
Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
...
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Masatoshi Kimura
9f0004eb6e
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Jeff Muizelaar
9a81e018cc
Bug 973088. Use nsContentUtils::GetSecurityManager(). r=ehsan
...
Faster and more like C++
2014-02-14 17:56:01 -05:00
Jeff Walden
05aacfddf8
Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in image/. r=bholley
...
--HG--
extra : rebase_source : 6ecdb5394d2c0a1a2de036982d7d5b7dc7b1de9f
2014-02-06 22:05:16 -08:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Ehsan Akhgari
2f1a9c957b
Bug 969877 - Stop checking the return value of nsTArray::SetLength in nsIconChannel::MakeInputStream; r=jrmuizel
2014-02-10 17:24:01 -05:00
Jeff Muizelaar
5c27c081b4
Bug 967163. Use nsIChannel instead of nsIHttpChannel to contentLength. r=seth
...
This will let us get the right length for blob uris and is just better.
--HG--
extra : rebase_source : 4d898ab29c5e1d146d7b543bd1afdc6f6815f28c
2014-02-10 14:54:23 -05:00
Ms2ger
e002dc0bd2
Bug 952033 - Part f: Use IntSize in CachedSurface; r=roc
2014-02-09 09:04:38 +01:00
Ms2ger
b995cb3325
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Ms2ger
2178e3e36e
Bug 952033 - Part a: Use IntSize in SurfaceCache; r=roc
2014-02-09 09:04:37 +01:00
Bas Schouten
f0a3330a21
Bug 969580 - Part 1: Expose DiscardAll to SurfaceCache public interface. r=seth
2014-02-08 19:37:39 +00:00
Michael Wu
0292ca38de
Bug 962667 - Don't treat quartz surfaces as optimized, r=jrmuizel
2014-01-31 17:57:19 -05:00
Benoit Jacob
4703621d85
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
2014-01-30 17:58:51 -05:00
Benoit Jacob
3ee7a2d643
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Benoit Jacob
dac63324d2
Bug 959380 - 5/5 - Make gfxMemoryLocation a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_MEMORY_\(IN_PROCESS_HEAP\|IN_PROCESS_NONHEAP\|OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1gfxMemoryLocation::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
981c6431d3
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Josh Matthews
53914a147c
Bug 942164 - Store weak references to imgRequest consumers. r=seth
2013-12-12 16:17:35 -05:00
Timothy Nikkel
1abc94c6c8
Bug 958758. Refactor common image discard checks into one place. r=seth
2014-01-21 17:19:22 -06:00
Timothy Nikkel
e3a7f7858f
Bug 958758. If we need to re-decode an image with different flags and shutting down the existing decoder has caused us to finish decoding we need to discard the image so we can create a new decoder with the new flags. r=seth
2014-01-21 17:19:20 -06:00
Jeff Muizelaar
3c184eea41
Bug 961783. Remove unneeded DDB optimization. r=vlad
...
As far as I can tell we always draw images to dc's that are in system memory.
In this case there's no upside to having ddb and a potential downside because
we have to do a readback from gpu into system memory.
--HG--
extra : rebase_source : e536721adc1de2bcff3300ee29c2d1c4b8c15ac0
2014-01-20 12:02:34 -05:00
Matt Woodrow
c7dd607e84
Bug 950553 - Use Moz2D for drawing in OrientedImage. r=seth
2014-01-20 14:17:38 +13:00
Timothy Nikkel
7dc393894b
Bug 958806. If our decoder shutdown intent was "not needed" then we shouldn't try to request a full decode of the image, it was not needed. r=seth
2014-01-17 23:14:46 -06:00
Ali Akhtarzada
09cc9a436c
Bug 959123 - Implement CairoImage::GetAsSourceSurface. r=nical
...
Deprecate CairoImage::Data::mSurface and add an mSourceSurface.
Also change all the callers of CairoImage::SetData to set the
SourceSurface as well.
Also change scope of CairoImage::mSource to private
2014-01-17 11:22:09 -05:00
Michael Wu
26b9fe619e
Bug 958001 - Remove mNeverUseDeviceSurface from imgFrame, r=jrmuizel
2014-01-17 08:57:51 -05:00
Timothy Nikkel
6af45f3d96
Bug 943803. Don't try to forcibly discard an image if we have an existing decoder. r=jmuizelaar
2014-01-16 16:45:49 -06:00
Benoit Jacob
873406e3f0
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
535a216635
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Neil Rashbrook
811e1e96dd
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jeff Walden
d6fc734554
Bug 950700 - Make EXIF parsing use Endian.h functions. r=seth
...
--HG--
extra : rebase_source : 5962dfbfb53dd06d4a7228482a4f84f34e00cb9f
2013-12-16 10:34:27 -05:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
a228c41d0b
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Ms2ger
98586cdbc1
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Seth Fowler
61c24f77cf
Bug 862909 (Part 3) - Assert that we own the decoding mutex in CurrentStatusTracker. r=tn
2013-12-17 14:04:32 -08:00
Seth Fowler
0150bf7c52
Bug 862909 (Part 2) - Make sure we hold the decode lock when calling DoError. r=tn
2013-12-17 14:04:32 -08:00
Seth Fowler
27ba9b162b
Bug 862909 (Part 1) - Call CurrentStatusTracker() with the decode lock held in OnImageDataComplete. r=tn
2013-12-17 14:04:32 -08:00
Seth Fowler
345d69d471
Bug 943803 - Use a reentrant monitor instead of unlocking for notifications in RasterImage. r=jdm
2013-12-17 14:04:31 -08:00
Seth Fowler
4eec5ac33b
Bug 896268 - Use a stateless approach to synchronous image decoding. r=jdm
2013-12-17 14:04:24 -08:00
Seth Fowler
5a13ad7013
Bug 950293 (Part 1) - Fix handling of little-endian EXIF data. r=tn
2013-12-16 14:11:10 -08:00
Trevor Saunders
c2b2fcd3d4
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Tor Arvid Lund
ad63ca899f
Bug 929513 - Change gfxSize references to gfx::Size r=nical
2013-12-13 18:31:53 +01:00
Jonathan Watt
a9c5083a32
Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
...
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Wes Kocher
b2ab2ca23b
Backed out changeset 372f481bc7ad (bug 942164) for leaks on a CLOSED TREE
2013-12-12 14:44:09 -08:00
Bill McCloskey
057339d729
Bug 924366 - Animated GIFs shouldn't loop before they have finished decoding (r=seth)
2013-12-12 14:17:41 -08:00
Josh Matthews
6a2d35f8af
Bug 942164 - Refcount imgRequest consumers. r=seth
2013-12-12 16:17:35 -05:00
Ehsan Akhgari
d9cd92fa17
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Martin Stransky
f09c774110
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Nicholas Nethercote
cc1728f40f
Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
...
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Ali Akhtarzada
d1cad35f66
Bug 890743 - Display 0-delay, single loop GIFs instantly. r=seth
...
Do not artificially create a frame delay for GIF files
that do not loop and have an inter-frame delay of 0. Move timeout
calculation to FrameBlender and only access raw timeout of
imgFrame from within FrameBlender.
--HG--
extra : rebase_source : 1a568f16a2980d3d14621869c6b536d054088805
2013-12-06 10:45:24 +01:00
Nicholas Nethercote
e02408b49d
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Nicholas Nethercote
e9715bfc41
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Glenn Randers-Pehrson
3f09818199
Bug 938740 - Update libpng to version 1.6.7. r=jmuizelaar
2013-12-04 08:01:34 -05:00
Seth Fowler
e7e7614541
Bug 940142 - Add a lightweight generic hash key class to nsHashKeys.h. r=bsmedberg
2013-12-03 16:23:32 -08:00
Jacek Caban
c6f4ebd28d
Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
...
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01:00
Ehsan Akhgari
102821615d
Bug 945589 - Add include guards to ScriptedNotificationObserver.h
2013-12-03 08:20:53 -05:00
Ms2ger
cf53814bbc
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
b7b25b5303
Bug 937224 - Part d: Move LOCAL_INCLUDES to moz.build in image/; r=mshal
2013-11-28 15:17:27 +01:00
Nicholas Nethercote
fc13148f36
Bug 936964 (part 2, attempt 2) - Make SurfaceCache ref-counted. r=seth.
...
--HG--
extra : rebase_source : 16f179ea7d83389ff2b5bb10d2ef2f609b0c7101
2013-11-25 15:57:43 -08:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
a37c9c4fc0
Bug 936964 (part 2) - Make SurfaceCache ref-counted. r=seth.
...
--HG--
extra : rebase_source : 0f6be3429ce653ca01bb5db7c8520c7e996acf67
2013-11-25 15:57:43 -08:00
Seth Fowler
b8cf9c4521
Bug 867183 - Don't recursively notify in FinishedSomeDecoding. r=jlebar
2013-11-26 17:22:44 -08:00
Seth Fowler
f17dc1e68d
Bug 936720 (Part 2) - Remove reftests for animated image operators. r=jdm
...
--HG--
extra : rebase_source : 0d0f566a578644e75b30a4ce2afe93d71e7fec3d
2013-11-22 16:33:03 -08:00
Ehsan Akhgari
7242c62c57
Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa
2013-11-21 16:36:59 -05:00
Michael Shuen
d9673bd8eb
Bug 940793 - Build image/decoders/icon in unified mode. r=ehsan
2013-11-21 09:22:25 -05:00
Chris Peterson
a0a6a1af78
Bug 940226 - Build image/src in unified mode. r=seth
2013-11-18 22:03:36 -08:00
Seth Fowler
068727fb05
Bug 940714 - Add a RAII class to make synchronous decoding safer. r=tn
2013-11-20 17:21:51 -08:00
Seth Fowler
71f2c4dac9
Bug 922899 - Fix VectorImage invalidation for non-animated images. r=dholbert
2013-11-20 17:21:50 -08:00
Seth Fowler
7efb8901d7
Bug 936720 (Part 1) - Add a new mochitest for animated image operators. r=tn
...
--HG--
extra : rebase_source : f3db726b4deffa7304f0cf0123d26bba680bdcfd
2013-11-18 13:48:48 -08:00
Michael Shuen
c0547bc200
Bug 939795 - Build image/decoder in unified mode; r=ehsan
2013-11-19 08:19:16 -05:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Seth Fowler
61361a6912
Bug 910533 - Clear invalidation rect only after sync notifying in imgStatusTracker. r=tn
...
--HG--
extra : rebase_source : d373b3c4ccc747e9afef3c1bbdb8e522b7724b10
2013-11-18 13:12:59 -08:00
Jonathan Watt
c5cf983a83
Bug 937581 - Remove imgStatusTrackerNotifyingObserver. r=seth
2013-11-18 14:30:12 +00:00
Matt Woodrow
b8c04c973e
Bug 923341 - Part 4: Update CachedSurface::Drawable. r=seth
2013-11-14 08:13:54 +13:00
Matt Woodrow
1ba6067b94
Bug 923341 - Part 2: Use SVG caches on all azure backends. r=seth
2013-11-13 17:32:29 +13:00
Geoff Brown
0012d56d94
Bug 936226 - (2) Adjust reftest manifests for Android x86; r=dminor
2013-11-17 10:23:17 -07:00
Seth Fowler
9f988a30ca
Bug 916602 (Part 2) - Avoid null timestamp assertion when creating sentinel in FrameAnimator. r=tn
2013-09-20 14:12:10 +02:00
Simon Lindholm
f83ddb92b3
Bug 916602 (Part 1) - Avoid null timestamp assertion in FrameAnimator::GetCurrentImgFrameEndTime. r=seth
2013-09-20 14:12:10 +02:00
Nicholas Nethercote
b9e0d05f7e
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Seth Fowler
a91fd7eede
Bug 922613 - Remove erroneous assertion in imgStatusTracker. r=jdm
2013-11-01 17:05:01 -07:00
Nicholas Hurley
40b03f1d6d
Bug 881804 (part 5) - Plumb image loader into predictive network actions. r=seth
2013-10-25 14:56:58 -07:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Seth Fowler
a741e3193f
Bug 764299 (Part 4) - Cache rasterized surfaces in VectorImage. r=dholbert
2013-10-22 13:38:08 +02:00
Seth Fowler
819f4e9756
Bug 764299 (Part 3) - Add memory reporting to the surface cache. r=njn
2013-10-22 13:38:01 +02:00
Seth Fowler
3fc1e9dd5c
Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert
2013-10-22 13:37:59 +02:00
Kannan Vijayan
a11846e8ea
Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE.
2013-10-21 14:39:33 -04:00
Seth Fowler
5a002e5046
Bug 764299 (Part 4) - Cache rasterized surfaces in VectorImage. r=dholbert
2013-10-21 18:10:50 +02:00
Seth Fowler
74e3253b56
Bug 764299 (Part 3) - Add memory reporting to the surface cache. r=njn
2013-10-21 18:10:45 +02:00
Seth Fowler
a41e6e636f
Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert
2013-10-21 18:10:43 +02:00
Ms2ger
cf503efa15
Bug 923395 - Part d: Remove some Makefiles in image/; r=gps
2013-10-20 09:25:19 +02:00
Stephen Pohl
450f723d1f
Bug 817700 - Fix animSVGImage test. r=roc
2013-10-16 22:55:33 -04:00
Steve Workman
b51289891f
Bug 924117 - Wrap access to RasterImage::mSourceData in mDecodingMutex r=seth
2013-10-16 08:56:08 -07:00
Matt Woodrow
633d9b4755
Bug 922942 - Do image scaling in imgTools using azure. r=seth
2013-10-16 14:00:31 +13:00
Wes Kocher
31d7a76361
Backed out changeset c0e5db20b655 (bug 922942) for xpcshell bustage
2013-10-15 19:20:17 -07:00
Matt Woodrow
13b0353cbb
Bug 922942 - Do image scaling in imgTools using azure. r=seth
2013-10-16 14:00:31 +13:00
Matt Woodrow
aa360e13bb
Bug 922942 - Updated cached surface in ClippedImage using azure. r=seth
2013-10-16 14:00:30 +13:00
Steve Workman
9866d5ce45
Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth
2013-10-15 16:33:11 -07:00
Ryan VanderMeulen
f63bf2b4f3
Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
...
CLOSED TREE
2013-10-08 15:00:17 -04:00
Stephen Pohl
1ea44119a7
Bug 817700 - Fix animSVGImage test. r=roc
2013-10-08 13:27:49 -04:00
Ehsan Akhgari
a23cd291d5
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Glenn Randers-Pehrson
adfe69a904
Bug 922471 - Remove MOZ_PNG_READ-WRITE global defines. r=jmuizelaar
2013-10-06 15:30:32 -04:00
Masatoshi Kimura
8d661e8d96
Bug 922931 - Display a placeholder for broken images if the alt attribute is unset even in no-quirks mode. r=bz
2013-10-06 05:25:49 +09:00
Milan Sreckovic
e994f1a23f
Bug 922603 - Avoid signed integer overflow. r=bjacob
2013-10-02 10:44:53 -04:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
9d5ce8dfb7
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Ehsan Akhgari
18ef76b0d7
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Ehsan Akhgari
f720bbfbaa
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Trevor Saunders
9afef3334b
bug 920754 - rm more makefiles r=mshal
2013-09-25 16:39:06 -04:00
Ryan VanderMeulen
2a773817b4
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Ryan VanderMeulen
e5b66a5e17
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Gregory Szorc
f0bcf1241b
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
89c902c7b2
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
5e3c678fac
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Gregory Szorc
47e946bebe
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Timothy Nikkel
33efb92926
Bug 918220. Part 1. Rename the pref content.image.allow_locking to make it clear that it only applies to content processes. r=jmuizelaar
2013-09-30 12:53:46 -05:00
Steve Workman
1851068370
Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
e396f1ef0a
Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
94b651dc14
Bug 867755 - Detect if DiscardTracker has shutdown r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
dcd5faf4f8
Bug 867755 - Dispatch imgRequestProxy notifications r=seth
2013-09-28 11:28:43 -07:00
Steve Workman
8bb99e9a8c
Bug 867755 - Make DiscardTracker thread-safe r=seth
2013-09-28 11:28:43 -07:00
Steve Workman
1b740124a5
Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth
2013-09-28 11:28:42 -07:00
Martijn Wargers
febeb562f6
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
c3127fc9fe
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
2e1fc68393
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Milan Sreckovic
0e2ea5ca69
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
1103518854
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
9c1dfff707
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
f2d9988dbb
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
6a709f70b8
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
5a16c8030b
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
0f90257361
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
89bfa53c22
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Gregory Szorc
160a20817c
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
de22f29668
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
4a7567357a
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ehsan Akhgari
dee6c12c6f
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
5c26e8ed2c
Bug 579517 follow-up: Remove NSPR types that crept in
2013-09-22 19:14:24 -04:00
Matt Woodrow
cf41ef0285
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
da53acf440
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
153c82610c
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)
025fc12dba
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
06ac3a989e
Backout bug 817700 for causing various regressions. r=me
2013-09-13 14:14:36 -04:00
Seth Fowler
64a95589c2
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
a0c6f4334d
Bug 817700 - Fix animSVGImage test. r=roc
2013-09-12 17:04:26 -04:00
Seth Fowler
99c4a68f8d
Bug 912514 - Don't release nsIURIs off-main-thread. r=jdm
2013-09-11 17:01:59 -07:00
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