image/SurfaceCache.cpp
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
2f64401a8c87071cb2f5943f02b8a62f89111c09
created 2018-11-29 21:41 +0000
pushed 2018-11-30 09:34 +0000
Andrew McCreight Andrew McCreight - Bug 1511141 - Disable formatting for more MOZ_COLLECT_REPORT calls. r=erahm
479653ce6d8c31dd5cddc815f9ad19a5b06b7fda
created 2018-10-13 00:31 -0500
pushed 2018-10-13 09:36 +0000
Timothy Nikkel Timothy Nikkel - Bug 1256603. Make aMarkUsed parameters required everywhere. r=aosmond
8421b16c011ba49a2e495f81853b282413aa7650
created 2018-10-13 00:31 -0500
pushed 2018-10-13 09:36 +0000
Timothy Nikkel Timothy Nikkel - Bug 1256603. Only mark images as used in the surface cache if we actually use them. r=aosmond
62ee015d33a6e36bdb0812687057d7623b382193
created 2018-09-25 09:13 -0400
pushed 2018-09-25 21:49 +0000
Andrew Osmond Andrew Osmond - Bug 1492930 - Part 3. Expose all frames to image memory reporting. r=tnikkel
597019fb23d9362690d9c51cbe35ff5bd6d509b6
created 2018-09-25 13:33 +0300
pushed 2018-09-25 21:49 +0000
Narcis Beleuzu Narcis Beleuzu - Backed out 6 changesets (bug 1492930) for build bustages on ImageMemoryReporter.cpp. CLOSED TREE
587e01daa080af33c43fe71edf307e02c5a97eb2
created 2018-09-25 06:18 -0400
pushed 2018-09-25 21:49 +0000
Andrew Osmond Andrew Osmond - Bug 1492930 - Part 3. Expose all frames to image memory reporting. r=tnikkel
9884e2d81cbe037ed71687c47dd84674f8474408
created 2018-09-20 20:22 -0400
pushed 2018-09-21 04:14 +0000
Andrew Osmond Andrew Osmond - Bug 1456558 - Part 2. Implement factor of 2 scaling support for SVGs in the surface cache. r=tnikkel
55c2dd9bdb3436b185a80ef675d222ff56b3e4a6
created 2018-09-20 20:22 -0400
pushed 2018-09-21 04:14 +0000
Andrew Osmond Andrew Osmond - Bug 1456558 - Part 1. Move the allowed raster size calculation from imgFrame to SurfaceCache. r=tnikkel
fac7810a8f317798d8d78e6cdd4034bf18385001
created 2018-09-21 02:13 +0300
pushed 2018-09-21 04:14 +0000
Andreea Pavel Andreea Pavel - Backed out 3 changesets (bug 1456558) for crashtest assertion failures on a CLOSED TREE
af9fc3daf97ca1ef1fe09587553deae1fa9c279c
created 2018-09-20 18:15 -0400
pushed 2018-09-21 04:14 +0000
Andrew Osmond Andrew Osmond - Bug 1456558 - Part 2. Implement factor of 2 scaling support for SVGs in the surface cache. r=tnikkel
f209a9d848f42a377c15bf6a0b0d0255a4ebd580
created 2018-09-20 18:15 -0400
pushed 2018-09-21 04:14 +0000
Andrew Osmond Andrew Osmond - Bug 1456558 - Part 1. Move the allowed raster size calculation from imgFrame to SurfaceCache. r=tnikkel
93fea376b688be74a3e68f196877afc46916081e
created 2018-07-31 19:31 +0000
pushed 2018-08-02 22:28 +0000
Brian Hackett Brian Hackett - Bug 1479647 - Ensure that surface caches have consistent ordering between recording and replaying, r=tnikkel.
b54db66223586b4e04f5cb926fccdacf8a176b91
created 2018-05-30 21:15 +0200
pushed 2018-06-01 22:02 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
6b4514506318e472a8fb6b2b01ebd115dd0b5ded
created 2018-02-22 14:26 -0500
pushed 2018-02-23 09:40 +0000
Andrew Osmond Andrew Osmond - Bug 1427639 - Part 2. Fix misleading image memory reporting on Android. r=tnikkel
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
less more (0) -60 tip