electron/shell/browser/ui/gtk
trop[bot] 8f908ffce2
perf: don't create unused menuitem icons (#47128)
GTK >= 3.90.0 removed support for menuitem icons. When Electron is
built with GTK >= 3.90.0, our code builds these icons and then throws
them away unused. Instead, let's just not build them.

Our gtk_util::GdkPixbufFromSkBitmap utility uses BGRAToRGBA and is
expensive to call.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-05-16 11:05:26 -05:00
..
menu_gtk.cc
menu_gtk.h
menu_util.cc perf: don't create unused menuitem icons (#47128) 2025-05-16 11:05:26 -05:00
menu_util.h perf: don't create unused menuitem icons (#47128) 2025-05-16 11:05:26 -05:00