[Mesa-dev] [PATCH 0/6] RFC: DRM Image extensions

Jakob Bornecrantz wallbraker at gmail.com
Sat May 29 05:56:28 PDT 2010


Hi all!

This patch series add a series of extension that enables an application to
create stand alone images, get attributes from images, create images that
are sutiable for scantout and sharing and finally get drm handles from images
to be either shared or used with kms as scanouts.

Each set of functionallity are devided up into different extension, as listed
above. As I said in another thread this does pretty much the same as Kristians
create_image extension but split up and some minor name changes.

Some differences are that the MESA_drm_image extension also allows you to
create images from shared handles, Kristian and I have talked about this
before and I guess that part can be leaved out for now and we could rename the
extenstion to MESA_kms_image to make it more fitting. Tho the extensions does
not say how the handles are shared so that part can be extended.

Also in this patch series is a experimental drm egl state tracker which I used
to prototype all these extensions without having to change the native interface
with every change.

One thing missing from MESA_create_image is that you can not specify a format
for the Image create, I'm currently leaning towards a simple token based
approach instead of the more advanced channel width configs use.

And the create image from a shared handle has not yet been implemented as well
since I had no real use for this. Some time under this weekend I hope to get
around to post two test apps for these extensions. One being based on Kristians
eglkms test application.

Comments, praise and flames welcome.

Cheers Jakob.



More information about the mesa-dev mailing list