-
Notifications
You must be signed in to change notification settings - Fork 599
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 Underlay in Skia Backend Leads to Font Bugs and Rendering Issues #5282
Comments
Are you using Windows inside a virtual box virtual machine by chance? |
No, I am running it on my laptop with an Intel UHD 620 GPU. |
Ahh thanks. I missed that. If you see this issue then your OpenGL underlay isn’t restoring the OpenGL state exactly as it was when finished. For example, are to changing the current VAO? |
Thank you, the text display has become normal after I modified the code in the following way: glGetIntegerv(GL_TEXTURE_BINDING_2D,&texture);
render();
glBindTexture(GL_TEXTURE_2D,texture); |
👍👍 |
I am programming in C++ on Windows 10 22H2.
I attempted to integrate a video player by referring to the 'opengl_underlay' project in the examples. I noticed that under the condition where SLINT_BACKEND is set to 'winit-skia-opengl', the font rendering appears as follows, while it becomes normal when switched to 'winit-femtovg'.
winit-skia-opengl:
winit-femtovg:
Additionally, I have observed that the images rendered under 'winit-skia-opengl' exhibit more jagged edges.
I apologize that English is not my native language; some expressions may not be precise enough.
The text was updated successfully, but these errors were encountered: