VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/iplpack.h@ 71717

Last change on this file since 71717 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 330 bytes
Line 
1/* $XFree86$ */
2/* Modified nov 94 by Martin Schaller ([email protected]) for use with
3interleaved planes */
4
5#define NUM_LONGS(planes, xs, xe) \
6 (((((xe) * (planes) + 31) & ~31) - \
7 (((xs) * (planes)) & ~31))/32)
8
9#define NUM_TEMP_BYTES(planes, longs) \
10 (((2 * (longs) + (planes) - 1) / planes + 1) * planes * 2)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette