|
version 1.7, 2000/09/22 05:58:01
|
version 1.8, 2001/10/28 03:33:08
|
|
|
|
| /* | /* |
| * Id: fbsolid.c,v 1.1 1999/11/02 03:54:45 keithp Exp $ |
* $XFree86$ |
| * | * |
| * Copyright © 1998 Keith Packard | * Copyright © 1998 Keith Packard |
| * | * |
|
|
|
| * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| * PERFORMANCE OF THIS SOFTWARE. | * PERFORMANCE OF THIS SOFTWARE. |
| */ | */ |
| /* $XFree86: xc/programs/Xserver/fb/fbsolid.c,v 1.5 2000/02/14 19:20:31 dawes Exp $ */ |
|
| | |
| #define FbSelectPart(xor,o,t) xor | #define FbSelectPart(xor,o,t) xor |
| | |
|
|
|
| FbBits xor) | FbBits xor) |
| { | { |
| FbBits startmask, endmask; | FbBits startmask, endmask; |
| FbBits xor0, xor1, xor2; |
FbBits xor0 = 0, xor1 = 0, xor2 = 0; |
| FbBits and0, and1, and2; |
FbBits and0 = 0, and1 = 0, and2 = 0; |
| FbBits xorS, andS, xorE, andE; |
FbBits xorS = 0, andS = 0, xorE = 0, andE = 0; |
| int n, nmiddle; | int n, nmiddle; |
| int rotS, rot; | int rotS, rot; |
| | |