summaryrefslogtreecommitdiff
path: root/include/mbgl/gfx/rendering_stats.hpp
blob: 8fb01a58257020a602a9bdb038aabcaedd70901c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

namespace mbgl {
namespace gfx {

struct RenderingStats {
    RenderingStats() = default;
    bool isZero() const;

    int numDrawCalls;
    int numActiveTextures;
    int numCreatedTextures;
    int numBuffers;
    int numFrameBuffers;

    int memTextures;
    int memIndexBuffers;
    int memVertexBuffers;
};

} // namespace gfx
} // namespace mbgl