summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
2f34481)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
using std::experimental::optional;
struct id_allocator {
using std::experimental::optional;
struct id_allocator {
- constexpr static const unsigned id_shift = 22;
- constexpr static const unsigned id_mask = (1 << id_shift) - 1;
-
unsigned next = 1;
// Surfaces that where requested but not yet created
unsigned next = 1;
// Surfaces that where requested but not yet created