xserver-multidpi/composite
Dave Airlie 5a94934487 panoramiX: consolidate common id assignment code.
This adds a new FOR_NSCREENS_FORWARD_SKIP, which skips the first
element and is a common idiom throughout panoramiX code.

It then adds a new inline function to hide id assignment to a
panoramiX resource and cleans up lots of common repeated code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-10 11:00:48 +10:00
..
compalloc.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compext.c panoramiX: consolidate common id assignment code. 2011-03-10 11:00:48 +10:00
compinit.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compint.h composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
compositeext.h Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
compoverlay.c Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
compwindow.c composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00