dwmkerr / dwmkerr/sharpgl

Shared OpenGL Rendercontext

Open
#97 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
804
Forks
294
Avg merge
3d 23h
Merged PRs (30d)
1

Description

Hi,

I'm currently working on a WPF based UI which must be able to use the same render data in multiple control instance.
To be able to support this I had to tweak the OpenGl Control and the CreateRenderContext methods.

Basically I check on control creation if the control is the first one and if not I provide the main render context to enable context sharing.

Although my solution works it isn't perfect, as currently all control instances always share their data. But maybe anyone is interested in what I've done and has ideas how to optimize it.

Even better would be if sharing between rendercontexts could be implemented into SharpGL.

Cheers Thomas

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.