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