]> source.dussan.org Git - tigervnc.git/commit
Render on a temporary surface when needed
authorPierre Ossman <ossman@cendio.se>
Mon, 2 Jan 2017 18:49:52 +0000 (19:49 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 10 Feb 2017 16:05:20 +0000 (17:05 +0100)
commit3d74d88806d09f3a899be5d8f1df8ec20ed9a14d
treea2a86607aa8dda47559c5be82fadad9247844193
parent403ac27d2377df4fed8bf5039125f6d89aaa6955
Render on a temporary surface when needed

Some platforms draw directly to the screen, which means that updates
will flicker if we draw multiple layers. Prevent this by first
composing the update on a hidden surface.
tests/fbperf.cxx
vncviewer/DesktopWindow.cxx
vncviewer/DesktopWindow.h
vncviewer/Surface.h
vncviewer/Surface_OSX.cxx
vncviewer/Surface_Win32.cxx
vncviewer/Surface_X11.cxx
vncviewer/Viewport.cxx
vncviewer/Viewport.h