-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
EGL back end: additional GLX extensions #134
Comments
Challenges:
|
Is there a reason to not use EGLImages instead? They're already scoped to be shared among APIs and contexts. |
Believe me, I spent at least 500 hours over several years researching and developing the EGL back end. I consulted extensively with nVidia and explored all available avenues, including EGLImages. You can read more about the issues here: tl;dr: The fundamental problem with using an EGLImage to emulate a Pbuffer is that EGLImages do not support multisampling. Thus, it wouldn't be possible to preserve multisampled data across OpenGL contexts unless we used private renderbuffers, and that means using a shared RBO context as we are currently doing. The best we could do would be to use EGLImages only for single-sampled rendering, but that would greatly increase the complexity of the EGL back end. I simply didn't (and still don't) have the funding to pursue that kind of multi-pronged solution, and such a solution would be hard to maintain and support anyhow. |
Unfortunately, further research has revealed that it will be impossible to emulate |
The EGL back end does not currently support certain GLX extensions that are supported by the GLX back end:
GLX_ARB_create_context_robustness
GLX_ARB_fbconfig_float
GLX_EXT_create_context_es2_profile
GLX_EXT_fbconfig_packed_float
GLX_EXT_texture_from_pixmap
It should be possible, but probably not straightforward in all cases (hence the "funding needed" tag), to support some or all of these.
The text was updated successfully, but these errors were encountered: