xo-imgui: imgui_ex4 builds. font uploading works
This commit is contained in:
parent
b3ab4d2cf7
commit
ff6fe6b5aa
19 changed files with 2165 additions and 73 deletions
26
xo-imgui/example/ex4/GcStateDescription.cpp
Normal file
26
xo-imgui/example/ex4/GcStateDescription.cpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* GcStateDescription.hpp */
|
||||
|
||||
#include "GcStateDescription.hpp"
|
||||
|
||||
GcStateDescription::GcStateDescription(const GcGenerationDescription & nursery,
|
||||
const GcGenerationDescription & tenured,
|
||||
std::size_t gc_size,
|
||||
std::size_t gc_committed,
|
||||
std::size_t gc_allocated,
|
||||
std::size_t gc_available,
|
||||
std::size_t gc_mlog_size,
|
||||
std::size_t total_promoted,
|
||||
std::size_t total_n_mutation)
|
||||
: gc_size_{gc_size},
|
||||
gc_committed_{gc_committed},
|
||||
gc_allocated_{gc_allocated},
|
||||
gc_available_{gc_available},
|
||||
gc_mlog_size_{gc_mlog_size},
|
||||
total_promoted_{total_promoted},
|
||||
total_n_mutation_{total_n_mutation}
|
||||
{
|
||||
gen_state_v_[gen2int(generation::nursery)] = nursery;
|
||||
gen_state_v_[gen2int(generation::tenured)] = tenured;
|
||||
}
|
||||
|
||||
/* end GcStateDescription.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue