[core] Display modify, expires debug information
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user