Conversation
…ouse bubbling section, sokol_app_tc; refresh createWindow prose)
The FBO guard predates the RenderTarget refactor: active2D() now resolves pipelines per render target, so the mode pipeline is always built for the active target's color format / sample count. - setBlendMode: drop the inFboPass early-return - restoreCurrentPipeline: honor currentBlendMode inside Fbo passes too (font/texture draws no longer reset the mode to Alpha mid-pass) - Fbo begin/clearColor: start the pass with the current mode's pipeline, so a mode set before begin() persists into the pass (oF-compatible), and clear() inside an FBO keeps the mode like tc::clear() on the swapchain does - restoreBlendPipeline now delegates to restoreCurrentPipeline (identical) BREAKING: a blend mode active when Fbo::begin() is called now applies inside the pass; previously the pass always started with Alpha.
Same two overlapping half-gray rects drawn to the swapchain (left) and into an Fbo (right), second rect with BlendMode::Add and a bitmap-string draw in between (exercises the restore path). Overlap reads 1.0 on both sides when blend modes work inside Fbo passes.
…ses + fboBlendModeExample)
…ists across begin()
The client never answered Ping frames ("not implemented yet"), so proxies
that keep connections alive with pings (e.g. Cloudflare) reaped the idle
socket. sendPong() now echoes the Ping payload (RFC 6455 5.5.2/5.5.3) as a
single masked frame, keeping long-lived idle connections alive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge the current
devline intomainso it ships to production builds.Highlights
sendPong()now echoes the Ping payload (RFC 6455 §5.5.2/5.5.3) as a single masked frame, keeping long-lived idle connections alive. This is the change that needs to reach the production machine.setBlendModeworks inside Fbo passes (was silently ignored), with a pixel-provablefboBlendModeExampletest scene.setBlendModereference notes for Fbo passes;FOR_AI_ASSISTANTcaught up with v0.7.0.Commits
Verification note
The Pong change is compile-verified (tcxWebSocket builds clean). Runtime verification against the Cloudflare-fronted server is still pending — an unrelated MSVC C2026 in a downstream consumer's dashboard string is blocking that build locally.