diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 17:39:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 17:44:51 +0200 |
commit | 0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87 (patch) | |
tree | 1eca3f4f0446c07c38d93049d48a6272b2c989d6 /include/mbgl/platform/default/headless_display.hpp | |
parent | d299e580886353e0813d30f9dee74639f899924a (diff) | |
download | qtlocation-mapboxgl-0e928b5204ad5e2a8cfc1dd1a993396be0bd9d87.tar.gz |
make tests work
Diffstat (limited to 'include/mbgl/platform/default/headless_display.hpp')
-rw-r--r-- | include/mbgl/platform/default/headless_display.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/headless_display.hpp b/include/mbgl/platform/default/headless_display.hpp new file mode 100644 index 0000000000..5b33fd6990 --- /dev/null +++ b/include/mbgl/platform/default/headless_display.hpp @@ -0,0 +1,25 @@ +#ifndef MBGL_COMMON_HEADLESS_DISPLAY +#define MBGL_COMMON_HEADLESS_DISPLAY + +#include "headless_view.hpp" + +namespace mbgl { + +class HeadlessDisplay { +public: + HeadlessDisplay(); + ~HeadlessDisplay(); + +#if MBGL_USE_CGL + CGLPixelFormatObj pixelFormat; +#endif + +#if MBGL_USE_GLX + Display *x_display = nullptr; + GLXFBConfig *fb_configs = nullptr; +#endif +}; + +} + +#endif |