image/SurfaceCache.cpp
8d8cfa078d8601abcb66e1edb786e971f929ad89
created 2017-11-17 06:45 -0500
pushed 2017-11-17 22:02 +0000
Andrew Osmond Andrew Osmond - Bug 1368776 - Part 16. Ensure we more consistently pass the suggested size from SurfaceCache::LookupBestMatch. r=tnikkel
7dbef7d88601a8e85e27c020e1be4953c6af6385
created 2017-11-07 08:10 -0500
pushed 2017-11-07 21:57 +0000
Andrew Osmond Andrew Osmond - Bug 1415085 - Make CachedSurface::GetSurfaceKey return a reference instead of a copy. r=decoder
5fbd0369b400b567ff0e4064b02dec16b7572a8c
created 2017-10-20 18:25 +1100
pushed 2017-10-23 09:33 +0000
Gerald Squelart Gerald Squelart - Bug 1410252 - Convert 'WrapNotNull(new T(...' to 'MakeNotNull<T*>(...' - r=njn
220a9b1bed87420e6ec9afae78bdd94771f9af3f
created 2017-09-21 16:56 -0400
pushed 2017-09-22 09:43 +0000
Andrew Osmond Andrew Osmond - Bug 1401524 - Ensure SurfaceCache state coherency whenever we perform an operation that may discard surfaces. r=tnikkel
a23a810d95855a42f009ccd72604935db0680bd3
created 2017-09-19 08:19 -0400
pushed 2017-09-19 21:49 +0000
Andrew Osmond Andrew Osmond - Bug 1380649 - Part 1. Ensure SurfaceCache::CollectSizeOfSurfaces removes purged volatile buffer-backed surfaces. r=tnikkel
b577f883dc898d203b74f7b02345a0a7dc3d32c0
created 2017-09-19 10:51 +0200
pushed 2017-09-19 21:49 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset d4f5756b1d12 (bug 1380649) for frequently asserting at image/SurfaceCache.cpp:138. r=backout
d4f5756b1d1247656cad910c1f19b7ea600d4ec1
created 2017-09-18 19:53 -0400
pushed 2017-09-19 21:49 +0000
Andrew Osmond Andrew Osmond - Bug 1380649 - Part 1. Ensure SurfaceCache::CollectSizeOfSurfaces removes purged volatile buffer-backed surfaces. r=tnikkel
1e6956da301f796a885e0810090d104eab13a097
created 2017-09-06 20:17 -0700
pushed 2017-09-07 10:39 +0000
Andrew Osmond Andrew Osmond - Bug 1397223 - Gracefully handle failures in SurfaceCacheImpl::StartTracking. r=tnikkel
354981c2ee1ff9102350393ac2c262691cf72c3d
created 2017-09-06 20:16 -0700
pushed 2017-09-07 10:39 +0000
Andrew Osmond Andrew Osmond - Bug 1397235 - Ensure that we reset factor-of-2 mode for an ImageSurfaceCache when it becomes empty. r=tnikkel
5cd1c5cd9b0154c25a5bb8971dfb5e7fc0583987
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 9. Add factor of 2 state to the SurfaceCache memory reports. r=tnikkel
85cdb40c26211ea3288c46927641e14f0f5661d9
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 8b. Add ImageSurfaceCache::Prune to discard surfaces which are not needed in factor of 2 mode. r=tnikkel
71f26daac945b65873a2ce99498638a9cdec0bf7
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 7. ImageSurfaceCache::Lookup should enter factor of 2 mode on cache misses. r=tnikkel
9d1a5ce9c33350d2deb004808e8c65248ac1dc7a
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 6. ImageSurfaceCache::LookupBestMatch should enter factor of 2 mode on cache misses. r=tnikkel
536e6a1d3b4f990917a5d97765b29b25180512b7
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 5. Add ImageSurfaceCache factor of 2 mode size calculations. r=tnikkel
fcc167260154d23e5588efcd316121f647d1a1e6
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 4. Add ImageSurfaceCache::MaybeSetFactor2Mode and state. r=tnikkel
4f0c916b3960dd3a740286a92853180b1e7de9c0
created 2017-09-05 07:58 -0400
pushed 2017-09-05 21:56 +0000
Andrew Osmond Andrew Osmond - Bug 1370412 - Part 3. Break out ImageSurfaceCache::CompareArea from LookupBestMatch for reuse. r=tnikkel
3f2e443dd48ce187ba6098e2a72fd5804f94c6f3
created 2017-08-15 15:02 -0400
pushed 2017-08-16 02:03 +0000
Andrew Osmond Andrew Osmond - Bug 1389479 - Part 2. Make the SurfaceCache free ImageSurfaceCache objects outside of the lock. r=tnikkel
a5ad60345270d5a60bccf1675cac9aa0a39b7b60
created 2017-08-14 21:35 -0400
pushed 2017-08-15 09:42 +0000
Andrew Osmond Andrew Osmond - Bug 1390109 - Gracefully propogate ImageSurfaceCache::Insert OOM failures to SurfaceCache::Insert. r=tnikkel
e24042d9d4745ee84e17ad85c475956befa0bf39
created 2017-08-14 20:23 -0400
pushed 2017-08-15 09:42 +0000
Andrew Osmond Andrew Osmond - Bug 1351869 - Part 1. Make SurfaceCache using the system group for its expiration events. r=tnikkel
3ee3add6393dd5923d91328ba47f0a6f55f33f41
created 2017-03-27 21:47 -0400
pushed 2017-04-05 12:33 +0000
Bevis Tseng Bevis Tseng - Bug 1350177 - Part 3: Refactor SurfaceCache with ExpirationTrackerImpl. r=froydnj,aosmond
d4cafcc44babd82e009801f6d453b6002fb280d7
created 2017-03-16 03:06 -0500
pushed 2017-03-16 20:48 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Only set the animation state as discarded if we discarded the animated frames (and not a static frame from a first-frame-only decode). r=aosmond
0394f4a6e9e9436e70409bc9f0eff8378f945f27
created 2017-03-15 03:13 -0500
pushed 2017-03-15 12:13 +0000
Timothy Nikkel Timothy Nikkel - Backed out changeset 29e2e6dd82d2 (bug 1343341)
29e2e6dd82d298a1febed9c03ca0d5d6757d9607
created 2017-03-15 02:47 -0500
pushed 2017-03-15 12:13 +0000
Timothy Nikkel Timothy Nikkel - Bug 1343341. Only set the animation state as discarded if we discarded the animated frames (and not a static frame from a first-frame-only decode). r=aosmond
778683798a9aad9b0801ebd2bf6d0eda4ce240f6
created 2017-03-14 01:11 -0500
pushed 2017-03-14 13:23 +0000
Timothy Nikkel Timothy Nikkel - Bug 1346510. Don't allow the surface cache to unlock the animated frames of an animated image (when discarding of animated images is disabled). r=aosmond
2c135b467344e72465ccf64f1cd24a18ad28f15d
created 2017-02-22 09:30 -0500
pushed 2017-02-24 10:47 +0000
Andrew Osmond Andrew Osmond - Bug 1341624 - Include shared handle totals in memory reports for images. r=tnikkel
deb00e365c842e596a870f66f437590ec18079a9
created 2017-01-31 07:41 -0500
pushed 2017-01-31 23:13 +0000
Andrew Osmond Andrew Osmond - Bug 1335045 - Make SurfaceCache mutex static to robustly control access to the image cache. r=tnikkel
90c8439299ea297d780b0a5ec2d81468520437d0
created 2016-08-26 16:04 -0700
pushed 2016-08-29 16:48 +0000
Seth Fowler Seth Fowler - Bug 1298551 - Respect CachedSurface::SetLocked() even if the underlying ISurfaceProvider is always locked. r=dholbert
d28b09df98ff4a1fa02b37542b99f7a6b5191071
created 2016-08-19 20:26 -0700
pushed 2016-08-29 16:48 +0000
Seth Fowler Seth Fowler - Bug 1296828 (Part 3) - Update SurfaceCache API to rely on ImageKeys and SurfaceKeys stored on ISurfaceProviders. r=dholbert
39e0894d2dfec61a563e42f93a5d050b9bc86ffb
created 2016-08-02 23:13 -0700
pushed 2016-08-29 16:48 +0000
Seth Fowler Seth Fowler - Bug 1296828 (Part 1) - Use ImageKey consistently in SurfaceCache. r=dholbert
4033113ab84efb2dc91552fd395aaea7d55584fc
created 2016-08-19 15:09 -0700
pushed 2016-08-26 13:37 +0000
Seth Fowler Seth Fowler - Bug 1296762 (Part 3) - Use NotNull for all CachedSurfaces in SurfaceCache. r=dholbert
ef60a93ad25aa956e3ff35b32478d31dd748556e
created 2016-08-19 15:07 -0700
pushed 2016-08-26 13:37 +0000
Seth Fowler Seth Fowler - Bug 1296762 (Part 2) - Forbid null ISurfaceProviders in SurfaceCache. r=dholbert
6c7a27f37849f3accdf56b33ea82c6efb1faf995
created 2016-08-19 15:04 -0700
pushed 2016-08-26 13:37 +0000
Seth Fowler Seth Fowler - Bug 1296762 (Part 1) - Remove SurfaceCache::InsertPlaceholder(). r=dholbert
7651ea2490e0f0d36757ee238fcf4446b1869d18
created 2016-08-24 15:23 +1000
pushed 2016-08-25 23:59 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
cfb1f1eeceb36952195fd255d5a7a5f017771cbd
created 2016-08-18 00:06 -0700
pushed 2016-08-19 13:53 +0000
Seth Fowler Seth Fowler - Bug 1293472 (Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn
0f9b465ebb5fab7f1dd2d7eb32e172292a618b21
created 2016-08-17 17:50 -0700
pushed 2016-08-19 13:53 +0000
Seth Fowler Seth Fowler - Bug 1296147 (Part 1) - Add a DrawableSurface smart pointer type to allow lazy surface generation. r=dholbert,edwin
c1dda3c8d9d2e7d7155f19edab3702bc84678819
created 2016-08-15 19:58 -0500
pushed 2016-08-17 23:38 +0000
Timothy Nikkel Timothy Nikkel - Backed out changeset 37340346a89e (Bug 1289628 - Return ISurfaceProvider objects from SurfaceCache lookup functions. r=dholbert,edwin) for causing bug 1292290.
27c0dd5afde663dd19e094c022e8fb2149177940
created 2016-08-05 17:09 -0700
pushed 2016-08-07 06:34 +0000
Daniel Holbert Daniel Holbert - Bug 1292632 part 1: Remove a stale/unused #include from SurfaceCache.cpp. r=seth
4a2a5e36e0d32612f4ac7c488300cc9800886032
created 2016-08-01 16:44 -0700
pushed 2016-08-05 10:01 +0000
Seth Fowler Seth Fowler - Bug 1291033 (Part 1) - Ensure atomicity of ISurfaceProvider availability changes. r=dholbert
37340346a89e3ff5680559afabbc430ffaf9bb74
created 2016-07-26 16:31 -0700
pushed 2016-07-28 15:43 +0000
Seth Fowler Seth Fowler - Bug 1289628 - Return ISurfaceProvider objects from SurfaceCache lookup functions. r=dholbert,edwin
a6d457ff02be518c5ba3f2d278501e9fbb594069
created 2016-07-10 23:48 -0700
pushed 2016-07-17 08:08 +0000
Seth Fowler Seth Fowler - Bug 1286161 (Part 1) - Expose SourceBuffer and SurfaceCache constants which are useful for testing. r=edwin
872c207297631b960bea8de9baafe2de5e61d148
created 2016-07-01 22:59 -0600
pushed 2016-07-04 11:02 +0000
Seth Fowler Seth Fowler - Bug 1283967 - Remove unused function SurfaceCache::RemoveEntry(). r=dholbert
a561bae08fbbbbe148f67febb8d6d0d4cd11c2ce
created 2016-07-01 23:33 -0600
pushed 2016-07-04 11:02 +0000
Seth Fowler Seth Fowler - Bug 1282327 (Part 2) - Update SurfaceCache documentation and method names to reflect the fact that cache entries are now ISurfaceProviders. r=dholbert
2984a22f9dcb85872ebbccb264bb8a9894bcccba
created 2016-07-01 23:20 -0600
pushed 2016-07-04 11:02 +0000
Seth Fowler Seth Fowler - Bug 1282327 (Part 1) - Store ISurfaceProviders in the ImageLib SurfaceCache. r=dholbert
5032a30641d37535d16884b45fe5d69d352d172d
created 2016-06-29 18:36 -0700
pushed 2016-06-30 10:34 +0000
Seth Fowler Seth Fowler - Revert "Bug 1282327 - Store ISurfaceProviders in the ImageLib SurfaceCache. r=dholbert"; it was accidentally pushed.
6ba925dbd2334e4071d374a93e4aa8ca532d404f
created 2016-06-26 15:38 -0700
pushed 2016-06-30 10:34 +0000
Seth Fowler Seth Fowler - Bug 1282327 - Store ISurfaceProviders in the ImageLib SurfaceCache. r=dholbert
19f163886e2f9da1a9ae51f86e0dfc31f11288f9
created 2016-05-19 13:01 +0800
pushed 2016-05-19 16:47 +0000
vincentliu vincentliu - Bug 1167557 - Log for Null surface in SurfaceCache::Insert. r=milan
f9ee57defd9ddad86f3545ad512b42d4ea64f640
created 2016-04-22 15:07 +0100
pushed 2016-04-25 09:55 +0000
Jonathan Watt Jonathan Watt - No Bug - Remove some unnecessary SVGImageContext.h includes and add comments. r=sparky
c75b2b195f28a5ed556a7dfc12e9b45bc56c971a
created 2016-03-23 19:31 -0500
pushed 2016-03-24 15:15 +0000
Timothy Nikkel Timothy Nikkel - Bug 1257101. imgFrame::IsImageComplete says whether we've had pixels decoded to the whole image rect, but it's used to check if the frame is finished decoding. These are different things when the image has more than one progress pass. r=seth
921b59dcd782e0e9803f9dfb542a9c2820772f61
created 2016-02-29 12:20 -0600
pushed 2016-03-01 11:02 +0000
Timothy Nikkel Timothy Nikkel - Bug 1251091. Fix surface key comparison in ImageSurfaceCache::LookupBestMatch. r=dholbert
e4ae782bcc00c668b21edbd6ab3394f936507d9e
created 2016-02-26 17:13 -0600
pushed 2016-02-29 10:35 +0000
Timothy Nikkel Timothy Nikkel - Bug 1251742. Avoid overflow in computing area of surface sizes in SurfaceCache. r=dholbert
9727cdebb2eeb25a1d9452b7fa5e0583e879d0af
created 2016-01-18 17:23 +0200
pushed 2016-02-26 19:21 +0000
Bogdan Postelnicu Bogdan Postelnicu - Bug 1228314 - added static_cast<int64> in order to avoid overflow. r=seth
411f18fdffeb78a72d609130d151ae918b8efe78
created 2015-11-10 23:07 -0800
pushed 2015-11-11 11:43 +0000
Sotaro Ikeda Sotaro Ikeda - Bug 1186796 - Replace nsBaseHashtable::EnumerateRead() calls in image/ with iterators r=njn
5196440d55874384952812fceeed711406082082
created 2015-10-17 06:52 -0400
pushed 2015-10-26 21:33 +0000
Nathan Froyd Nathan Froyd - Bug 1215763 - part 1 - remove unnecessary nsAutoPtr.h includes; r=seth
e8c7dfe727cd970e2c3294934e2927b14143c205
created 2015-10-18 01:24 -0400
pushed 2015-10-18 02:55 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
ca86c21a96b4ec676afc55d3b714c22c547884b2
created 2015-10-18 00:40 -0400
pushed 2015-10-18 02:55 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
6f47f75d3136c53eaf1b1fb0f9043f64ba9be42a
created 2015-10-07 10:19 -0700
pushed 2015-10-07 17:31 +0000
Wes Kocher Wes Kocher - Backed out changeset 1f51d1614b9a (bug 1207245)
41dea9df27ed995f8315ab4318c187a617937664
created 2015-10-07 10:19 -0700
pushed 2015-10-07 17:31 +0000
Wes Kocher Wes Kocher - Backed out changeset 91d4539e00ce (bug 1207245)
91d4539e00cecb658604e021675a923c60ef3235
created 2015-10-07 16:50 -0400
pushed 2015-10-07 12:51 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
1f51d1614b9a58e41dd3a1bf2dc6aad34dbb2170
created 2015-10-07 15:05 -0400
pushed 2015-10-07 12:51 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
53e486b9137bb483be0adf6d757b32c40b16920f
created 2015-10-05 17:06 -0700
pushed 2015-10-06 10:01 +0000
Seth Fowler Seth Fowler - Bug 1210553 - Remove the alternate flags arguments from SurfaceCache's Lookup functions. r=dholbert
less more (0) -60 tip