Commit Graph

1181 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
716b37bff9 Backed out changeset 0f6edaf07a73 (bug 1060200) 2014-09-15 08:17:33 +02:00
Carsten "Tomcat" Book
30fe8c9a93 Backed out changeset 4d5540e82f90 (bug 1060200) 2014-09-15 08:17:32 +02:00
Carsten "Tomcat" Book
db9e4a7fc6 Backed out changeset d295c8ec4b5b (bug 1060200) 2014-09-15 08:17:28 +02:00
Seth Fowler
085c350794 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
9b5ae0f0fd 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
3729ab4bba Bug 1060200 (Part 1) - Add support for RasterImage surfaces to SurfaceCache. r=dholbert 2014-09-14 21:51:19 -07:00
Seth Fowler
6cbe3de817 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
bb0bbb475a 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
ce1dbe6dbd 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
384b71ddd6 Bug 1057906 - Use RawAccessFrameRef in the HQ-scaling code and clean up. r=tn 2014-09-12 01:12:55 -07:00
Michael Wu
e58cfe332e Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Michael Wu
60ddfcde08 Bug 1063129 - Switch mImageSurface to RGBX on SetHasNoAlpha, r=seth 2014-09-04 16:53:43 -04:00
Jonathan Watt
1ae57ac8bf 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
c5df36a648 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
d9ed95ebe1 Bug 1057894 (Part 2) - Add RAII smart handles for imgFrame locking. r=tn 2014-09-10 17:06:45 -07:00
Benoit Girard
10f58e6383 Bug 1063084 - BMP with compression can be transparent. r=seth 2014-09-04 16:08:33 -04:00
Anuj Agarwal
d92a127e8d Bug 1028147 - Privatize public destructor of image::Decoder. r=seth 2014-09-09 19:47:02 -07:00
Arnaud Sourioux
b9b60f6669 Bug 1063034 - Changes RasterImage::mAnim from raw pointer to UniquePtr. r=jrmuizel 2014-09-09 09:39:00 -04:00
Timothy Nikkel
c903c1f0a4 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
20834f1ce3 Bug 1061894 - Clean up correctly in ownerdiscard.html. r=seth 2014-09-04 11:46:06 -07:00
Christoph Kerschbaumer
42b948f5dd Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Bill McCloskey
42257acb97 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Ehsan Akhgari
4dcaff616a Bug 1061047 - Fix some bad implicit constructors in imagelib; r=jrmuizel 2014-09-02 12:20:24 -04:00
Ryan VanderMeulen
28146780ed Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Ryan VanderMeulen
a3c8179253 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Daniel Holbert
1061ba9e44 Backout c5aae1b3dc3f (bug 1002632) for breaking animations in SVG-in-opentype fonts. 2014-08-29 12:09:51 -07:00
James Kolb
ea2c2a5c07 Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
Fabrice Desré
9cf1eb0db0 Bug 1011738 - Theme support for b2g/gaia, Part 2 : stylesheet reloading r=bz,seth 2014-08-28 17:20:27 -07:00
Nathan Froyd
26a85af913 Bug 1058678 - remove unused variable in EXIF.cpp; r=seth 2014-08-26 11:34:56 -04:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Martijn Wargers
ded48732a3 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
b813184aa2 Bug 1021713 - Update in-tree libpng to version 1.6.13. r=jmuizelaar 2014-08-22 07:11:00 -04:00
Timothy Nikkel
3d9579c0cd 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
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Ryan VanderMeulen
deb808428a Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-25 12:51:20 -04:00
Daniel Holbert
a55658a90f 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
f1e20fb689 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Reuben Morais
71ed82ac5c Bug 1055913 - Fix ambiguous reference to Image in imgTools.cpp. r=seth 2014-08-22 23:09:38 -03:00
Trevor Saunders
86b7aff8fc 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
40ecf281b1 Bug 1045977 - Clear heap allocated volatile buffers, r=njn,seth 2014-08-19 15:30:55 -04:00
Artem Sobolev
e53cca979f Bug 625012 - Handle multipart responses in ImageDocument::OnStartRequest correctly. r=bz 2014-07-29 15:23:22 -07:00
Timothy Nikkel
bcdf20a757 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
9ed8d220e6 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
8e7d89ee91 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
07c36a4e0f Bug 1054076 - Make imgFrame reference counted. r=tn 2014-08-22 13:49:54 -07:00
Seth Fowler
71d94ea626 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
92762da113 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
418d9db968 Bug 942364 - Add reftests. r=dholbert 2014-08-12 14:05:29 -07:00
Seth Fowler
ce94866115 Bug 925611 - Add reftests. r=tn 2014-08-12 14:05:27 -07:00
Birunthan Mohanathas
1309100133 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00