Commit Graph

1182 Commits

Author SHA1 Message Date
Shu-yu Guo
9baa236495 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Carsten "Tomcat" Book
4854f756e0 Backed out changeset 0f6edaf07a73 (bug 1060200) 2014-09-15 08:17:33 +02:00
Carsten "Tomcat" Book
31b85c932a Backed out changeset 4d5540e82f90 (bug 1060200) 2014-09-15 08:17:32 +02:00
Carsten "Tomcat" Book
8c120cffff Backed out changeset d295c8ec4b5b (bug 1060200) 2014-09-15 08:17:28 +02:00
Seth Fowler
b1e8edfa8d Bug 1060200 (Part 3) - Store HQ scaled frames in SurfaceCache and remove ScaleRequest and ScaleResult. r=tn 2014-09-14 21:51:20 -07:00
Seth Fowler
c155a95187 Bug 1060200 (Part 2) - Add SurfaceCache::RemoveIfPresent so invalid entries can be freed eagerly. r=dholbert 2014-09-14 21:51:20 -07:00
Seth Fowler
f480d9229f Bug 1060200 (Part 1) - Add support for RasterImage surfaces to SurfaceCache. r=dholbert 2014-09-14 21:51:19 -07:00
Seth Fowler
84dcaeb8a2 Bug 1054079 (Part 3) - Store imgFrame objects, not SourceSurface objects, in the SurfaceCache. r=dholbert 2014-09-14 15:22:45 -07:00
Seth Fowler
6e8296e45b Bug 1054079 (Part 2) - Make it possible to initialize an imgFrame with a gfxDrawable. r=tn,mwu,mattwoodrow 2014-09-14 15:22:45 -07:00
Seth Fowler
670c01d836 Bug 1057903 - Refactor RasterImage to use DrawableFrameRef and generally clean up. r=tn
--HG--
extra : rebase_source : 6bc623af287694e57438c0b9dc99d01964cfa353
2014-09-12 18:29:27 -07:00
Seth Fowler
fc78fdedad Bug 1057906 - Use RawAccessFrameRef in the HQ-scaling code and clean up. r=tn 2014-09-12 01:12:55 -07:00
Michael Wu
8952e58b3d Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Michael Wu
e625d8151e Bug 1063129 - Switch mImageSurface to RGBX on SetHasNoAlpha, r=seth 2014-09-04 16:53:43 -04:00
Jonathan Watt
9b387961e9 Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Timothy Nikkel
0c97c9e573 Bug 1063364. imgLoader::SetHasProxies/SetHasNoProxies should operate on imgRequests/imgCacheEntrys not URIs. r=seth
There can be more than one imgRequest alive for any given URI, so when we tell the imgLoader that we have/do not have proxies we should be specific which imgRequest/imgCacheEntry this applies to so we don't change the wrong imgRequest/imgCacheEntry.
2014-09-10 21:47:00 -05:00
Seth Fowler
1900b5c86e Bug 1057894 (Part 2) - Add RAII smart handles for imgFrame locking. r=tn 2014-09-10 17:06:45 -07:00
Benoit Girard
5e8aac2d03 Bug 1063084 - BMP with compression can be transparent. r=seth 2014-09-04 16:08:33 -04:00
Anuj Agarwal
be5024d1d9 Bug 1028147 - Privatize public destructor of image::Decoder. r=seth 2014-09-09 19:47:02 -07:00
Arnaud Sourioux
8fcfb24aec Bug 1063034 - Changes RasterImage::mAnim from raw pointer to UniquePtr. r=jrmuizel 2014-09-09 09:39:00 -04:00
Timothy Nikkel
aa2ff91951 Bug 1059654. Report memory for all images, not just those that are in the image cache. r=seth f=njn
The image cache is just a map from URI to imgRequest, so if two images have the same URI (because we couldn't re-use the cached one for whatever reason (ie expired))  one won't be in the cache.

Also images that have no proxies will eventually get removed from the cache, if they are kept alive we still want to report them.
2014-09-05 16:36:11 -05:00
Timothy Nikkel
7f7f043a20 Bug 1061894 - Clean up correctly in ownerdiscard.html. r=seth 2014-09-04 11:46:06 -07:00
Christoph Kerschbaumer
e401159cf1 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Bill McCloskey
2b8c94ee67 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Ehsan Akhgari
4a9f378bd7 Bug 1061047 - Fix some bad implicit constructors in imagelib; r=jrmuizel 2014-09-02 12:20:24 -04:00
Ryan VanderMeulen
586de84792 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Ryan VanderMeulen
e3a1f87d6e Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Daniel Holbert
a52fb1dc25 Backout c5aae1b3dc3f (bug 1002632) for breaking animations in SVG-in-opentype fonts. 2014-08-29 12:09:51 -07:00
James Kolb
672561a401 Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
Fabrice Desré
49f709b1c3 Bug 1011738 - Theme support for b2g/gaia, Part 2 : stylesheet reloading r=bz,seth 2014-08-28 17:20:27 -07:00
Nathan Froyd
5cda4e7f4a Bug 1058678 - remove unused variable in EXIF.cpp; r=seth 2014-08-26 11:34:56 -04:00
Milan Sreckovic
33707ea4c4 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Martijn Wargers
3f0fc63a97 Bug 1058087 - Remove timer so no subresults will be logged after SimpleTest.finish(). r=dholbert 2014-08-27 02:47:53 +02:00
Glenn Randers-Pehrson
4c4d545858 Bug 1021713 - Update in-tree libpng to version 1.6.13. r=jmuizelaar 2014-08-22 07:11:00 -04:00
Timothy Nikkel
fe208263fa Bug 1051531. When requesting decode of an image and not asking for some synchronous decoding check is some bytes have been decoding before acquiring the lock in order to avoid waiting on the decoding thread. r=seth
We also need to move the check for if there is work done and subsequent FinishedSomeDecoding call to before acquiring the lock so that we notify if there is work done to notify about.

The pointer value of mDecodeRequest can only be changed on the main thread (and we are on the main thread). It's okay to read the request status without locking it, if the request status changes it shouldn't cause any problems since this FinishedSomeDecoding call is just an optimization.
2014-08-26 23:02:10 -05:00
Jim Chen
9e2f5981db Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Ryan VanderMeulen
360cbe96de Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-25 12:51:20 -04:00
Daniel Holbert
6e235c7ad7 Bug 907503 followup: Fix incorrect bug link in test_animSVGImage2.html. (no review)
DONTBUILD because test-metadata-only
Landing on a CLOSED TREE with RyanVM's permission
2014-08-25 09:28:26 -07:00
Ryan VanderMeulen
3b99d0fa33 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Reuben Morais
62a88ea438 Bug 1055913 - Fix ambiguous reference to Image in imgTools.cpp. r=seth 2014-08-22 23:09:38 -03:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Michael Wu
d92cabb9c6 Bug 1045977 - Clear heap allocated volatile buffers, r=njn,seth 2014-08-19 15:30:55 -04:00
Artem Sobolev
06e6b5d708 Bug 625012 - Handle multipart responses in ImageDocument::OnStartRequest correctly. r=bz 2014-07-29 15:23:22 -07:00
Timothy Nikkel
0fb1db60c7 Bug 1057175. If ReadSegments returns a failure code it might not send any data to RasterImage, so check for return value. r=seth
We can hit this if the input stream gets closed before we can read from it. In the case I debugged the image was removed from the DOM (by having it's containing document removed from the DOM) so it's request was cancelled. ReadSegments on a closed stream (at least a cache file input stream) just returns and does nothing.
2014-08-23 23:47:55 -05:00
L. David Baron
8e207590d1 Bug 1043560 followup: Annotate reliable reftest failure on B2G following merge of bug 1043560 with https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=09ee525ce99d (probably bug 974242). 2014-08-23 11:09:55 -07:00
L. David Baron
758dce7897 Bug 1043560 followup: Annotate different fuzziness on one test for d2d since it is intermittenly more fuzzy on accelerated win7 reftests. 2014-08-23 11:03:21 -07:00
Seth Fowler
ae00f4faf9 Bug 1054076 - Make imgFrame reference counted. r=tn 2014-08-22 13:49:54 -07:00
Seth Fowler
83699c0bf8 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Seth Fowler
ab2ec45eb5 Bug 913586 (Part 5) - Update Maybe users in image. r=tn
--HG--
extra : rebase_source : 694928307fd724af821f51374bcf6fefb28fef5f
2014-08-13 15:39:41 -07:00
Seth Fowler
8a75f85287 Bug 942364 - Add reftests. r=dholbert 2014-08-12 14:05:29 -07:00
Seth Fowler
6ce746259d Bug 925611 - Add reftests. r=tn 2014-08-12 14:05:27 -07:00