Skip to content

refactor GL painter#6389

Draft
toaster wants to merge 5 commits into
fyne-io:developfrom
toaster:refactoring/gl-painter
Draft

refactor GL painter#6389
toaster wants to merge 5 commits into
fyne-io:developfrom
toaster:refactoring/gl-painter

Conversation

@toaster

@toaster toaster commented Jun 30, 2026

Copy link
Copy Markdown
Member

Description:

This PR consolidates the GL’s painter struct.
This aims to improve comprehensibility.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

@coveralls

coveralls commented Jun 30, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 59.878% (+0.009%) from 59.869% — toaster:refactoring/gl-painter into fyne-io:develop

…stead of a slice

This makes the size of the returned data more explicit.
The `[:]` to pass the array as slice to other helpers has no impact on
the performance. In both cases an array and a slice based upon it are
created.
@toaster toaster marked this pull request as draft June 30, 2026 10:11
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