commit | 41deb88359d96b782f8da7126c8060bd285686e6 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Thu Sep 25 09:58:55 2014 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Thu Sep 25 15:03:39 2014 +0200 |
tree | fada4afdb8e1bbcb0f303068f15bb90f5913f006 | |
parent | a4148f867fac7c70fc7d2a02cb0f9b20ce5d9394 [diff] [blame] |
Add pixel conversion correctness test
diff --git a/common/rfb/PixelFormat.h b/common/rfb/PixelFormat.h index 8dfa5f1..8d67f8a 100644 --- a/common/rfb/PixelFormat.h +++ b/common/rfb/PixelFormat.h
@@ -141,6 +141,12 @@ class Init; friend class Init; static Init _init; + + /* Only for testing this class */ + friend void makePixel(const rfb::PixelFormat &, rdr::U8 *); + friend bool verifyPixel(const rfb::PixelFormat &, + const rfb::PixelFormat &, + const rdr::U8 *); }; }