On Thu, 15 Dec 2011 17:58:45 +0800, zhigang.g...@linux.intel.com wrote:
> From: Zhigang Gong <zhigang.g...@linux.intel.com>
> 
> Glamor need a function to create a texture from a
> BO allocated by using libdrm directly in DDX layer.
> EGL image extension API eglCreateImageKHR does support
> this function, but that extension only support one
> colore format - ARGB32 which is not sufficent for
> us. I discussed this in the mail list and KRH suggest
> me to extent GBM to support more color formats should
> be better. I took his advice and decide to use gbm
> bo to create image. Now before extent the color formats,
> I have to add a new API to the create a gbo from a
> name. This commit is for that purpose.

If the DDX is going to be doing the memory management, then the DRI
driver needs to be using the same bufmgr struct and DRI fd as the DDX so
you can share the handle (and thus the mapping and userland caching)
instead of the name.

Attachment: pgpzbnHLU93VL.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to