Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on GlSurface resize #37

Open
IceReaper opened this issue Jun 25, 2020 · 0 comments
Open

Memory leak on GlSurface resize #37

IceReaper opened this issue Jun 25, 2020 · 0 comments

Comments

@IceReaper
Copy link

IceReaper commented Jun 25, 2020

I am currently using the following nuget packages:

  • Eto.Forms 2.5.2
  • Eto.OpenTK 0.1.2
  • Eto.OpenTK.Wpf 0.1.2
  • Eto.Platform.Wpf 2.5.2
  • OpenTK 3.2.0 (Same behavior when using 3.0.1)

I basicaly have my own layout engine attached, which reacts on window size changes and updates all elements in a PixelLayout container. Everything works so far, however when updating GlSurface.Size additional memory is consumed which is not freed anymore. The impact seems larger on larger sizes.

When just commenting out the assignments of the size, the memory leak is gone.

When using any other control, for example a button, this problem is gone too, so its tied to GlSurface only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant