Repository navigation
[CI only] #129 Direct2D backend — Windows verification - #309
Merged
Merged
Conversation
) Direct2DRenderer replays display lists onto a Direct2D device context over a Direct3D 11 device (hardware with WARP fallback, or WARP) and reads the pixels back into a premultiplied BGRA Bitmap, with the software rasterizer's page mapping and render overloads. - Fills: user-space path geometries with native Beziers, winding or alternate fill mode, every figure closed, degenerate subpaths painting the device pixel under them (8.5.3.3). - Strokes: the rasterizer's pen choice, thinnest line, stroke adjustment, flattening and user-length dashing (closed dashes joined), widened by Direct2D with caps, joins and miter-or-bevel; zero-length dashes and round-cap degenerate subpaths filled by the backend (8.5.3.2, 8.4.3, 10.7.5). - Clips: axis-aligned anti-aliased clips for pixel-aligned rectangles, geometric-mask layers otherwise, popped on RestoreState (8.5.4). - Images, image masks, shadings and glyphs are skipped with one RenderingOperationSkipped diagnostic per kind (#130, #131). - Bindings: CsWin32 with allowMarshaling false (function-pointer COM structs, AOT-safe, no managed allocation per call). Tests (tests/Broadside.Rendering.Direct2D.Tests: golden images of the three path corpus files and page-rotation on WARP, replay allocation, renderer behaviour) and Direct2DBackendBenchmarks (own Windows project) run on the Windows leg of CI; they build everywhere. Verified locally by build only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Integrated into spec/33-broadside-v1 via the lane merge; Windows tests were green here. |
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.
Temporary draft PR to run the Windows CI leg for #129 (Direct2D backend), which cannot run on macOS. It will be closed without merging; the branch merges into spec/33-broadside-v1 through the normal merger flow once Windows CI is green.
🤖 Generated with Claude Code