Skip to content

Game UI is expensive #109

Open
Open
@xezon

Description

@xezon

Game UI is expensive. Cost of rendering many UI elements is substantial. This can be easily seen with Diplomacy.wnd file. It opens when press TAB button in game. In a given 3D Scene that may cost ~1.0 ms, opening Diplomacy Window will add ~2.3 ms or 230% in the same test environment. Adding HIDDEN flag to STATUS on all elements in Diplomacy.wnd does reduce cost from 2.3 ms to 0.2 ms.

This applies to all UI windows. It should be looked into when code is available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MajorSeverity: Minor < Major < Critical < BlockerPerformanceIs a performance concernZHRelates to Zero Hour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions