Skip to content

remove the DBE extension and example - #70

Merged
marler8997 merged 1 commit into
masterfrom
remove-dbe
Oct 18, 2026
Merged

marler8997 merged 1 commit into
masterfrom
remove-dbe

Conversation

@marler8997

@marler8997 marler8997 commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Removes x11.dbe (src/x/dbe.zig) and examples/dbe.zig.

DBE (Double Buffer Extension) is superseded by the Present extension, which provides off-screen rendering via pixmaps plus frame synchronization (CompleteNotify/IdleNotify); examples/present.zig already demonstrates it. The dbe example only existed to exercise the DBE bindings, and its timer-driven animation loop was the part that broke after the zig 0.17 upgrade (fixed in #69).

Breaking change for anyone using x11.dbe: it is now a @compileError saying DBE was removed and pointing to the Present extension. The code can be restored from history if needed.

zig build install install-xauth test-non-interactive passes; x86_64 windows compiles.

https://ampcode.com/threads/T-01a14b88-aff8-717e-bb9f-364137832240

DBE is superseded by the Present extension (see examples/present.zig),
which provides off-screen rendering via pixmaps plus frame
synchronization. The dbe example only existed to exercise the DBE
bindings and had its own timer-driven animation loop to maintain.

x11.dbe is kept as a @CompileError pointing to the Present extension.

Amp-Thread-ID: https://ampcode.com/threads/T-01a14b88-aff8-717e-bb9f-364137832240
Co-authored-by: Amp <amp@ampcode.com>
@marler8997
marler8997 merged commit c36c804 into master Oct 18, 2026
4 checks passed
@marler8997
marler8997 deleted the remove-dbe branch October 18, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant