summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-02-19 15:48:17 +0100
committerPierre Ossman <ossman@cendio.se>2017-02-22 16:58:10 +0100
commit6a1a0d0c578e39338e757edf59cf8806a9d86b0f (patch)
treea82ede30f7e9d1f36b3169acb6a7a6a4f936ad78 /tests
parente20cf62bbdefd48979603105d60c3a170eb2ece6 (diff)
downloadtigervnc-6a1a0d0c578e39338e757edf59cf8806a9d86b0f.tar.gz
tigervnc-6a1a0d0c578e39338e757edf59cf8806a9d86b0f.zip
Change cursor API to use RGBA data
This will allow us to use better formats that preserve the entire alpha channel.
Diffstat (limited to 'tests')
-rw-r--r--tests/decperf.cxx4
-rw-r--r--tests/encperf.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/decperf.cxx b/tests/decperf.cxx
index 1fd763e5..3b929a4b 100644
--- a/tests/decperf.cxx
+++ b/tests/decperf.cxx
@@ -49,7 +49,7 @@ public:
virtual void setDesktopSize(int w, int h);
virtual void setPixelFormat(const rfb::PixelFormat& pf);
- virtual void setCursor(int, int, const rfb::Point&, void*, void*);
+ virtual void setCursor(int, int, const rfb::Point&, const rdr::U8*);
virtual void framebufferUpdateStart();
virtual void framebufferUpdateEnd();
virtual void setColourMapEntries(int, int, rdr::U16*);
@@ -94,7 +94,7 @@ void CConn::setPixelFormat(const rfb::PixelFormat& pf)
CConnection::setPixelFormat(filePF);
}
-void CConn::setCursor(int, int, const rfb::Point&, void*, void*)
+void CConn::setCursor(int, int, const rfb::Point&, const rdr::U8*)
{
}
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index d58d82ea..7b9ff816 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -90,7 +90,7 @@ public:
unsigned long long& rawEquivalent);
virtual void setDesktopSize(int w, int h);
- virtual void setCursor(int, int, const rfb::Point&, void*, void*);
+ virtual void setCursor(int, int, const rfb::Point&, const rdr::U8*);
virtual void framebufferUpdateStart();
virtual void framebufferUpdateEnd();
virtual void dataRect(const rfb::Rect&, int);
@@ -207,7 +207,7 @@ void CConn::setDesktopSize(int w, int h)
setFramebuffer(pb);
}
-void CConn::setCursor(int, int, const rfb::Point&, void*, void*)
+void CConn::setCursor(int, int, const rfb::Point&, const rdr::U8*)
{
}