-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
core: drop xcb-glx #1085
core: drop xcb-glx #1085
Conversation
d4f4f26
to
00f3cd7
Compare
Codecov Report
@@ Coverage Diff @@
## next #1085 +/- ##
==========================================
- Coverage 37.68% 37.48% -0.20%
==========================================
Files 49 49
Lines 11167 11163 -4
==========================================
- Hits 4208 4185 -23
- Misses 6959 6978 +19
|
it's only used for querying the x glx extension and it's error definitions. other than this, it has little to no use for us. see https://stackoverflow.com/q/41069032 for details.
00f3cd7
to
b26d147
Compare
i don't like that part of the X error handling depends on the backend. i also don't like you are using the backend to initialize part of but i do like the removal of dependencies. do we really need to handle glx errors in |
initially i wanted to replace the old xcb-style x glx extension querying in the #ifdef CONFIG_OPENGL
ps->glx_exists = glXQueryExtension(ps->dpy, &ps->glx_error, &ps->glx_event);
#endif but ended up reverting to what we previously had (2372127). does my initial approach sound better?
there is no "dependency". glx is an x extension just like the sync one which errors are handled below so i think it's fair to handle it's errors there.
i think that you're confusing glx errors with gl errors. gl errors are indeed handled in the |
you are right. in that case i don't really see the point of removing xcb-glx. |
the point is that we're requiring it only to do things that could be done without it and it's very unlikely that we can make any other use of it. |
we have it so we can have a healthy separation between the backend and the rest of picom. i don't like the increase in coupling caused by removing it. it's not that big of a dependency anyway. |
well, if my initial approach shown above doesn’t improve the situation feel free to close this pull request. |
it's only used for querying the x glx extension and it's error definitions. other than this, it has little to no use for us. see https://stackoverflow.com/q/41069032 for details.