[RFC] drm: add overlays as first class KMS objects

Keith Packard keithp at keithp.com
Mon Apr 25 18:17:14 PDT 2011


On Mon, 25 Apr 2011 16:52:58 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> struct drm_mode_surface {
> 	enum components; /* YUV, VUY, RGB, BGR, ARGB, ... */
> 	int depth;
> 	enum packing; /* some list of packing types? */
> 	...
> };

Might just make a uint32_t 'type', predefine some obvious types and
allow drivers to provide more, perhaps with a magic 'vendor' bit so it's
easy to add more standard types. And, these are scanout buffers, I think
it would be nice to use that in the name rather than the
all-too-overused 'surface'.

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


More information about the dri-devel mailing list