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? /Thomas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
