Commit Graph

154 Commits (bfbc81bf04c89caee785f3988b39c24d8671d1bf)

Author SHA1 Message Date
Andri Yngvason e82e3a92b5 screencopy: Add rate limiting
The smoothing filter allows for short bursts of higher frame rate in
order to reduce latency.
2019-12-29 11:47:33 +00:00
Andri Yngvason c794ca3822 smooth: Use integers rather than floats to store tme 2019-12-29 10:36:08 +00:00
Andri Yngvason baad0ecd68 Extract time functions into own module 2019-12-29 10:06:25 +00:00
Andri Yngvason 61657c97ba Add an exponential smoothing filter 2019-12-29 10:02:31 +00:00
Andri Yngvason cbfa0416b4 dmabuf: Close file descriptors after using them 2019-12-27 16:31:47 +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 5c7f941481 keyboard: Add some acknowledgements 2019-12-25 11:45:07 +00:00
Andri Yngvason 6ef8809b3b Add a README 2019-12-25 11:25:09 +00:00
Andri Yngvason b2bbc9ac0b Implement keyboard backend 2019-12-25 11:05:05 +00:00
Andri Yngvason 89fe244966 protocols: Add virtual-keyboard 2019-12-24 15:54:19 +00:00
Andri Yngvason 7c1722445d Make screencopy the default capturing backend 2019-12-23 12:50:36 +00:00
Andri Yngvason a9044f9c20 .gitignore: Add .ycm_extra_conf.py 2019-12-22 21:46:16 +00:00
Andri Yngvason 82bdbb82c0 Add virtual pointer backend 2019-12-22 21:42:10 +00:00
Andri Yngvason 98829dba04 protocols: Add wlr-virtual-pointer 2019-12-22 11:05:07 +00:00
Andri Yngvason 44366756d1 protocols: Upgrade screencopy 2019-10-22 19:28:04 +00:00
Andri Yngvason 529483a459 Remove unused code 2019-10-22 19:24:09 +00:00
Andri Yngvason 25187cbfb2 Add option for output selection 2019-10-13 12:58:56 +00:00
Andri Yngvason ba3dc617f4 output: Add missing copyright statement 2019-10-13 12:48:12 +00:00
Andri Yngvason 59fa4cfeaa Move output handling into its own source file 2019-10-13 12:47:02 +00:00
Andri Yngvason b19a8e10f2 Upgrade .gitignore 2019-10-12 15:26:34 +00:00
Andri Yngvason 03c62d6ef5 Remove makefiles 2019-10-12 15:25:35 +00:00
Andri Yngvason f0bca570b2 Add meson.build 2019-10-12 15:24:57 +00:00
Andri Yngvason 9cd6811efa Add option parsing and the ability to select a frame capturing backend 2019-10-12 12:17:22 +00:00
Andri Yngvason b07de643ab render: Try to do proper cleanup on egl 2019-10-11 22:18:56 +00:00
Andri Yngvason 7d3d2d2789 frame-capture: Add license clause 2019-10-10 22:57:53 +00:00
Andri Yngvason cc1f470c6e Integrate dmabuf capturing into frame-capture 2019-10-10 22:51:44 +00:00
Andri Yngvason ffda3c164c Create frame-capture backend framework 2019-10-10 22:32:54 +00:00
Andri Yngvason e037e74756 Implement screencopy damage 2019-10-10 21:40:22 +00:00
Andri Yngvason ddaea0ceab Add some code for rendering screencopy frames 2019-10-10 21:28:07 +00:00
Andri Yngvason 1132dd6a3c render: Add a function to render plain framebuffer 2019-10-09 22:37:46 +00:00
Andri Yngvason 8cc00dd5eb render: rename shader_program -> dmabuf_shader_program 2019-10-09 22:00:01 +00:00
Andri Yngvason 36e7bde860 screencopy: Remember to request frame copy 2019-10-09 21:59:13 +00:00
Andri Yngvason 10367226f8 Fix indentation 2019-10-09 20:54:27 +00:00
Andri Yngvason af1307b420 render: Use compatible pbuffer
Otherwise glReadPixels() will be bonkers.
2019-10-09 20:53:11 +00:00
Andri Yngvason 640b12184d Align dmabuf backend with screencopy backend 2019-10-09 19:12:16 +00:00
Andri Yngvason a7b4859611 Working on screencopy backend for comparison width export-dmabuf 2019-10-08 22:16:26 +00:00
Andri Yngvason a52e1040a0 Add license and copyright notice 2019-10-08 18:41:23 +00:00
Andri Yngvason bab67f1610 Fix build 2019-10-08 18:36:59 +00:00
Andri Yngvason c02a6512ea Add damage checking 2019-10-07 23:44:55 +00:00
Andri Yngvason 3ba5884954 Feed captured frames to nvnc 2019-10-07 23:07:12 +00:00
Andri Yngvason 119ee0efef WiP: Implement frame capturing 2019-10-06 22:50:11 +00:00
Andri Yngvason eaae3ba2db Add more initialisation code 2019-10-06 22:12:29 +00:00
Andri Yngvason 33772e0b94 render: Fixup 2019-10-06 20:54:59 +00:00
Andri Yngvason 2d953c5053 Working on the main program 2019-10-06 18:51:39 +00:00
Andri Yngvason a52ff52fcf render: Move logging and struct to headers 2019-10-06 18:50:47 +00:00
Andri Yngvason f4e9169b66 Add strlcpy 2019-10-06 18:49:57 +00:00
Andri Yngvason 89dbbc5fc9 render: Add header 2019-10-06 17:14:53 +00:00
Andri Yngvason 232b945ad0 Wrap interface for wl-export-dmabuf 2019-10-06 17:12:03 +00:00
Andri Yngvason e156e69112 Add protocol build 2019-10-06 15:44:58 +00:00