proactive memory free, option for zerocopy (seems slower), track prepare times
This commit is contained in:
parent
d020a94b53
commit
4da43685f4
8 changed files with 91 additions and 19 deletions
|
|
@ -29,12 +29,12 @@
|
|||
let point;
|
||||
widgets.forEach((widget, index) => {
|
||||
point = prepEach(widget, settings, print, point, progress => {
|
||||
update((index * weight + progress * weight) * 0.5);
|
||||
update((index * weight + progress * weight) * 0.5, "prepare");
|
||||
});
|
||||
});
|
||||
|
||||
print.render = KIRI.driver.FDM.prepareRender(print.output, progress => {
|
||||
update(0.5 + progress * 0.5);
|
||||
update(0.5 + progress * 0.5, "render");
|
||||
}, {
|
||||
thin: true,
|
||||
print: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue