| 1 |
|
| 2 |
|
| 3 |
def FOUR_CHAR_CODE(x): return x |
| 4 |
pixPurgeBit = 0 |
| 5 |
noNewDeviceBit = 1 |
| 6 |
useTempMemBit = 2 |
| 7 |
keepLocalBit = 3 |
| 8 |
useDistantHdwrMemBit = 4 |
| 9 |
useLocalHdwrMemBit = 5 |
| 10 |
pixelsPurgeableBit = 6 |
| 11 |
pixelsLockedBit = 7 |
| 12 |
mapPixBit = 16 |
| 13 |
newDepthBit = 17 |
| 14 |
alignPixBit = 18 |
| 15 |
newRowBytesBit = 19 |
| 16 |
reallocPixBit = 20 |
| 17 |
clipPixBit = 28 |
| 18 |
stretchPixBit = 29 |
| 19 |
ditherPixBit = 30 |
| 20 |
gwFlagErrBit = 31 |
| 21 |
pixPurge = 1L << pixPurgeBit |
| 22 |
noNewDevice = 1L << noNewDeviceBit |
| 23 |
useTempMem = 1L << useTempMemBit |
| 24 |
keepLocal = 1L << keepLocalBit |
| 25 |
useDistantHdwrMem = 1L << useDistantHdwrMemBit |
| 26 |
useLocalHdwrMem = 1L << useLocalHdwrMemBit |
| 27 |
pixelsPurgeable = 1L << pixelsPurgeableBit |
| 28 |
pixelsLocked = 1L << pixelsLockedBit |
| 29 |
kAllocDirectDrawSurface = 1L << 14 |
| 30 |
mapPix = 1L << mapPixBit |
| 31 |
newDepth = 1L << newDepthBit |
| 32 |
alignPix = 1L << alignPixBit |
| 33 |
newRowBytes = 1L << newRowBytesBit |
| 34 |
reallocPix = 1L << reallocPixBit |
| 35 |
clipPix = 1L << clipPixBit |
| 36 |
stretchPix = 1L << stretchPixBit |
| 37 |
ditherPix = 1L << ditherPixBit |
| 38 |
gwFlagErr = 1L << gwFlagErrBit |
| 39 |
deviceIsIndirect = (1L << 0) |
| 40 |
deviceNeedsLock = (1L << 1) |
| 41 |
deviceIsStatic = (1L << 2) |
| 42 |
deviceIsExternalBuffer = (1L << 3) |
| 43 |
deviceIsDDSurface = (1L << 4) |
| 44 |
deviceIsDCISurface = (1L << 5) |
| 45 |
deviceIsGDISurface = (1L << 6) |
| 46 |
deviceIsAScreen = (1L << 7) |
| 47 |
deviceIsOverlaySurface = (1L << 8) |