diff options
Diffstat (limited to 'src/compositor/hardware_integration/dri2_xcb/dri2xcbhwintegration.h')
-rw-r--r-- | src/compositor/hardware_integration/dri2_xcb/dri2xcbhwintegration.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/compositor/hardware_integration/dri2_xcb/dri2xcbhwintegration.h b/src/compositor/hardware_integration/dri2_xcb/dri2xcbhwintegration.h new file mode 100644 index 000000000..9ed355815 --- /dev/null +++ b/src/compositor/hardware_integration/dri2_xcb/dri2xcbhwintegration.h @@ -0,0 +1,21 @@ +#ifndef DRI2XCBHWINTEGRATION_H +#define DRI2XCBHWINTEGRATION_H + +#include "hardware_integration/graphicshardwareintegration.h" + +class DrmObject; + +class Dri2XcbHWIntegration : public GraphicsHardwareIntegration +{ +public: + Dri2XcbHWIntegration(WaylandCompositor *compositor); + + void initializeHardware(Wayland::Display *waylandDisplay); + + GLuint createTextureFromBuffer(wl_buffer *buffer, QOpenGLContext *context); + +private: + DrmObject *m_drm_object; +}; + +#endif // DRI2XCBHWINTEGRATION_H |