Skip to content

Application Slows when GLControl Out of View #28

@sdreb3421

Description

@sdreb3421

Setup:
Windows 10 Pro 21H2.
OpenGL 3.3 core running on a NVIDIA GeForce GTX 1050.
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz CPU
WinForms NET 6
OpenTK 4.7.4
OpenTK.WinForms 4.0.0-pre-6

Issue:
When the parent form of the GLControl is minimized, or the GLControl is hidden from view on an unseen tab page of a tab control, the refresh rate of OpenGL drops from 2ms to ~33ms. Additionally, the entire application UI runs about 20x slower than normal. Completely unrelated child forms that normally open in ~250ms to open take ~5 seconds to open.

Notes:
This issue did not occur when using NET 4.8 with the original GLControl. The only obvious difference with the NET 4.8 GLControl version is that VSync was set to False (VSync property does not exist with new version).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions