diff options
author | Victor Kareh <[email protected]> | 2021-06-18 11:13:17 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2023-03-07 14:24:09 -0500 |
commit | 32f1967142a078ecdb4222c05d62c75710fb74fa (patch) | |
tree | 2e2b83dd71fd33522f4e6d5efa76d837f1901e6f /src/core/iconcache.h | |
parent | df299574f6db9bcdccc9413f173c2dd4ceff6467 (diff) | |
download | marco-32f1967142a078ecdb4222c05d62c75710fb74fa.tar.bz2 marco-32f1967142a078ecdb4222c05d62c75710fb74fa.tar.xz |
iconcache: Read icons into cairo surfaces
We internally read icons as cairo surfaces before converting them to
GdkPixbuf. This will allow us to eventually delete a lot of GdkPixbuf
manipulation and simplify the drawing codepath.
Diffstat (limited to 'src/core/iconcache.h')
-rw-r--r-- | src/core/iconcache.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/core/iconcache.h b/src/core/iconcache.h index a558a945..11dc6617 100644 --- a/src/core/iconcache.h +++ b/src/core/iconcache.h @@ -65,16 +65,17 @@ void meta_icon_cache_property_changed (MetaIconCache *icon_cache, Atom atom); gboolean meta_icon_cache_get_icon_invalidated (MetaIconCache *icon_cache); -gboolean meta_read_icons (MetaScreen *screen, - Window xwindow, - char *res_name, - MetaIconCache *icon_cache, - Pixmap wm_hints_pixmap, - Pixmap wm_hints_mask, - GdkPixbuf **iconp, - int ideal_size, - GdkPixbuf **mini_iconp, - int ideal_mini_size); +gboolean meta_read_icons (MetaScreen *screen, + Window xwindow, + char *res_name, + MetaIconCache *icon_cache, + Pixmap wm_hints_pixmap, + Pixmap wm_hints_mask, + cairo_surface_t **iconp, + int ideal_size, + cairo_surface_t **mini_iconp, + int ideal_mini_size, + int scaling_factor); #endif |