Skip to content

Question regarding Silt.NET.Windowing multi-threaded behavior? #2255

@XiaochaoYan

Description

@XiaochaoYan
 /// <summary>
    /// Calls the Render event. On a multi-threaded window, this will run on an internally managed thread.
    /// </summary>
    void DoRender();

    /// <summary>
    /// Calls the Update event. On a multi-threaded window, this can run on any thread.
    /// </summary>
    void DoUpdate();

This is what I found in src/Windowing/Silk.NET.Windowing.Common/Interfaces/IView.cs . Does this mean we can assume Silk.NET itself will create thread to boost performance when it is possbile or do we need to manually start a seperate render thread for Silk.NET?

I am also curious about the default refresh rate and v-sync related behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions