summaryrefslogtreecommitdiffstats
path: root/src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h')
-rw-r--r--src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h b/src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h
deleted file mode 100644
index 96aeba4..0000000
--- a/src/qt-compositor/hardware_integration/xpixmap_egl/xpixmapbuffer.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef XPIXMAPBUFFER_H
-#define XPIXMAPBUFFER_H
-
-#include "waylandobject.h"
-#include "wayland_wrapper/wlcompositor.h"
-
-#include <QtCore/QSize>
-
-#include <X11/Xlib.h>
-
-class XPixmapBuffer : public Wayland::Object<struct wl_buffer>
-{
-public:
- XPixmapBuffer(Pixmap pixmap, const QSize &size,
- wl_visual *visual, Wayland::Compositor *compositor);
-
- ~XPixmapBuffer();
-
- Pixmap pixmap() const;
-private:
- Pixmap m_pixmap;
-};
-
-void xPixmapBufferDestroy(struct wl_client *client, struct wl_buffer *buffer);
-
-const static struct wl_buffer_interface xpixmap_buffer_interface = {
- xPixmapBufferDestroy
-};
-
-
-#endif // XPIXMAPBUFFER_H