Skip to content

SP5: OpenGL rendering fail when multiple controls are in the same window #3007

@swharden

Description

@swharden

Extreme artifacts and hard crashes appear if both plots render really close to each other in time. I think it's related to the frame buffer switching. I found opentk/GLWpfControl#58 which indicates the problem may be multiple OpenGL context objects, but a solution could be to force multiple controls to use the same context.

This issue will track adding a way to enable/disable OpenGL rendering functionality. At first I'll probably create two controls for this, but in the future something smarter may be a solution. I'm experimenting in WinForms but presumably all controls have this issue when OpenGL is employed.

Standard

nongl

OpenGL

gl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions