[PATCH 7/8] dri: add __DRIimageLoaderExtension and __DRIimageDriverExtension

Keith Packard keithp at keithp.com
Tue Nov 5 16:59:33 PST 2013


Kristian Høgsberg <hoegsberg at gmail.com> writes:


> We can drop width and height now and just get it from either of the
> returned images.  Format is a function of the __DRIconfig and doesn't
> change, so we could make that something you can query from the config
> in the interest of further reducing the number of arguments.

Sure would be nice if there were simpler ways than calling the
getAttribs function though; I'm tempted to just leave these params in as
every single driver will need those values and passing them back here
will make the driver code shorter.

> I'll give this a try with the GBM and Wayland EGL backends now.

Cool. Having two backends using this same interface would really help
out.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131105/ec8095ad/attachment.pgp>


More information about the dri-devel mailing list