Commit Graph

88 Commits (4beaf88a352e94cc95b41d08933c3c4f652c5192)

Author SHA1 Message Date
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 0f840b9bb7 raw-encoding: Fix vec_reserve for destination buffer 2019-09-21 13:33:37 +00:00
Andri Yngvason 4c36a88cfd Fix y-inversion in damage tracking and raw encoding 2019-09-19 19:21:52 +00:00
Andri Yngvason 40f16fe63b Add raw encoding
It's useful for debugging
2019-09-19 18:14:26 +00:00
Andri Yngvason 7b57449e19 damage: Support y-inversion 2019-09-19 17:02:21 +00:00
Andri Yngvason 083eaaf20a Make sure that the client object outlives the encoding worker task 2019-09-18 22:16:40 +00:00
Andri Yngvason 8973ce5637 Return error from update when there are no pending clients 2019-09-18 21:21:37 +00:00
Andri Yngvason 7d4af0e741 Encode on worker threads 2019-09-15 21:53:10 +00:00
Andri Yngvason 70b2448c6e Create utility function for checking buffer damage 2019-09-15 21:53:10 +00:00
Andri Yngvason 024283996e Fix a whoops from last commit 2019-09-14 17:47:30 +00:00
Andri Yngvason b0fb22bdd6 Rename inc -> include for sake of convention 2019-09-14 16:07:34 +00:00
Andri Yngvason 578ee75235 zrle: Extract pixel conversion function into own file 2019-09-14 16:01:00 +00:00
Andri Yngvason b05791db4a zrle: Define tile side length in a macro 2019-09-14 16:01:00 +00:00
Andri Yngvason 3ce98968bb Add macros for compatibility with older libdrm 2019-09-10 18:17:45 +00:00
Andri Yngvason 1d5117554f examples: png-server: Remove y-inversion 2019-09-08 23:29:01 +00:00
Andri Yngvason f3def21c96 Fix y-inversion 2019-09-08 23:24:01 +00:00
Andri Yngvason 55051310d6 Guard against unsupported pixel formats 2019-09-08 16:48:05 +00:00
Andri Yngvason ac2adbb721 Fix check for closing clients in fb update 2019-09-08 16:46:13 +00:00
Andri Yngvason 73987c2f17 Add modifier to do y-inversion during encoding 2019-09-08 15:19:56 +00:00
Andri Yngvason 2e359e734d zrle: Fix endianness 2019-09-08 14:41:22 +00:00
Andri Yngvason 66498bccf8 pngfb: Use correct fourcc format 2019-09-08 14:40:14 +00:00
Andri Yngvason 5c1b665737 README: Fix headers for dependency sections 2019-09-07 19:21:51 +00:00
Andri Yngvason 4a3c030697 README: Tell people that the interface isn't stable yet 2019-09-07 19:20:16 +00:00
Andri Yngvason 8026f11b80 README: Document dependencies 2019-09-07 19:18:57 +00:00
Andri Yngvason 18195723d2 README: Add missing build variable 2019-09-07 19:11:08 +00:00
Andri Yngvason 4b0cb37ba9 Add a README 2019-09-07 19:08:21 +00:00
Andri Yngvason 1a450a8e30 Explain what pngfb.c does 2019-09-07 18:44:48 +00:00
Andri Yngvason f9680148f1 Remove unused code 2019-09-07 18:42:55 +00:00
Andri Yngvason b4b1f7e7c7 bench: zrle: Use memcpy as a baseline 2019-09-07 18:38:32 +00:00
Andri Yngvason 3f0e0b8867 Allow over-riding of strip exec 2019-09-07 17:31:20 +00:00
Andri Yngvason d7eedd0c01 Use target specific pkg-config wrapper if available 2019-09-07 17:30:21 +00:00
Andri Yngvason de3a86e343 Create and install pkg-config file 2019-09-07 17:25:27 +00:00
Andri Yngvason 5aea8a61ed Makefile: Add install target 2019-09-07 17:10:37 +00:00
Andri Yngvason 6046949726 Add license and copyright notices 2019-09-07 16:51:07 +00:00
Andri Yngvason 46b240bf21 Build zrle benchmark and run it 2019-09-07 16:40:14 +00:00
Andri Yngvason 761be10c2b Add a file to show origin of test images 2019-09-07 16:21:10 +00:00
Andri Yngvason 03a13da08b Makefile: Examples depend on the DSO 2019-09-07 16:01:43 +00:00
Andri Yngvason 378809bad2 Build examples 2019-09-07 15:59:48 +00:00
Andri Yngvason 8374267955 Makefile: Move re-usable code into common.mk 2019-09-07 15:12:24 +00:00
Andri Yngvason 224d1f3804 Makefile: Set some target specific optimisations 2019-09-07 14:18:34 +00:00
Andri Yngvason 43f2205faf Clean up Makefile 2019-09-07 13:54:56 +00:00
Andri Yngvason b6f29b036c Allocate framebuffer per client 2019-09-06 20:33:55 +00:00
Andri Yngvason 18062f08d2 Don't send anything to clients that don't have active requests 2019-09-06 20:17:03 +00:00
Andri Yngvason b10c6c2a5a Implement closing of other clients 2019-09-06 20:07:09 +00:00
Andri Yngvason 6660df4d8d Free encoded frames after sending them 2019-09-06 19:26:30 +00:00
Andri Yngvason 85c6ce0729 Fix compiler warning 2019-09-06 18:50:43 +00:00
Andri Yngvason 139797d44f rfb-proto: Remove unused code 2019-09-06 18:46:34 +00:00
Andri Yngvason fb335247aa zrle: Fix run-length encoding with palette 2019-09-05 23:36:07 +00:00
Andri Yngvason 3e374c97f0 zrle: Copy each tile region to a contiguous buffer before operating on it 2019-09-05 22:53:23 +00:00