]> source.dussan.org Git - tigervnc.git/commit
Add optimised buffer conversion
authorPierre Ossman <ossman@cendio.se>
Thu, 30 Jan 2014 09:47:07 +0000 (10:47 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 9 Jul 2014 12:55:30 +0000 (14:55 +0200)
commitc02c05d403f000d15f736458b8c26ad60b4811f0
tree5716d8ffa9f75209cc1a5051b5d235e0407a5f7b
parent761fe24089bfe95028b0da02a12650351b244165
Add optimised buffer conversion

Handles the common cases when the target or source are in
the preferred 888 format.

If one of the buffers is not 888, then it must also be properly
aligned (which is commonly the case). Performance is now in many
cases on par with PixelTransformer.
common/rfb/PixelFormat.cxx
common/rfb/PixelFormat.h
common/rfb/PixelFormatBPP.cxx [new file with mode: 0644]