implementing more chunk ops based on GPU
composing, toEdits
This commit is contained in:
parent
bb55e23979
commit
1bbf1b1d94
5 changed files with 259 additions and 38 deletions
|
@ -261,10 +261,10 @@ function readUrl(urlString) {
|
|||
});
|
||||
|
||||
canvasRenderer.addEventListener(".commitInteraction", async () => {
|
||||
let scratchLayer = currentUser.commitScratchLayer(wall);
|
||||
let scratchLayer = currentUser.commitScratchLayer(chunkAllocator, wall);
|
||||
if (scratchLayer == null) return;
|
||||
|
||||
let edits = await scratchLayer.toEdits();
|
||||
let edits = await scratchLayer.toEdits(chunkAllocator);
|
||||
scratchLayer.destroy(chunkAllocator);
|
||||
|
||||
let editRecords = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue