diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 11:27:39 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 13:22:02 -0300 |
| commit | 00605f7a109845a99f16621b267305a8b995dddc (patch) | |
| tree | 223c7f89506279b4129f5592ece782b306f2eda3 /README.md | |
| parent | 86ffca0024326110962f0880727f4eb84e6a48d1 (diff) | |
| download | sketchbook-00605f7a109845a99f16621b267305a8b995dddc.tar.gz sketchbook-00605f7a109845a99f16621b267305a8b995dddc.zip | |
sketchbook: shapes antialiased up to 3840x2160; SDL's Vulkan backend no longer defragments (it lost a frame's first draws)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -148,7 +148,8 @@ shapes blend alike, and shapes keep their order among `fill`, `image`, `text` and the clip. Both antialias: the canvas does, and native draws 4x4 samples a pixel (with a GPU renderer: runs of consecutive shapes go into a supersampled layer, composited when another command comes) and -averages them. Edges come out within a few levels of the web's, and a +averages them; 2x2 on a canvas or target over 1920x1080, none over +3840x2160. Edges come out within a few levels of the web's, and a 1 px line on a pixel row stays full black on both. `sk.draw` makes them, at two levels, neither with state of its own: @@ -467,6 +468,11 @@ stb_vorbis): WAV, FLAC and Ogg Vorbis, chosen by content. fails the exit. SDL's Vulkan backend leaked when `vkAllocateMemory` failed and it fell back to another memory type (it happens with many headless hosts at once); the build compiles that file with the fix. + It also never defragments memory there: SDL moves textures to new ones + inside whichever command buffer is submitted next, and a sketch's GPU + pass is submitted while the frame's 2D commands are still being + recorded, so the canvas lost what was drawn before the pass and showed + the previous frame under the rest (after a large texture was freed). ## The web host |
