Skip to content

feat(window): add transparent framebuffer support - #98

Merged
sudoevolve merged 3 commits into
devfrom
feat/window-transparent
Oct 10, 2026
Merged

sudoevolve merged 3 commits into
devfrom
feat/window-transparent

Conversation

@sudoevolve

Copy link
Copy Markdown
Owner

Replacement for #92: preserves transparent framebuffer support and integrates the current dev window move/resize APIs. SDL2 reports transparency unavailable; GLFW reports the actual granted state. Vulkan selects a supported composite-alpha mode.\n\nCloses #90.

Linductor-alkaid and others added 3 commits October 8, 2026 18:11
DslAppConfig gains .transparent(bool) plumbed into WindowCreateRequest:
GLFW requests GLFW_TRANSPARENT_FRAMEBUFFER, Vulkan selects a supported
composite-alpha mode (POST_MULTIPLIED preferred) instead of hardcoding
OPAQUE, and framebufferTransparent() reports what the platform granted.
SDL2 has no transparent-window flag (SDL3-only) and reports false. The
renderer already produces premultiplied content, so apps can clear to
transparent and draw their own rounded root surface.

Issue: #90
# Conflicts:
#	core/window/window_backend.cpp
#	core/window/window_backend.h
@sudoevolve
sudoevolve merged commit 9d668b9 into dev Oct 10, 2026
4 checks passed
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.

2 participants