summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-11-12 15:34:54 (GMT)
committerGuido van Rossum <guido@python.org>1991-11-12 15:34:54 (GMT)
commitf109f86de5b3652d20d98490c35d9fb0aaf32087 (patch)
tree7838d67b366baee02db1ce106a7d1bc1701f48d1
parent5f5b137017c4b5909a0a9dc95ab51ed9d638493c (diff)
downloadcpython-f109f86de5b3652d20d98490c35d9fb0aaf32087.zip
cpython-f109f86de5b3652d20d98490c35d9fb0aaf32087.tar.gz
cpython-f109f86de5b3652d20d98490c35d9fb0aaf32087.tar.bz2
Added defines for pixmode.
-rwxr-xr-xLib/irix5/GL.py21
-rwxr-xr-xLib/plat-irix5/GL.py21
2 files changed, 42 insertions, 0 deletions
diff --git a/Lib/irix5/GL.py b/Lib/irix5/GL.py
index 376e37d..65a315a 100755
--- a/Lib/irix5/GL.py
+++ b/Lib/irix5/GL.py
@@ -150,6 +150,27 @@ LO_ORI = 0xd
LO_NAND = 0xe
LO_ONE = 0xf
+# defines for pixmode
+PM_SHIFT = 0
+PM_EXPAND = 1
+PM_C0 = 2
+PM_C1 = 3
+PM_ADD24 = 4
+PM_SIZE = 5
+PM_OFFSET = 6
+PM_STRIDE = 7
+PM_TTOB = 8
+PM_RTOL = 9
+PM_ZDATA = 10
+PM_WARP = 11
+PM_RDX = 12
+PM_RDY = 13
+PM_CDX = 14
+PM_CDY = 15
+PM_XSTART = 16
+PM_YSTART = 17
+PM_VO1 = 1000 # internal use only
+
#
# START defines for getgdesc
diff --git a/Lib/plat-irix5/GL.py b/Lib/plat-irix5/GL.py
index 376e37d..65a315a 100755
--- a/Lib/plat-irix5/GL.py
+++ b/Lib/plat-irix5/GL.py
@@ -150,6 +150,27 @@ LO_ORI = 0xd
LO_NAND = 0xe
LO_ONE = 0xf
+# defines for pixmode
+PM_SHIFT = 0
+PM_EXPAND = 1
+PM_C0 = 2
+PM_C1 = 3
+PM_ADD24 = 4
+PM_SIZE = 5
+PM_OFFSET = 6
+PM_STRIDE = 7
+PM_TTOB = 8
+PM_RTOL = 9
+PM_ZDATA = 10
+PM_WARP = 11
+PM_RDX = 12
+PM_RDY = 13
+PM_CDX = 14
+PM_CDY = 15
+PM_XSTART = 16
+PM_YSTART = 17
+PM_VO1 = 1000 # internal use only
+
#
# START defines for getgdesc