[core] Display modify, expires debug information

This commit is contained in:
Bruno de Oliveira Abinader
2015-11-25 16:01:08 +02:00
parent 591e0dde2f
commit 044e92f5e8
5 changed files with 34 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include <mbgl/map/tile_data.hpp>
#include <mbgl/geometry/debug_font_buffer.hpp>
#include <mbgl/geometry/vao.hpp>
#include <mbgl/util/chrono.hpp>
namespace mbgl {
@@ -11,12 +12,14 @@ class PlainShader;
class DebugBucket : private util::noncopyable {
public:
DebugBucket(TileID id, TileData::State);
DebugBucket(TileID id, TileData::State, Seconds modified, Seconds expires);
void drawLines(PlainShader& shader);
void drawPoints(PlainShader& shader);
const TileData::State state;
const Seconds modified;
const Seconds expires;
private:
DebugFontBuffer fontBuffer;