Philipp Zabel
f04284351e
Indent wrapped argument lists with two tabs (function definitions)
...
Do not align wrapped function argument lists with the opening
parenthesis. Indent them with two tabs.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
2023-10-06 20:41:30 +00:00
Philipp Zabel
6f1c12f376
examples: draw: Demonstrate desktop resizing
...
Let whiteboard size follow client window size for clients that support
the ExtendedDesktopSize pseudo-encoding.
2023-02-25 11:03:44 +00:00
Andri Yngvason
f00570146b
examples: draw: Fix cursor setter argument order
...
Reported-by: Ronny Nilsson
2022-08-20 11:35:03 +00:00
Andri Yngvason
aca09358ea
Add back damage argument to nvnc_set_cursor
...
It's better to keep feeding buffers to keep buffers in rotation for damage
tracking purposes.
2022-02-21 21:43:41 +00:00
Andri Yngvason
1553c88f5e
Add width and height arguments to nvnc_set_cursor
2022-02-19 23:06:15 +00:00
Andri Yngvason
adce5170ee
examples: draw: Handle different endianness for cursor colour
2022-02-12 13:28:15 +00:00
Andri Yngvason
c0d1455686
examples: draw: Add a client-side cursor
2022-02-06 16:33:46 +00:00
Andri Yngvason
02559a7f7e
Re-sample transformed framebuffers
2021-09-19 20:12:30 +00:00
Andri Yngvason
c7dd062498
Add a stride parameter to nvnc_fb
2021-09-05 00:46:24 +00:00
Andri Yngvason
965dbd6eca
examples: draw: Use new buffer submission API
2021-09-04 21:21:23 +00:00
Andri Yngvason
6ad4aba374
examples: Make all functions static
...
This fixes compiler warnings
2020-07-26 13:52:00 +00:00
Andri Yngvason
52e30e795b
Align with neatvnc API changes
2020-07-06 16:43:15 +00:00
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