summaryrefslogtreecommitdiffstats
path: root/common/rfb/PixelBuffer.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-01-30 16:59:14 +0100
committerPierre Ossman <ossman@cendio.se>2014-07-07 14:50:29 +0200
commit5c1a1536db0bd3f59e8c9ed0fd8a0a0fb8108ef2 (patch)
treecc8aa2c9e63a39bd6bde16b550321b747a7d1d8d /common/rfb/PixelBuffer.h
parent1b350ed9127e43863157a7a4453405fdf0cbb617 (diff)
downloadtigervnc-5c1a1536db0bd3f59e8c9ed0fd8a0a0fb8108ef2.tar.gz
tigervnc-5c1a1536db0bd3f59e8c9ed0fd8a0a0fb8108ef2.zip
We don't need a fillRect() that is this optimised
Keep things simple instead and allows us to remove the extra setPF() methods.
Diffstat (limited to 'common/rfb/PixelBuffer.h')
-rw-r--r--common/rfb/PixelBuffer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/rfb/PixelBuffer.h b/common/rfb/PixelBuffer.h
index ad30cf22..bff28021 100644
--- a/common/rfb/PixelBuffer.h
+++ b/common/rfb/PixelBuffer.h
@@ -83,8 +83,6 @@ namespace rfb {
virtual void grabRegion(const Region& region) {}
protected:
- // Only for subclasses that support changing parameters
- void setPF(const PixelFormat &pf) { format = pf; }
PixelBuffer();
PixelFormat format;
int width_, height_;
@@ -136,9 +134,7 @@ namespace rfb {
rdr::U8* data;
protected:
- void setPF(const PixelFormat &pf);
FullFramePixelBuffer();
- void (*fillRectFn)(rdr::U8 *, int, const Rect&, Pixel);
};
// -=- Managed pixel buffer class