blob: 30d5ff67c8f5c64738bb60fad8765fb1da6d3327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#pragma once
#include <mbgl/map/mode.hpp>
#include <mbgl/util/chrono.hpp>
#include <mbgl/util/geometry.hpp>
#include <mbgl/util/optional.hpp>
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/gfx/vertex_buffer.hpp>
#include <mbgl/gfx/index_buffer.hpp>
#include <mbgl/programs/debug_program.hpp>
namespace mbgl {
class OverscaledTileID;
namespace gl {
class Context;
} // namespace gl
class DebugBucket : private util::noncopyable {
public:
DebugBucket(const OverscaledTileID& id,
bool renderable,
bool complete,
optional<Timestamp> modified,
optional<Timestamp> expires,
MapDebugOptions,
gfx::Context&);
const bool renderable;
const bool complete;
const optional<Timestamp> modified;
const optional<Timestamp> expires;
const MapDebugOptions debugMode;
SegmentVector<DebugAttributes> segments;
optional<gfx::VertexBuffer<DebugLayoutVertex>> vertexBuffer;
optional<gfx::IndexBuffer> indexBuffer;
const std::string drawScopeID;
};
} // namespace mbgl
|