]> source.dussan.org Git - tigervnc.git/commit
Use templates for optimized code
authorPierre Ossman <ossman@cendio.se>
Sat, 10 Sep 2022 11:48:53 +0000 (13:48 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 1 Feb 2023 20:15:36 +0000 (21:15 +0100)
commitbaca73d03217a1c219d9c4f024ffcd39f85fd322
tree0220df8a75d80575157701be539c48b47ef2fb6a
parentbf0fb9129d397f7bbb27ba784890cd9c2102d839
Use templates for optimized code

Avoid preprocessor magic and instead rely on templating to generate
optimized functions for performance critical code.
31 files changed:
common/rfb/EncodeManager.cxx
common/rfb/EncodeManager.h
common/rfb/EncodeManagerBPP.cxx [deleted file]
common/rfb/HextileDecoder.cxx
common/rfb/HextileDecoder.h
common/rfb/HextileEncoder.cxx
common/rfb/HextileEncoder.h
common/rfb/PixelFormat.cxx
common/rfb/PixelFormat.h
common/rfb/PixelFormatBPP.cxx [deleted file]
common/rfb/RREDecoder.cxx
common/rfb/RREDecoder.h
common/rfb/RREEncoder.cxx
common/rfb/RREEncoder.h
common/rfb/TightDecoder.cxx
common/rfb/TightDecoder.h
common/rfb/TightEncoder.cxx
common/rfb/TightEncoder.h
common/rfb/TightEncoderBPP.cxx [deleted file]
common/rfb/ZRLEDecoder.cxx
common/rfb/ZRLEDecoder.h
common/rfb/ZRLEEncoder.cxx
common/rfb/ZRLEEncoder.h
common/rfb/ZRLEEncoderBPP.cxx [deleted file]
common/rfb/hextileDecode.h [deleted file]
common/rfb/hextileEncode.h [deleted file]
common/rfb/hextileEncodeBetter.h [deleted file]
common/rfb/rreDecode.h [deleted file]
common/rfb/rreEncode.h [deleted file]
common/rfb/tightDecode.h [deleted file]
common/rfb/zrleDecode.h [deleted file]