Re: [PATCH] Introduce xcb_aux_alloc_shm() to create anonymous files in RAM
Alexander Volkov <a.volkov-BPJLM82hleRxeeU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <[email protected]> |
17.04.2018 16:26, Julien Cristau пишет: > What's the use of replicating the code from libxshmfence instead of > just calling into that library? Or are they somehow subtly different > (and if so why)? See https://cgit.freedesktop.org/xorg/lib/libxshmfence/tree/src/xshmfence_alloc.c xshmfence_alloc_shm() allocated memory and initializes it for xshmfence structure, while introduced xcb_aux_alloc_shm() is a general-purpose function that allocates memory segment of a specified size. _______________________________________________ Xcb mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xcb