Andri Yngvason
77b866096d
Redesign framebuffer update loop
...
Rendering may now only happen inside the rendering callback. The user is
also allowed to change out the entire buffer in the callback.
The callback is triggered by nvnc_damage_region(), nvnc_damage_whole()
and/or framebuffer update requests.
This fixes #26
2020-04-07 23:35:57 +00:00
Andri Yngvason
be085c9a79
examples: Add signal handler and clean up resources
2020-03-21 16:59:10 +00:00
Andri Yngvason
76e721c4cd
Replace libuv with aml
2020-03-21 16:59:10 +00:00
Andri Yngvason
80b1f3cb4c
Re-format using clang-format
2019-10-20 22:13:51 +00:00
Andri Yngvason
4beaf88a35
Turn around frame update model
...
Keeping a framebuffer for clients to request from seems to be a better fit for
the VNC standard.
2019-10-07 20:29:12 +00:00
Andri Yngvason
3196a7a46b
Make nvnc_fb opaque
2019-10-07 17:39:54 +00:00
Andri Yngvason
7d4af0e741
Encode on worker threads
2019-09-15 21:53:10 +00:00
Andri Yngvason
6046949726
Add license and copyright notices
2019-09-07 16:51:07 +00:00
Andri Yngvason
ff67e2fed3
zrle: Keep the stream alive per connection
...
Otherwise the client doesn't want to play with the server.
2019-09-01 19:55:11 +00:00
Andri Yngvason
ed5dadd203
Use client specific pointers in callbacks
2019-08-31 23:16:55 +00:00
Andri Yngvason
0a1d47f5f9
Add a simple drawing example
2019-08-31 20:45:29 +00:00