Skip to content

Rendering performance improvements - #2287

Open
ineveraskedforthis wants to merge 15 commits into
schombert:mainfrom
ineveraskedforthis:main
Open

Rendering performance improvements#2287
ineveraskedforthis wants to merge 15 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.

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