[PATCH xserver (v4) 05/10] Move some sync code to miext

Keith Packard keithp at keithp.com
Mon Dec 6 17:10:27 PST 2010

On Mon, 6 Dec 2010 14:53:19 -0800, James Jones <jajones at nvidia.com> wrote:

> As a precursor to the fence sync object video driver
> and extension API, move some code from Xext to
> miext/sync.  Most of this is just code to set up the
> build system to include the new directory.  No
> functional code is added in this change.
> Signed-off-by: James Jones <jajones at nvidia.com>

> diff --git a/miext/sync/misync.c b/miext/sync/misync.c

Weird to have this file appear with no content, and some compilers will
complain about a file that generates no output, but having all of the
build changes in one place does seem convenient, making this kinda
necessary or the library would get really small.

> +/* Sync object types */
> +#define SYNC_COUNTER		0
> +#define SYNC_FENCE		1

Careful here -- that's not for this patch yet.

Otherwise, this looks fine.

Reviewed-by: Keith Packard <keithp at keithp.com>

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.x.org/archives/xorg-devel/attachments/20101206/96242822/attachment.pgp>

More information about the xorg-devel mailing list