]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
Add depth info to the surfaces.
[apitrace] / gui / apisurface.h
index bdf21a38a040d2255f0dc3282a99aa0ebfddd12a..9c7115ec2b4696844157be6ec757585758d82013 100644 (file)
@@ -16,6 +16,9 @@ public:
     int numChannels() const;
     void setNumChannels(int numChannels);
 
+    int depth() const;
+    void setDepth(int depth);
+
     void contentsFromBase64(const QByteArray &base64);
 
     QImage image() const;
@@ -26,6 +29,7 @@ private:
     int m_numChannels;
     QImage m_image;
     QImage m_thumb;
+    int m_depth;
 };