Skip to content

fix a transparent window issue on Windows OS - #19

Merged
hermet merged 1 commit into
mainfrom
hermet/hotfix
Oct 7, 2026
Merged

hermet merged 1 commit into
mainfrom
hermet/hotfix

Conversation

@hermet

@hermet hermet commented Oct 6, 2026

Copy link
Copy Markdown
Member

currently toolkit is supposed to support opaque windows only.

issue: thorvg/thorvg#4577

currently toolkit is supposed to support opaque windows only.

issue: thorvg/thorvg#4577
@hermet
hermet requested a balanced review from Copilot October 6, 2026 16:32
@hermet hermet self-assigned this Oct 6, 2026
@hermet hermet added the enhancement Improve features label Oct 6, 2026
@hermet

hermet commented Oct 6, 2026

Copy link
Copy Markdown
Member Author

depends on: thorvg/thorvg#4895

@hermet
hermet marked this pull request as draft October 6, 2026 16:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The change matches the intended behavior, but the external ThorVG backend’s opaque-window presentation still needs platform validation.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the WebGPU window target to match the toolkit’s opaque-only window support and address unwanted transparency on Windows.

Changes:

  • Switches the target color space from ABGR8888 to XBGR8888.
File Description
src/​tvgWindow.cpp Uses an opaque color space when configuring the WebGPU canvas target.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@hermet
hermet marked this pull request as ready for review October 7, 2026 16:13
@hermet
hermet merged commit 4542bb4 into main Oct 7, 2026
6 checks passed
@hermet
hermet deleted the hermet/hotfix branch October 7, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants