]> source.dussan.org Git - tigervnc.git/commit
Use XShmGetImage for large reads
authorPeter Åstrand (astrand) <astrand@cendio.se>
Mon, 15 Jan 2018 14:17:39 +0000 (15:17 +0100)
committerPeter Åstrand (astrand) <astrand@cendio.se>
Mon, 15 Jan 2018 14:17:39 +0000 (15:17 +0100)
commit46fab93cbdc6f114f63279f0268ea3be94cd2922
treec06eb16fabde422a293873c64b3c3995c4df3d4c
parent5f4972547d43f271e03d6113aae57d1654c683e2
Use XShmGetImage for large reads

XShmGetImage is much faster. On my machine, this reduces the CPU usage
of a fullscreen Youtube video playback from 40% to 25%.
unix/x0vncserver/Image.cxx