Andri Yngvason
6becbacbe5
Align with NeatVNC interface changes
2020-04-12 21:46:48 +00:00
Andri Yngvason
1fc664a014
Remove call to nvnc_set_dimensions()
2020-04-12 16:14:18 +00:00
Andri Yngvason
58a181ccbc
Redesign update/rendering loop
...
Every change to the framebuffer is now copied into a single buffer
inside a single callback. This simplifies things a lot, and might even
perform better.
2020-04-07 23:37:31 +00:00
Andri Yngvason
be401b5e4a
Report error when binding to address fails
...
This fixes #21
2020-04-04 22:38:23 +00:00
Andri Yngvason
6e521a07a0
Merge frames rather than dropping them when encoder is too slow
2020-04-04 21:03:49 +00:00
Andri Yngvason
238c196e6b
Capture a new frame immediately when a client requests a whole frame
2020-04-04 15:01:38 +00:00
Andri Yngvason
ee4917f200
Make sure that frames being written to are not in use by the encoder
2020-04-04 13:14:07 +00:00
Andri Yngvason
e85f219aff
Make sure damage buffer is properly aligned
2020-03-29 13:09:28 +00:00
Andri Yngvason
b14a0b854b
Rotate NeatVNC framebuffers rather than allocating new ones
2020-03-28 19:23:03 +00:00
Andri Yngvason
2bb17c8215
Blit the whole frame when a new client connects
2020-03-28 15:20:59 +00:00
Andri Yngvason
e7586e8753
Only copy the damaged region from GPU
2020-03-28 15:05:04 +00:00
Andri Yngvason
b6ca7aff8c
Join process_frame() and update_vnc()
2020-03-28 14:09:29 +00:00
Andri Yngvason
bfbc81bf04
Use GPU damage checker
2020-03-28 13:07:33 +00:00
Andri Yngvason
7f5431d922
Move rendering calls into frame-capture
2020-03-28 11:44:40 +00:00
Andri Yngvason
ae90348ece
renderer: Save previous rendered frame rather than previous imported frame
...
We can't keep dmabufs very long.
2020-03-26 21:43:35 +00:00
Andri Yngvason
49c584f80d
renderer: Move shader setup into render()
2020-03-24 22:57:02 +00:00
Andri Yngvason
4da96d0dc1
renderer: Split buffer import and rendering
2020-03-24 22:48:13 +00:00
Andri Yngvason
a12ce12ba6
Exit when compositor goes away
2020-03-22 20:29:13 +00:00
Andri Yngvason
26cef852b6
Replace libuv with aml
2020-03-21 16:46:10 +00:00
Andri Yngvason
7ea17d04aa
Apply output transformation to pointer coordinates
2020-03-07 14:19:02 +00:00
Andri Yngvason
e8279e57f5
Apply output transform to damage hint coordinates
2020-03-07 14:15:09 +00:00
Andri Yngvason
c32993d87d
Use transformed geometry for frame buffers
2020-03-05 22:05:14 +00:00
Andri Yngvason
9642e086d8
render: Set glViewport based on output transform
2020-03-05 22:05:14 +00:00
Andri Yngvason
a3d4189a0b
render: Add output transforms
2020-03-05 22:05:14 +00:00
Andri Yngvason
10e5c08752
Map input to the selected output
2020-02-21 23:28:33 +00:00
Andri Yngvason
4d6f477d71
Merge pull request #14 from danshick/cursor_overlay_flag
...
Added cli flag to change overlay_cursor option, defaulting to false
2020-02-11 23:49:35 +01:00
Dan Shick
e53b4dfc9d
Add option to enable cursor overlay rendering
2020-02-11 17:45:01 -05:00
Andri Yngvason
e5512114f8
render: Only compile the shader that is being used
2020-02-11 21:55:05 +00:00
Andri Yngvason
cbbd97018d
Don't fail when config doesn't exist
2020-01-29 19:45:04 +00:00
Andri Yngvason
8491d6c73c
Enable VeNCrypt auth & encryption
2020-01-25 18:10:59 +00:00
Andri Yngvason
a1ee09386a
pointer: Add output position to absolute coordinates
...
This fixes mouse issues when there are multiple outputs
2020-01-24 21:14:29 +00:00
Andri Yngvason
7eaece7c0a
Restructure input initialisation
2020-01-24 20:56:47 +00:00
Andri Yngvason
b0077c93fe
Use output name for output selection
2020-01-24 20:19:57 +00:00
Andri Yngvason
df936b9dac
Add xdg_output_v1 for more output info
2020-01-24 20:08:57 +00:00
Andri Yngvason
0572693f21
Exit when the compositor goes away
2020-01-21 19:16:36 +00:00
Andri Yngvason
20cd7725f6
Load a config file
2020-01-18 18:14:17 +00:00
Andri Yngvason
b744e2410e
Handle more pixel formats
2020-01-14 21:44:07 +00:00
Andri Yngvason
017edc6ae1
Handle seat removal
2020-01-14 19:18:33 +00:00
Andri Yngvason
0cc1a70ba7
main: remove duplicate function
2020-01-14 19:11:01 +00:00
Andri Yngvason
c5fee473d6
Fix segfault on exit when dmabuf capturing is selected
2020-01-04 13:48:09 +00:00
Andri Yngvason
a6f979e93a
Add seat selection
2019-12-31 14:01:22 +00:00
Andri Yngvason
452ba2c4fb
Listen to connections from localhost only, by default
2019-12-31 10:33:40 +00:00
Drew DeVault
38c872b2ba
Fix output selection
2019-12-30 16:13:44 -05:00
Andri Yngvason
2b00400b8a
Add option to select keyboard layout
2019-12-30 10:15:12 +00:00
Andri Yngvason
09772ddf5b
Clean up some resources
2019-12-27 14:41:54 +00:00
Andri Yngvason
9adac0e683
Don't call uv_close() on unknown handles
2019-12-27 13:53:36 +00:00
Andri Yngvason
b2bbc9ac0b
Implement keyboard backend
2019-12-25 11:05:05 +00:00
Andri Yngvason
7c1722445d
Make screencopy the default capturing backend
2019-12-23 12:50:36 +00:00
Andri Yngvason
82bdbb82c0
Add virtual pointer backend
2019-12-22 21:42:10 +00:00
Andri Yngvason
529483a459
Remove unused code
2019-10-22 19:24:09 +00:00