Commit Graph

22 Commits (f3e09fd6229355db504b55007be85394ef0ad2a0)

Author SHA1 Message Date
Andri Yngvason f3e09fd622 Prepare API for multi-display support
These changes are made now to make it possible to add multi-display
support in the future while keeping the public interface stable.
2020-04-12 18:16:19 +00:00
Andri Yngvason 737dd311a0 Remove nvnc_set_dimensions()
This information is now figured out based on the nvnc_fb passed into
nvnc_set_buffer()
2020-04-12 16:08:33 +00:00
Andri Yngvason ee2adedfd1 examples: draw: Draw a larget dot 2020-04-08 22:58:14 +00:00
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 d2dc5ff91c Remove makefiles in favour of meson
I'd rather maintain a single set of build scripts
2020-02-09 11:53:47 +00:00
Andri Yngvason 3ecede86c3 Build examples using meson 2020-02-09 11:41:43 +00:00
Stefan Agner 965db59ecf use installed header file
Treat neatvnc as a proper library when using examples.
2020-01-26 23:24:09 +01: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 b0fb22bdd6 Rename inc -> include for sake of convention 2019-09-14 16:07:34 +00:00
Andri Yngvason 1d5117554f examples: png-server: Remove y-inversion 2019-09-08 23:29:01 +00:00
Andri Yngvason 73987c2f17 Add modifier to do y-inversion during encoding 2019-09-08 15:19:56 +00:00
Andri Yngvason 6046949726 Add license and copyright notices 2019-09-07 16:51:07 +00:00
Andri Yngvason 378809bad2 Build examples 2019-09-07 15:59:48 +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
Andri Yngvason d222caffc2 Add example that draws a png 2019-08-29 22:07:04 +00:00