gtk2/gdk/win32
Matthias Clasen 99c3928cec keymap: Cache key info
We currently calling gdk_display_map_keyval up to
once per key event per shortcut trigger, and that function
does an expensive loop over the entire keymap and
allocates an array. Avoid this by caching the entries
in a single array, and have a lookup table for finding
the entries for a keyval.

To do this, change the GdkKeymap.get_entries_for_keyval
signature, and change the ::keys-changed signal to be
RUN_FIRST, since we want to clear the cache in the class
handler before running signal handlers. These changes are
possible now, since keymaps are no longer public API.
2020-04-30 13:05:52 -04:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
bdfcursor.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
cursor.bdf
gdkcairocontext-win32.c win32: Build fixes 2019-05-28 20:25:15 +00:00
gdkcairocontext-win32.h GDK W32: Switch to GdkCairoContext 2018-04-24 23:24:55 +02:00
gdkclipboard-win32.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.c win32: Get rid of GdkAtom 2020-02-23 01:59:26 +01:00
gdkclipdrop-win32.h win32: Get rid of GdkAtom 2020-02-23 01:59:26 +01:00
gdkcursor-win32.c GDK W32: Fix a missing weak referencing 2018-04-11 16:39:34 +00:00
gdkdevice-virtual.c Drop root coordinates from _gdk_device_query_state 2020-03-12 15:30:11 -04:00
gdkdevice-virtual.h
gdkdevice-win32.c Rename GDK_MOD1_MASK to GDK_ALT_MASK 2020-04-06 01:40:49 -04:00
gdkdevice-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevice-wintab.c Rename GDK_MOD1_MASK to GDK_ALT_MASK 2020-04-06 01:40:49 -04:00
gdkdevice-wintab.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevicemanager-win32.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdevicemanager-win32.h win32: Use event constructors 2020-02-21 00:47:52 -05:00
gdkdisplay-win32.c gdk: Remove gdk_text_property_to_utf8_list_for_display() 2020-02-23 01:59:26 +01:00
gdkdisplay-win32.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkdisplaymanager-win32.c Remove unused functions in W32 backend 2018-06-10 21:21:09 +00:00
gdkdrag-win32.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdrop-win32.c gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkevents-win32.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkglcontext-win32.c win32: Build fixes 2019-05-28 20:25:15 +00:00
gdkglcontext-win32.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkglobals-win32.c GDK W32: Test for IME correctly 2019-03-22 16:58:59 +00:00
gdkhdataoutputstream-win32.c Use Unicode apostrophes in new strings 2018-09-20 19:01:14 +02:00
gdkhdataoutputstream-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkkeys-win32.c keymap: Cache key info 2020-04-30 13:05:52 -04:00
gdkmain-win32.c Rename "iconify" to "minimize" 2019-11-16 20:07:37 +00:00
gdkmonitor-win32.c win32: Remove outdated workaround 2019-05-21 07:33:57 +02:00
gdkmonitor-win32.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-win32.h Add a missing extern, to fix building with -fno-common 2020-04-05 00:43:16 +03:00
gdkproperty-win32.c gdk: Remove gdk_text_property_to_utf8_list_for_display() 2020-02-23 01:59:26 +01:00
gdkscreen-win32.c Remove unused variables (mostly in W32 code) 2018-06-10 21:21:01 +00:00
gdksurface-win32.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdksurface-win32.h Remove GdkGeometry from public API 2020-04-19 10:42:10 -04:00
gdkvulkancontext-win32.c gdkvulkancontext-win32.c: Suppress layered Windows on Vulkan 2019-11-26 17:00:11 +08:00
gdkvulkancontext-win32.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkwin32cursor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32display.h Remove primary monitor api 2020-01-30 21:33:37 +01:00
gdkwin32displaymanager.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32dnd-private.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32glcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32id.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32keys.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkwin32langnotification.c GDK W32: Test for IME correctly 2019-03-22 16:58:59 +00:00
gdkwin32langnotification.h GDK W32: Test for IME correctly 2019-03-22 16:58:59 +00:00
gdkwin32misc.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32monitor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32screen.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32surface.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
libwntab32x.la
meson.build Use a single compilation symbol 2019-11-27 13:33:43 +00:00
pktdef.h
wintab.h
xcursors.h