xserver-multidpi/hw/xfree86/dri2
Daniel Martin d5379b350f Use ARRAY_SIZE all over the tree
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2017-10-30 13:45:20 -04:00
..
pci_ids dri2: Sync i965_pci_ids.h from Mesa. 2017-07-06 11:50:41 -07:00
dri2.c Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
Makefile.am dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00