On Friday 15 April 2005 04:37, Thomas Hellström wrote:
> Hi all!
>
> Trying to make unichrome XvMC using the dri extension as opposed to now
> only the xf86drm API, I've ended up using
>
> 1) xf86drm.h and corresponding c files that now make up or will make up
> libdrm.so
> 2) xf86dri.h and XF86dri.c that are part of mesa.
> 3) Some of the dri utils from mesa, basically to handle basic drawable
> management and locking.
>
> While doing this I notice that some (3) functions in XF86dri.c are
> depending on Mesa headers and datatypes, and this does not seem to be part
> of the original design, since it makes these files unusable outside Mesa.
> These are
>
> XF86DRICreateDrawable
> XF86DRIDestroyDrawable
> XF86DRICreateContext
>
> What about creating wrappers for these in Mesa, and move out xf86dri.h and
> XF86dri.c to be included in a more general libdr[im].so that will be
> useable also for non-mesa dri clients? Possibly also including utilities
> for very basic drawable locking?

I've been working on factoring out libdrm already, this seems like it would be 
an appropriate addition.

- ajax

Attachment: pgpP17l4tmOay.pgp
Description: PGP signature

Reply via email to