qemu-patch-raspberry4/ui
Corentin Chary bd023f953e vnc: threaded VNC server
Implement a threaded VNC server using the producer-consumer model.
The main thread will push encoding jobs (a list a rectangles to update)
in a queue, and the VNC worker thread will consume that queue and send
framebuffer updates to the output buffer.

The threaded VNC server can be enabled with ./configure --enable-vnc-thread.

If you don't want it, just use ./configure --disable-vnc-thread and a syncrhonous
queue of job will be used (which as exactly the same behavior as the old queue).
If you disable the VNC thread, all thread related code will not be built and there will
be no overhead.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-07-26 17:36:14 -05:00
..
cocoa.m ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
curses.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
curses_keys.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
keymaps.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
keymaps.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom_template.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-sasl.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-sasl.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-enc-hextile-template.h vnc: rename vnc-encoding-* vnc-enc-* 2010-07-26 17:36:13 -05:00
vnc-enc-hextile.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-enc-tight.c vnc: fix tight png memory leak 2010-07-26 17:36:14 -05:00
vnc-enc-tight.h vnc: tight add PNG encoding 2010-07-26 17:36:14 -05:00
vnc-enc-zlib.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-jobs-async.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs-sync.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-palette.c vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-palette.h vnc: tight: stop using qdict for palette stuff 2010-07-26 17:36:14 -05:00
vnc-tls.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-tls.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
x_keymap.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
x_keymap.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00