-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
move to opengl core profile #2467
Comments
Some links that might be useful: We may want to tackle webgl around the same time: |
92f0e86 was meant to help but triggered a Perhaps the quads can be replaced with glBlitNamedFramebuffer: guide to modern opengl: glBlitNamedFramebuffer |
painting rgb from a core context works now
Much progress thanks to A guide to using modern OpenGL functions : glBlitFramebuffer, as of 8b73c2b, we can paint XPRA_OPENGL_CORE_PROFILE=1 xpra attach --encodings=rgb Still TODO:
|
so it can stop processing of the event, or let it continue
As of 345a1cc, the experimental gtk opengl backend can be enabled with: xpra attach --opengl=gtk TODO:
|
until it is fixed, don't use it on Wayland
the callers to 'do_present_fbo' must set the rendering target
New items:
|
also fix call to glDeleteBuffers when cleaning up
Telling MacOS that we want a core profile is obviously non-trivial.. MS Windows looks easier: |
* revert 28eaf57: a warning is better than a crash * add option to require accelerated GL: 'XPRA_OPENGL_ACCELERATED=1' (defaults to 0) * no need to specify 'NSOpenGLPFAWindow' (it is the default) * only add 'NSOpenGLPFAAlphaSize' if we do need alpha, * move scale factor to the window context, since that's where it will be queried, * prefer 'native' to 'glarea' backend on MacOS
it's ugly, but at least it doesn't break the rendering like glBegin / glEnd
It looks like using blit causes problems with scaling: #4324 (comment) |
More "modern" opengl.
Means using VBO for vertices,
glVertexPointer
etcThis may help with #2466, see also #3064
Links:
The text was updated successfully, but these errors were encountered: