Skip to content

Rendering performance improvements - #2287

Merged
schombert merged 16 commits into
schombert:mainfrom
ineveraskedforthis:main
Aug 4, 2026
Merged

Rendering performance improvements#2287
schombert merged 16 commits into
schombert:mainfrom
ineveraskedforthis:main

Conversation

@ineveraskedforthis

Copy link
Copy Markdown
Contributor

No description provided.

@ineveraskedforthis
ineveraskedforthis marked this pull request as ready for review July 31, 2026 15:33
@ineveraskedforthis

Copy link
Copy Markdown
Contributor Author

Main changes:

  • Total rework of internal logic of unit counters to allow lazy and more conservative update of counters data.
  • Borders generation is reworked to ensure consistent orientation.
    • Consistent orientation allows to simplify borders weaving logic and make it more robust
  • Split borders into distinct groups: Province, state, national.
    • Allows usage of more performant OpenGL API related to indirect rendering. In the result map rendering time is reduced to nothing
    • During map update only data related to national borders has to be uploaded back to GPU, the rest of the border meshes are static
  • Improve management of colonization labels by splitting them into groups. Group is rendered and updated only if there is some colonization going on locally.

@schombert
schombert merged commit da5dec7 into schombert:main Aug 4, 2026
5 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