summaryrefslogtreecommitdiffstats
path: root/image/SurfaceCache.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /image/SurfaceCache.h
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'image/SurfaceCache.h')
-rw-r--r--image/SurfaceCache.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/image/SurfaceCache.h b/image/SurfaceCache.h
index 864a6ffbc4..de4d448b00 100644
--- a/image/SurfaceCache.h
+++ b/image/SurfaceCache.h
@@ -424,12 +424,14 @@ struct SurfaceCache {
/**
* Removes all rasterized cache entries (including placeholders) associated
- * with the given image from the cache. Any blob recordings are marked as
- * dirty and must be regenerated.
+ * with the given image from the cache and marks their surface providers as
+ * dirty and should not be drawn again. Any blob recordings are left in th
+ * cache but marked as dirty and must be regenerated.
*
* @param aImageKey The image whose cache which should be regenerated.
*
- * @returns true if any recordings were invalidated, else false.
+ * @returns true if any surface providers were present in the cache, else
+ * false.
*/
static bool InvalidateImage(const ImageKey aImageKey);