Skip to content

regression: cover rendering at screen edges - #12

Merged
rcombs merged 2 commits into
libass:masterfrom
rcombs:codex/offscreen-culling-regression
Oct 30, 2026
Merged

rcombs merged 2 commits into
libass:masterfrom
rcombs:codex/offscreen-culling-regression

Conversation

@rcombs

@rcombs rcombs commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

During testing of libass/libass#874, I ran across a few misrenders caused by some bugs in the branch's bounding-box and blur padding calculations. It seems pretty reasonable to have test cases in here that cover those cases.

@MrSmile MrSmile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but it's quite sparse list of cases (there's nothing on top for example).
I think it would be better to spawn off-screen objects in all 8 sides & corners per each image.

@rcombs
rcombs force-pushed the codex/offscreen-culling-regression branch from eebba15 to 95926af Compare October 29, 2026 21:46
@rcombs
rcombs requested a review from MrSmile October 29, 2026 21:47
@rcombs

rcombs commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

Re-pushed with all-edge all-corners tests, and also some tests for text runs that start offscreen.

@astiob astiob left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I haven’t looked very closely tbh, but sounds good in principle, the pics look fine, and at least some of the descriptions certainly sound useful in particular.

@rcombs
rcombs merged commit 205c63e into libass:master Oct 30, 2026
8 checks passed
@rcombs
rcombs deleted the codex/offscreen-culling-regression branch October 30, 2026 10:29
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.

3 participants