diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 04:36:56 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 49f659e24c5ace2568555a0a37772bc56a0be393 (patch) | |
| tree | 727e3576497e955e2e36fccc7052680cd0b7c1db /test/window_opacity.py | |
| parent | 2d0cb01f1e060c9cf182df491a077cd10d4bfb11 (diff) | |
| download | pardes-49f659e24c5ace2568555a0a37772bc56a0be393.tar.gz pardes-49f659e24c5ace2568555a0a37772bc56a0be393.zip | |
gui: the renderer's resources, pictures, overlay and atlas upload are sketchbook's (src/gpu/Cells.zig), moved as they were, the fourth step of the GPU move, its first half: the atlas's texture, sampler and upload buffer, the pictures' sampler, the four pipelines, the overlay's buffers and their release (runNative: Cells.init and deinit, on Present's device, before the device goes), the cells' and the pictures' instance buffers, the pictures' textures by key (releaseNativeImage, clearNativeImages, uploadNativeTexture's upload and uploadTextureRows: Cells.image, which takes the RGBA, its size and stride and the dirty rows, still the whole picture or only the rows that changed into the texture held), the pictures' instance upload (Cells.mapImages and uploadImages around gui.zig's emitPreparedImage) and their draws (drawNativeImagesGpu: Cells.drawImages, each picture's clip, imageScissor's, kept beside its texture as the frame's instances are written), the addon pipeline (made on first use as before: Cells.makeAddonPipeline), uploadAtlas (over the Atlas's dirty rows), uploadOverlayGpu, pushLayerOpacity and drawOverlayGpu leave gui.zig; the seven SPIR-V embeds go with the pipelines (build.zig gives the `<name>.spv` imports to the Cells module, sketchbook's GLSL through glslc or its prebuilt copies, as before); the Gui holds a pointer to runNative's Cells (`cells`) and no longer the device; an addon's texture is still handed over borrowed and premultiplied; renderFrame's command buffer, cell upload and render pass stay for the second half; frame corpus unchanged (77 frames)
Diffstat (limited to 'test/window_opacity.py')
0 files changed, 0 insertions, 0 deletions
