]> source.dussan.org Git - tigervnc.git/commit
Prevent rendering uninitialized Pixmap contents on X11
authorChristian Authmann <8371862+cauthmann@users.noreply.github.com>
Sun, 11 Nov 2018 09:40:48 +0000 (10:40 +0100)
committerChristian Authmann <8371862+cauthmann@users.noreply.github.com>
Sun, 11 Nov 2018 09:40:48 +0000 (10:40 +0100)
commit82b04eb2754c979506724af5d1f9c5994c5e5654
tree849ee1933b22fa5393553d7f7cf4c289b437a442
parentb85febcd752f38cc05233db628795f8fea91795f
Prevent rendering uninitialized Pixmap contents on X11

The Pixmap is filled in as updates from the server arrive. Before the first full update, it would contain undefined contents, which would be rendered onto the ViewPort.
Clearing the Pixmap is only done on startup and when changing the server resolution, so it's not performance critical.
vncviewer/PlatformPixelBuffer.cxx