From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [RFC] drm: add overlays as first class KMS objects Date: Mon, 25 Apr 2011 18:17:14 -0700 Message-ID: References: <20110425151220.2f5dc17a@jbarnes-desktop> <20110425162216.529c126c@jbarnes-desktop> <20110425165258.69314103@jbarnes-desktop> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0379044728==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id CA8219E76D for ; Mon, 25 Apr 2011 18:17:17 -0700 (PDT) In-Reply-To: <20110425165258.69314103@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jesse Barnes , =?utf-8?Q?St=C3=A9phane?= Marchesin Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0379044728== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 25 Apr 2011 16:52:58 -0700, Jesse Barnes = 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'. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFNth0aQp8BWwlsTdMRAiJuAJ9TbQMaPtGy6HbjIAyb7ocC4krwNwCgpLI1 75mDRYvFcL2Pl6EQzNg/nrg= =Q4JJ -----END PGP SIGNATURE----- --=-=-=-- --===============0379044728== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0379044728==--