-
Notifications
You must be signed in to change notification settings - Fork 54
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
Use a shared memory buffer for the X11 backend #38
Use a shared memory buffer for the X11 backend #38
Comments
That extension has a copyright date of 1991. Is it ever not supported by modern X servers on modern OSes? |
I think |
Yeah, that could just be legacy code in cairo. Though even the maintainers of libcairo might not be sure unless they remove it and see if anyone complains. It's good to have the fallback if it's relevant in any modern context, but probably not if it is needed only on 2-3 decade old Unix systems that aren't going to be supported anyway. |
Oh, I guess shared memory also wouldn't be available with a remote X server. |
The current X11 backend sends the image over the wire, which is slow and inefficient. We should probably use the MIT-SHM strategy for this crate if it's available.
(Also, we probably shouldn't create a new image every time we run the
set_buffer
command, but I think we can take care of that when we solve #37)The text was updated successfully, but these errors were encountered: