]> source.dussan.org Git - tigervnc.git/commit
Filter out alpha channel for normal draw() operation 449/head
authorPierre Ossman <ossman@cendio.se>
Fri, 28 Apr 2017 09:40:02 +0000 (11:40 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 28 Apr 2017 10:29:37 +0000 (12:29 +0200)
commita88991bdc8154bda8a805755dd82cb71c93b35df
treef5880c7bb325830e6c9e0af288620aface0f232e
parent1669a2d5a15aa39313cb74eff4f62dfe14d136cd
Filter out alpha channel for normal draw() operation

macOS actually uses the alpha channel on windows, so we can get visual
artifacts if we feed it bogus alpha data. This filtering unfortunately
causes some CPU usage, but it's necessary until we can make sure the
framebuffer always contains proper 0xff for alpha.
vncviewer/Surface_OSX.cxx