--- /dev/null
+#ifndef MSP_GL_DEVICE_H_
+#define MSP_GL_DEVICE_H_
+
+#include <msp/graphics/window.h>
+#include "device_backend.h"
+
+namespace Msp {
+namespace GL {
+
+/**
+Represents a graphics device. An instance must be created to use the library.
+*/
+class Device: public DeviceBackend
+{
+ friend DeviceBackend;
+
+private:
+ static Device *current;
+
+public:
+ Device(Graphics::Window &, const DeviceOptions & = DeviceOptions());
+ ~Device();
+
+ using DeviceBackend::get_context;
+
+ static Device &get_current();
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif