Commit Graph

299 Commits (fd23cb8c2fae1b2b162e288df5a562a13dd8203b)

Author SHA1 Message Date
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
Andri Yngvason 80e1093e71 zrle: Implement Palette RLE 2019-09-01 23:27:56 +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 46dc074370 Fix encoding with offset 2019-09-01 13:01:02 +00:00
Andri Yngvason 20139f617d Add callbacks for new clients and when clients go away 2019-08-31 23:30:08 +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 efafe882f8 bench: zrle: Measure CPU time 2019-08-31 16:11:33 +00:00
Andri Yngvason f7ed6b6fce Use miniz instead of zlib 2019-08-31 15:50:23 +00:00
Andri Yngvason 12849af748 Add miniz zlib library 2019-08-31 15:27:53 +00:00
Andri Yngvason 8cb192c0ad Remove some printouts 2019-08-29 22:08:30 +00:00
Andri Yngvason d222caffc2 Add example that draws a png 2019-08-29 22:07:04 +00:00
Andri Yngvason fd6f47c93c Clean some things up and add more interface functions 2019-08-29 21:47:02 +00:00
Andri Yngvason 6d195dd484 Only linear framebuffers supported as is 2019-08-29 14:02:29 +00:00
Andri Yngvason 33324c9373 Create an interface 2019-08-28 22:46:47 +00:00
Andri Yngvason f31b5a6915 Add benchmark for zrle 2019-08-27 22:29:46 +00:00
Andri Yngvason 712215cc73 Add test images 2019-08-27 22:01:06 +00:00
Andri Yngvason b8e90d3665 zrle: Encode into vector 2019-08-27 21:49:28 +00:00
Andri Yngvason b3b9339adb .gitignore: Add vgcore.* 2019-08-27 21:04:53 +00:00
Andri Yngvason 1fc4d436a9 zrle: Extract deflate to function 2019-08-27 21:04:20 +00:00
Andri Yngvason 09d64dfbe6 zrle: Use vec for tile buffer 2019-08-27 20:28:12 +00:00
Andri Yngvason 9787cf5772 Add a .gitignore 2019-08-27 19:59:15 +00:00
Andri Yngvason 46addff198 Add Makefile 2019-08-27 19:57:52 +00:00
Andri Yngvason 980c437f3c Set up a directory structure 2019-08-27 19:42:52 +00:00
Andri Yngvason e294685304 ZRLE sort of works now 2019-08-27 18:17:33 +00:00
Andri Yngvason 6091721a9a zrle: Fixup 2019-08-25 19:29:35 +00:00
Andri Yngvason 09dfb874b1 Try serving a png 2019-08-25 19:10:35 +00:00
Andri Yngvason 24f0c4a0d4 zrle: Use pixman to tell which regions need to be updated 2019-08-25 17:37:09 +00:00
Andri Yngvason e9f94e36a8 Just saving this somewhere 2019-08-25 17:36:25 +00:00
Andri Yngvason 95a1eaff26 Do more zrle work 2019-08-25 16:40:59 +00:00
Andri Yngvason 474eb37599 more zrle work 2019-08-17 20:49:11 +00:00
Andri Yngvason 5b20757ccf Create unit test for zrle 2019-08-17 17:12:17 +00:00
Andri Yngvason e469183cb2 Create a pixel format converter for cpixel 2019-08-17 14:54:39 +00:00
Andri Yngvason 16dad1e912 Add stuff 2019-08-15 19:34:15 +00:00
Andri Yngvason 472c96669c Add the rfb rfc 2019-08-13 21:42:12 +00:00
Andri Yngvason 11f44c7223 Add even more events 2019-08-12 23:39:37 +00:00
Andri Yngvason e42b8ffa92 Implement some more 2019-08-12 23:33:06 +00:00
Andri Yngvason 0b0baae302 Fix some issues 2019-08-12 22:11:41 +00:00
Andri Yngvason ab9c7456e7 Working on a VNC server 2019-08-12 20:49:23 +00:00