Skip to content

Port ppy#5551 (additive blend no-flush) + ppy#6699 (System.Numerics vectors) + hot-path optimizations#64

Merged
winnerspiros merged 17 commits into
masterfrom
copilot/merge-ppy-fork-with-our-priorities
May 16, 2026
Merged

Port ppy#5551 (additive blend no-flush) + ppy#6699 (System.Numerics vectors) + hot-path optimizations#64
winnerspiros merged 17 commits into
masterfrom
copilot/merge-ppy-fork-with-our-priorities

Conversation

Copilot AI commented May 16, 2026

Copy link
Copy Markdown
  • Identify: BackgroundFocused's = new Color4(100, 100, 100, 255) initializer is dead — constructor overwrites it immediately with FrameworkColour.BlueGreen. InspectCode warns because the initializer bypasses the custom setter.
  • Remove the dead initializer from BackgroundFocused in BasicTextBox.cs

Bartłomiej Dach and others added 10 commits May 12, 2026 11:43
Intends to close ppy/osu#37704

On Android, you can choose what file picker you like best. Some OEMs
leverage this to implement their own (sometimes ad-ridden, *you know
who you are*) file pickers.

It appears that while some file pickers return content URIs that end
with the actual underlying file's name, some file pickers return their
specific gibberish, without a file extension in sight. And they are
entitled to do so by the Android Decree of "you shall only ever
interact with files via our magic APIs".

But then game-side TagLib rolls up, sees a filename without an
extension, goes "wots all dis den" and just rejects the file. So to keep
the lie up, attempt a little harder to synthesise an actual usable file
extension as if this was still a desktop computer with actual files.
…e fix)

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
…/out overloads, Dropdown LINQ)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/05a927e1-bc76-443b-b53a-7d5698daeda5

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
…taging, Path AABB hit-test cache

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/bbb64d78-3f8b-4d1e-b0b5-2b0331c61dd1

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
…ive↔mixture)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/434e7381-a46c-433a-976b-5dad4011309e

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
- Migrate ~400 files from osuTK.Vector2/3/4 to System.Numerics equivalents
- Add Vector3/Vector4 bridge methods to BridgingExtensions
- Update Vector2Extensions to use System.Numerics.Vector2; add Normalized(),
  PerpDot(), NormalizeFast(), PerpendicularRight(), PerpendicularLeft()
- Add QuaternionExtensions for osuTK↔System.Numerics Quaternion bridging
- Fix UniformMatrix3/4 to bridge osuTK.Vector3/4 ↔ UniformVector3/4
- Fix GLRenderer to convert System.Numerics vectors before passing to GL uniforms
- Fix MatrixExtensions local Vector3 variables (use var to avoid alias conflict)
- Fix various .Length → .Length() and .LengthSquared → .LengthSquared() calls
- Preserve osuTK types: Matrix2/3/4, Quaternion, Color4, DisplayIndex, etc.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
…IMD Distance, AggressiveInlining)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/45dcee20-fae6-48b4-bfd7-393ad63e1763

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
@gitar-bot

gitar-bot Bot commented May 16, 2026

Copy link
Copy Markdown

Gitar is working

Gitar

…stem.Numerics (fixes CI)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/01e6a282-c333-469b-8966-0219ab2ca87f

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 18:00
Copilot AI requested a review from winnerspiros May 16, 2026 18:19
…lity CI failure

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/54bca50a-2296-49ab-87b3-4eb3294fb5a9

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 18:34
Comment thread osu.Framework/Graphics/Lines/Path.cs Fixed
Comment thread osu.Framework/Graphics/Lines/Path.cs Fixed
Comment thread osu.Framework/Graphics/Lines/PathBBH.cs Fixed
Comment thread osu.Framework/Graphics/Lines/PathBBH.cs Fixed
Comment thread osu.Framework/Graphics/Lines/PathBBH.cs Fixed
…ant qualifiers, unused tuple component)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/ec5e0b7a-444f-4bdc-88ed-9fd3d21214d3

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 19:01
…, collection expression)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/375c540e-1a56-4ebd-b76e-31fd07b1e5ad

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 19:22

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

InspectCode found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

…rd properties

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/640ffaff-331e-4619-b5d4-5abac13c6384

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 19:39
Comment thread osu.Framework/Graphics/UserInterface/BasicTextBox.cs Fixed
…itialized-value-ignored)

Agent-Logs-Url: https://github.com/winnerspiros/osu-framework/sessions/985363f9-ed6d-46f0-852b-6e00f0885e44

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot AI requested a review from winnerspiros May 16, 2026 19:50
@winnerspiros winnerspiros marked this pull request as ready for review May 16, 2026 20:00
Copilot AI review requested due to automatic review settings May 16, 2026 20:00
@winnerspiros winnerspiros merged commit 5275713 into master May 16, 2026
26 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

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.

6 participants