Commit Graph

8 Commits

Author SHA1 Message Date
Eric Daniels
fa95e47bad Support RGB24 and RGB16 in x11capture_linux (#308) 2021-03-03 23:17:49 +09:00
Eric Daniels
33b6412c26 Fix 32-bit usage of x11capture_linux 2021-03-01 11:59:19 +09:00
Lukas Herman
5d5001d0b4 Bring back x11 adapter for Linux build only
Original x11 adapter uses ~40% less CPU usage than kbinani/screenshot.
Ideally, we should migrate 100% to kbinani/screenshot. But, the CPU
usage difference is substantial. In the future, we should look deeper
into kbinani/screenshot and try to improve it.
2020-11-23 20:36:17 -05:00
Lukas Herman
282d0a4fb4 Migrate to kbinani/screenshot for screen adapter
https://github.com/kbinani/screenshot is a library to capture desktop
screen. It is cgo free for Windows, Linux, FreeBSD, OpenBSD, NetBSD, and
Solaris.
2020-11-21 13:40:35 -08:00
Atsushi Watanabe
a97be1b1c6 driver/screen: support X11 16 bit color frame buffer 2020-03-30 19:15:59 -04:00
Atsushi Watanabe
a2d6c6bb58 Optimize x11 screen capture buffer handling 2020-02-17 14:55:49 +09:00
Atsushi Watanabe
bc3882644e Fix color conversions
- Fix R-B byte order in screen capture
- Set image metadata everytime in screen capture
- Fix pixel format conversion from I444
- Fix ToI420 output slice length
2020-02-15 09:52:25 -08:00
Atsushi Watanabe
9d598e21cb Add screen capture device for Linux 2020-02-14 12:22:03 -08:00