xserver-multidpi/render
Jamey Sharp a83cff9f4d Move each screen's x/y origin into ScreenRec.
Many references to the dixScreenOrigins array already had the
corresponding screen pointer handy, which meant they usually looked like
"dixScreenOrigins[pScreen->myNum]". Adding a field to ScreenRec instead
of keeping this information in a parallel array simplifies those
expressions, and eliminates a MAXSCREENS-sized array.

Since dix declared the dixScreenOrigins array, I figure allocating a
screen private for these values is overkill.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
2010-06-03 14:03:23 -07:00
..
animcur.c render: set anim cursor state for pointer enabled devices only 2010-05-19 18:37:01 +03:00
filter.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
glyph.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
glyphstr.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Export a bunch of matrix operations from render. 2008-11-24 13:24:36 -08:00
matrix.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miindex.c Quit using clientErrorValue in dix/colormap.c. 2010-05-13 17:14:07 -07:00
mipict.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mipict.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mirect.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
mitrap.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mitri.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
picture.c Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
picture.h Add 4 missing 10bpc picture formats to the server format list. 2009-08-13 12:04:33 -07:00
picturestr.h Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
render.c Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
renderedge.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
renderedge.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00