/Lib/plat-mac/Carbon/QDOffscreen.py

http://unladen-swallow.googlecode.com/ · Python · 47 lines · 45 code · 1 blank · 1 comment · 0 complexity · bf71ebd2a8c9847ed3a8e95f27c1a1e2 MD5 · raw file

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