Skip to content

Improve Displaycover() performance#577

Merged
Asdow merged 6 commits intomasterfrom
displaycover
Feb 21, 2026
Merged

Improve Displaycover() performance#577
Asdow merged 6 commits intomasterfrom
displaycover

Conversation

@Asdow
Copy link
Copy Markdown
Contributor

@Asdow Asdow commented Feb 21, 2026

  • Replaced gCoverViewArea[2000][2000][2] with std::vector that is adjusted to the actual viewport size. Size difference for example in 720p resolution is 8 000 000 vs 3969 elements

  • FPS improved in merc view mode 6-8 frames and in enemy view mode 10-20 frames

* Replaced gCoverViewArea[2000][2000][2] with std::vector that is adjusted to the actual viewport size. Size difference for example in 720p resolution is 8 000 000 vs 3969 elements
* FPS improved in merc view mode 6-8 frames and in enemy view mode 10-20 frames
@Asdow Asdow merged commit a6d96f5 into master Feb 21, 2026
9 checks passed
@Asdow Asdow deleted the displaycover branch February 21, 2026 19:00
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.

1 participant