#pragma once #include #include #include #include namespace mbgl { class OverscaledTileID; class PlainShader; namespace gl { class ObjectStore; } // namespace gl class DebugBucket : private util::noncopyable { public: DebugBucket(const OverscaledTileID& id, bool renderable, bool complete, optional modified, optional expires, MapDebugOptions); void drawLines(PlainShader&, gl::ObjectStore&); void drawPoints(PlainShader&, gl::ObjectStore&); const bool renderable; const bool complete; const optional modified; const optional expires; const MapDebugOptions debugMode; private: DebugFontBuffer fontBuffer; VertexArrayObject array; }; } // namespace mbgl