Skip to content

gg: Optimize ellipses draw functions#26340

Merged
spytheman merged 7 commits into
vlang:masterfrom
Linklancien:optimize-ellipses
Jan 13, 2026
Merged

gg: Optimize ellipses draw functions#26340
spytheman merged 7 commits into
vlang:masterfrom
Linklancien:optimize-ellipses

Conversation

@Linklancien

Copy link
Copy Markdown
Contributor

Optimization of:

  • draw_ellipse_empty
  • draw_ellipse_thick
  • draw_ellipse_filled
  • draw_ellipse_empty_rotate
  • draw_ellipse_thick_rotate
  • draw_ellipse_filled_rotate

An optimization of all draw_ellipse_ function primarily by using less sgl.v2f and changing the sgl.begin function to use more appropriate primitives

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @Linklancien 🙇🏻 .

@Linklancien

Copy link
Copy Markdown
Contributor Author

Thank you @Linklancien 🙇🏻 .

You are welcome ^^

@spytheman spytheman merged commit 592801c into vlang:master Jan 13, 2026
73 checks passed
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.

2 participants