Skip to content

Restore pause link drawing behavior to use the work buffer#5038

Merged
aMannus merged 1 commit intoHarbourMasters:developfrom
Archez:work-buffer-pause-link
Feb 11, 2025
Merged

Restore pause link drawing behavior to use the work buffer#5038
aMannus merged 1 commit intoHarbourMasters:developfrom
Archez:work-buffer-pause-link

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Feb 11, 2025

This restores some of the pause link draw code back to decomp src, where it creates two DLs (for OPA and XLU draws of Link) and then executes those as part of the work buffer which is the very first draw calls (work -> opa -> xlu -> overlay)

This is preemptive work to get us to rip out the custom added polyKal buffer which is no longer needed with the newer frame buffer handling for kaleido's background.

There was some extra hacks to force the triforce draw (which uses XLU internally) that made a temp and overwrote XLU to be the end of OPA. This is no longer necessary with these changes and can be simplified.

Here is how it looks in the Gfx Debugger, where OPA DL and XLU DL are the set-aside allocated buffers for the Link draws.

image

Build Artifacts

@leggettc18
Copy link
Contributor

leggettc18 commented Feb 11, 2025

There's a weird interaction that you can trigger, at least on Linux, need to test if it happens on other platforms and/or base develop. Basically, if you have the window small enough that the Enhancements->Graphics menu overlaps the bottom edge of the window, toggle Animated Pause Menu Link, and then hit F1, the graphics go into a weird glitchy state where it constantly alternates between a corrupted frame and the normal one. Will see if I can replicate this on any other platforms in a couple hours.

EDIT: Already confirmed this isn't a new issue with this build. Will give an approval review here and post a separate issue with a video.

@aMannus aMannus merged commit 46c6d2f into HarbourMasters:develop Feb 11, 2025
5 checks passed
@Archez Archez deleted the work-buffer-pause-link branch February 11, 2025 21:43
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