qemu/include/ui
Gerd Hoffmann 7a1b46e095 input: avoid malloc for mouse events
There is no reason to allocate mouse events using malloc, we can
allcoate them from stack instead, save a few cpu cycles and make the
code more readable with c99 initializers.

Suggested-by: FelixYao <felix.yzg@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20181210140808.26794-1-kraxel@redhat.com
2019-01-11 11:57:17 +01:00
..
console.h ui/console: Remove qemu_create_display_surface_guestmem() 2019-01-10 08:55:17 +01:00
egl-context.h opengl: add egl-context.[ch] helpers 2015-10-08 10:34:53 +02:00
egl-helpers.h Add gles support to egl-helpers, wire up in egl-headless and gtk. 2018-06-26 13:48:49 +02:00
gtk.h ui: remove support for GTK2 in favour of GTK3 2018-10-12 15:22:18 +02:00
input.h input: avoid malloc for mouse events 2019-01-11 11:57:17 +01:00
pixel_ops.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
qemu-pixman.h ui/pixman: add qemu_drm_format_to_pixman() 2018-03-13 11:17:28 -06:00
qemu-spice.h configure: bump spice-server required version to 0.12.5 2019-01-10 08:55:13 +01:00
sdl2.h sdl: Move DisplayOptions global to sdl2_console 2018-04-27 09:51:40 +02:00
shader.h opengl: add flipping vertex shader 2017-10-17 10:25:42 +02:00
spice-display.h spice: add cursor_dmabuf support 2018-03-12 09:01:56 +01:00