Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
icstipple.c File Reference
#include "pixman-xserver-compat.h"

Go to the source code of this file.

Defines

#define LaneCases1(c, a)
#define LaneCases2(c, a)   LaneCases1(c,a); LaneCases1(c+1,a)
#define LaneCases4(c, a)   LaneCases2(c,a); LaneCases2(c+2,a)
#define LaneCases8(c, a)   LaneCases4(c,a); LaneCases4(c+4,a)
#define LaneCases16(c, a)   LaneCases8(c,a); LaneCases8(c+8,a)
#define LaneCases32(c, a)   LaneCases16(c,a); LaneCases16(c+16,a)
#define LaneCases64(c, a)   LaneCases32(c,a); LaneCases32(c+32,a)
#define LaneCases128(c, a)   LaneCases64(c,a); LaneCases64(c+64,a)
#define LaneCases256(c, a)   LaneCases128(c,a); LaneCases128(c+128,a)
#define LaneCases(a)   LaneCases16(0,a)

Functions

void fbTransparentSpan (FbBits *dst, FbBits stip, FbBits fgxor, int n)

Define Documentation

#define LaneCases (   a)    LaneCases16(0,a)

Definition at line 50 of file icstipple.c.

#define LaneCases1 (   c,
  a 
)
Value:
case c: \
                            while (n--) { (void)FbLaneCase(c,a); a++; } \
                            break

Definition at line 33 of file icstipple.c.

#define LaneCases128 (   c,
  a 
)    LaneCases64(c,a); LaneCases64(c+64,a)

Definition at line 42 of file icstipple.c.

#define LaneCases16 (   c,
  a 
)    LaneCases8(c,a); LaneCases8(c+8,a)

Definition at line 39 of file icstipple.c.

#define LaneCases2 (   c,
  a 
)    LaneCases1(c,a); LaneCases1(c+1,a)

Definition at line 36 of file icstipple.c.

#define LaneCases256 (   c,
  a 
)    LaneCases128(c,a); LaneCases128(c+128,a)

Definition at line 43 of file icstipple.c.

#define LaneCases32 (   c,
  a 
)    LaneCases16(c,a); LaneCases16(c+16,a)

Definition at line 40 of file icstipple.c.

#define LaneCases4 (   c,
  a 
)    LaneCases2(c,a); LaneCases2(c+2,a)

Definition at line 37 of file icstipple.c.

#define LaneCases64 (   c,
  a 
)    LaneCases32(c,a); LaneCases32(c+32,a)

Definition at line 41 of file icstipple.c.

#define LaneCases8 (   c,
  a 
)    LaneCases4(c,a); LaneCases4(c+4,a)

Definition at line 38 of file icstipple.c.


Function Documentation

void fbTransparentSpan ( FbBits dst,
FbBits  stip,
FbBits  fgxor,
int  n 
)

Definition at line 58 of file icstipple.c.

{
    FbStip  s;

    s  = ((FbStip) (stip      ) & 0x01);
    s |= ((FbStip) (stip >>  8) & 0x02);
    s |= ((FbStip) (stip >> 16) & 0x04);
    s |= ((FbStip) (stip >> 24) & 0x08);
#if FB_SHIFT > 5
    s |= ((FbStip) (stip >> 32) & 0x10);
    s |= ((FbStip) (stip >> 40) & 0x20);
    s |= ((FbStip) (stip >> 48) & 0x40);
    s |= ((FbStip) (stip >> 56) & 0x80);
#endif
    switch (s) {
       LaneCases(dst);
    }
}

Here is the caller graph for this function: