-
Notifications
You must be signed in to change notification settings - Fork 433
Add graphics pipeline screenshot test #4142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add graphics pipeline screenshot test #4142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| g.setColor(0xf8fafc); | ||
| g.drawString("translate + affine", -58, 4); | ||
| g.translate(-cx, -cy); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preserve translation when undoing transform center
When isAffineSupported() is true (e.g., Android and JavaSE ports), resetAffine() clears the translate(cx, cy) applied earlier in drawTransforms, so the subsequent translate(-cx, -cy) leaves the graphics context shifted to a negative origin and the label in this block is drawn at negative coordinates. That means the rest of the showcase (other quadrants) will render off-canvas whenever affine transforms are enabled, defeating the screenshot’s intent.
Useful? React with 👍 / 👎.
|
Compared 2 screenshots: 2 matched. Native Android coverage
|
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |






Summary
Testing
Codex Task