-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
OpenGL-accelerated Skia drawing for Win32/GTK backends #1935
Conversation
This really is a game-changer! It handles animations with ease I was testing with RenderDemo & ImmediateRenderer and sometimes it crashes whenever i click on Tabs/Menu. this was the stack trace:
|
I don't think that the crash is related to OpenGL changes. The stencil warning is a bit concerning though. |
@kekekeks yeah, it's repeating that warning over and over when the rotating geometry clipped animation is running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits, let me know if you want me to do the fixes
src/Avalonia.OpenGL/IGlDisplay.cs
Outdated
OpenGLES2 | ||
} | ||
|
||
public interface IGlContext |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: 1 class / interface per file
namespace Avalonia.OpenGL | ||
{ | ||
public interface IGlPlatformSurface | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: 1 interface per file
I think the only functional change required now is to make it disabled by default, so that we can add this to 0.7 release and people who want to test it can, but existing code wont potentially be exposed to any issues in gpu rendering we don't yet know about. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM great work :)
Differencies from #1917