]> source.dussan.org Git - tigervnc.git/commit
Filter out alpha channel for normal draw() operation
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:58:57 +0000 (12:58 +0200)
commit27693d06c386e368e263e83b681a5a7b5fec729b
tree583d46fb678aeae7033c01abb5236f6c72d69bdd
parent5da019ad6bc54e10930b846f796851200e662783
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.

(cherry picked from commit a88991bdc8154bda8a805755dd82cb71c93b35df)
vncviewer/Surface_OSX.cxx