Commit Graph

1009 Commits

Author SHA1 Message Date
Neil Rashbrook
a8a5decf6f Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Patrick McManus
ded0fc52d9 bug 968417 - revalidating images needs loadgroup parent for spdy push r=seth 2014-01-29 22:35:40 -05:00
Carsten "Tomcat" Book
0ac4a98d1e merge b2g-inbound to mozilla-central 2014-04-03 12:48:14 +02:00
Seth Fowler
0d47a4402b 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
fc20c8c2bc Bug 985017 - [2/2] Cache a gfxImageSurface for the drawing path, r=seth 2014-04-02 21:32:54 -04:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Glenn Randers-Pehrson
abfd29d373 Bug 987625 - Conditionally define MOZ_PNG_MAX_DIMENSION. r=jrmuizel 2014-04-01 09:14:14 -04:00
Ryan VanderMeulen
5ea0fc8045 Bug 980488 - Remove duplicate MOZ_PNG_MAX_DIMENSION definition in nsPNGDecoder.cpp.
CLOSED TREE
2014-03-24 17:14:10 -04:00
Jonathan Watt
f50a46f108 Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Michael Wu
9959966d90 Bug 980037 - Store scaled images in volatile buffers, r=seth 2014-03-02 11:17:26 -05:00
Michael Wu
c339a5d288 Bug 980035 - Support 16bit volatile buffer backed decoded images, r=seth 2014-02-25 05:57:41 -05:00
Bill McCloskey
aa5f40a77e 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
a3277d291d 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
f4f6bf8e4d 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
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b 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
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Nathan Froyd
389fcf0dd9 Bug 976566 - use Endian.h for image decoders; r=seth 2014-02-25 06:23:05 -05:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Michael Wu
7111cc628d Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Jonathan Watt
518619e344 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
cf3ab2df31 Bug 979905 - Make VectorImage use a Moz2D backed gfxContext. r=mattwoodrow 2014-03-05 16:10:34 +00:00
Milan Sreckovic
fb55707309 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
87283ff654 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
f46941cf7a 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
6d6e9c420b Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00
Wes Kocher
55ae71a452 Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE 2014-03-04 14:15:33 -08:00
Andrew McCreight
dc81f67e51 Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 13:33:44 -08:00
Jeff Muizelaar
5be51a1b3a 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
b0c4ffcec3 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
17381347b0 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
0a103c1cd1 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
0f5851acbd 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
8212be10db Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Oleg Romashin
e5c33da3e3 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
dfb3f0e76b 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
698a218163 Bug 973088. Use nsContentUtils::GetSecurityManager(). r=ehsan
Faster and more like C++
2014-02-14 17:56:01 -05:00
Jeff Walden
1134b4ce35 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
b870bb3fe9 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
6cd72749ed 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
79a49f2e48 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
a3682d0dd9 Bug 952033 - Part f: Use IntSize in CachedSurface; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
479e9f45c5 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
2958895ce4 Bug 952033 - Part a: Use IntSize in SurfaceCache; r=roc 2014-02-09 09:04:37 +01:00
Bas Schouten
79d88092d4 Bug 969580 - Part 1: Expose DiscardAll to SurfaceCache public interface. r=seth 2014-02-08 19:37:39 +00:00
Michael Wu
ead324867d Bug 962667 - Don't treat quartz surfaces as optimized, r=jrmuizel 2014-01-31 17:57:19 -05:00
Benoit Jacob
3991287fb7 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f 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
837160a1ff 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