Files
MapLibreParticleLab/include/mbgl/platform/default/headless_display.hpp
2014-11-12 22:01:32 +11:00

27 lines
444 B
C++

#ifndef MBGL_COMMON_HEADLESS_DISPLAY
#define MBGL_COMMON_HEADLESS_DISPLAY
#include <mbgl/util/noncopyable.hpp>
#include "headless_view.hpp"
namespace mbgl {
class HeadlessDisplay, private mbgl::util::noncopyable {
public:
HeadlessDisplay();
~HeadlessDisplay();
#if MBGL_USE_CGL
CGLPixelFormatObj pixelFormat;
#endif
#if MBGL_USE_GLX
Display *x_display = nullptr;
GLXFBConfig *fb_configs = nullptr;
#endif
};
}
#endif