PageRenderTime 365ms CodeModel.GetById 141ms app.highlight 75ms RepoModel.GetById 146ms app.codeStats 0ms

/Lib/plat-irix5/GL.py

http://unladen-swallow.googlecode.com/
Python | 397 lines | 396 code | 1 blank | 0 comment | 0 complexity | 628a1f9b707215c905dc117e2f126302 MD5 | raw file
  1from warnings import warnpy3k
  2warnpy3k("the GL module has been removed in Python 3.0", stacklevel=2)
  3del warnpy3k
  4
  5NULL = 0
  6FALSE = 0
  7TRUE = 1
  8ATTRIBSTACKDEPTH = 10
  9VPSTACKDEPTH = 8
 10MATRIXSTACKDEPTH = 32
 11NAMESTACKDEPTH = 1025
 12STARTTAG = -2
 13ENDTAG = -3
 14BLACK = 0
 15RED = 1
 16GREEN = 2
 17YELLOW = 3
 18BLUE = 4
 19MAGENTA = 5
 20CYAN = 6
 21WHITE = 7
 22PUP_CLEAR = 0
 23PUP_COLOR = 1
 24PUP_BLACK = 2
 25PUP_WHITE = 3
 26NORMALDRAW = 0x010
 27PUPDRAW = 0x020
 28OVERDRAW = 0x040
 29UNDERDRAW = 0x080
 30CURSORDRAW = 0x100
 31DUALDRAW = 0x200
 32PATTERN_16 = 16
 33PATTERN_32 = 32
 34PATTERN_64 = 64
 35PATTERN_16_SIZE = 16
 36PATTERN_32_SIZE = 64
 37PATTERN_64_SIZE = 256
 38SRC_AUTO = 0
 39SRC_FRONT = 1
 40SRC_BACK = 2
 41SRC_ZBUFFER = 3
 42SRC_PUP = 4
 43SRC_OVER = 5
 44SRC_UNDER = 6
 45SRC_FRAMEGRABBER = 7
 46BF_ZERO = 0
 47BF_ONE = 1
 48BF_DC = 2
 49BF_SC = 2
 50BF_MDC = 3
 51BF_MSC = 3
 52BF_SA = 4
 53BF_MSA = 5
 54BF_DA = 6
 55BF_MDA = 7
 56BF_MIN_SA_MDA = 8
 57AF_NEVER = 0
 58AF_LESS = 1
 59AF_EQUAL = 2
 60AF_LEQUAL = 3
 61AF_GREATER = 4
 62AF_NOTEQUAL = 5
 63AF_GEQUAL = 6
 64AF_ALWAYS = 7
 65ZF_NEVER = 0
 66ZF_LESS = 1
 67ZF_EQUAL = 2
 68ZF_LEQUAL = 3
 69ZF_GREATER = 4
 70ZF_NOTEQUAL = 5
 71ZF_GEQUAL = 6
 72ZF_ALWAYS = 7
 73ZSRC_DEPTH = 0
 74ZSRC_COLOR = 1
 75SMP_OFF = 0x0
 76SMP_ON = 0x1
 77SMP_SMOOTHER = 0x2
 78SML_OFF = 0x0
 79SML_ON = 0x1
 80SML_SMOOTHER = 0x2
 81SML_END_CORRECT = 0x4
 82PYSM_OFF = 0
 83PYSM_ON = 1
 84PYSM_SHRINK = 2
 85DT_OFF = 0
 86DT_ON = 1
 87PUP_NONE = 0
 88PUP_GREY = 0x1
 89PUP_BOX = 0x2
 90PUP_CHECK = 0x4
 91GLC_OLDPOLYGON = 0
 92GLC_ZRANGEMAP = 1
 93GLC_MQUEUERATE = 2
 94GLC_SOFTATTACH = 3
 95GLC_MANAGEBG = 4
 96GLC_SLOWMAPCOLORS = 5
 97GLC_INPUTCHANGEBUG = 6
 98GLC_NOBORDERBUG = 7
 99GLC_SET_VSYNC = 8
100GLC_GET_VSYNC = 9
101GLC_VSYNC_SLEEP = 10
102GLC_COMPATRATE = 15
103C16X1 = 0
104C16X2 = 1
105C32X1 = 2
106C32X2 = 3
107CCROSS = 4
108FLAT = 0
109GOURAUD = 1
110LO_ZERO = 0x0
111LO_AND = 0x1
112LO_ANDR = 0x2
113LO_SRC = 0x3
114LO_ANDI = 0x4
115LO_DST = 0x5
116LO_XOR = 0x6
117LO_OR = 0x7
118LO_NOR = 0x8
119LO_XNOR = 0x9
120LO_NDST = 0xa
121LO_ORR = 0xb
122LO_NSRC = 0xc
123LO_ORI = 0xd
124LO_NAND = 0xe
125LO_ONE = 0xf
126INFOCUSSCRN = -2
127ST_KEEP = 0
128ST_ZERO = 1
129ST_REPLACE = 2
130ST_INCR = 3
131ST_DECR = 4
132ST_INVERT = 5
133SF_NEVER = 0
134SF_LESS = 1
135SF_EQUAL = 2
136SF_LEQUAL = 3
137SF_GREATER = 4
138SF_NOTEQUAL = 5
139SF_GEQUAL = 6
140SF_ALWAYS = 7
141SS_OFF = 0
142SS_DEPTH = 1
143PYM_FILL = 1
144PYM_POINT = 2
145PYM_LINE = 3
146PYM_HOLLOW = 4
147PYM_LINE_FAST = 5
148FG_OFF = 0
149FG_ON = 1
150FG_DEFINE = 2
151FG_VTX_EXP = 2
152FG_VTX_LIN = 3
153FG_PIX_EXP = 4
154FG_PIX_LIN = 5
155FG_VTX_EXP2 = 6
156FG_PIX_EXP2 = 7
157PM_SHIFT = 0
158PM_EXPAND = 1
159PM_C0 = 2
160PM_C1 = 3
161PM_ADD24 = 4
162PM_SIZE = 5
163PM_OFFSET = 6
164PM_STRIDE = 7
165PM_TTOB = 8
166PM_RTOL = 9
167PM_ZDATA = 10
168PM_WARP = 11
169PM_RDX = 12
170PM_RDY = 13
171PM_CDX = 14
172PM_CDY = 15
173PM_XSTART = 16
174PM_YSTART = 17
175PM_VO1 = 1000
176NAUTO = 0
177NNORMALIZE = 1
178AC_CLEAR = 0
179AC_ACCUMULATE = 1
180AC_CLEAR_ACCUMULATE = 2
181AC_RETURN = 3
182AC_MULT = 4
183AC_ADD = 5
184CP_OFF = 0
185CP_ON = 1
186CP_DEFINE = 2
187SB_RESET = 0
188SB_TRACK = 1
189SB_HOLD = 2
190RD_FREEZE = 0x00000001
191RD_ALPHAONE = 0x00000002
192RD_IGNORE_UNDERLAY = 0x00000004
193RD_IGNORE_OVERLAY = 0x00000008
194RD_IGNORE_PUP = 0x00000010
195RD_OFFSCREEN = 0x00000020
196GD_XPMAX = 0
197GD_YPMAX = 1
198GD_XMMAX = 2
199GD_YMMAX = 3
200GD_ZMIN = 4
201GD_ZMAX = 5
202GD_BITS_NORM_SNG_RED = 6
203GD_BITS_NORM_SNG_GREEN = 7
204GD_BITS_NORM_SNG_BLUE = 8
205GD_BITS_NORM_DBL_RED = 9
206GD_BITS_NORM_DBL_GREEN = 10
207GD_BITS_NORM_DBL_BLUE = 11
208GD_BITS_NORM_SNG_CMODE = 12
209GD_BITS_NORM_DBL_CMODE = 13
210GD_BITS_NORM_SNG_MMAP = 14
211GD_BITS_NORM_DBL_MMAP = 15
212GD_BITS_NORM_ZBUFFER = 16
213GD_BITS_OVER_SNG_CMODE = 17
214GD_BITS_UNDR_SNG_CMODE = 18
215GD_BITS_PUP_SNG_CMODE = 19
216GD_BITS_NORM_SNG_ALPHA = 21
217GD_BITS_NORM_DBL_ALPHA = 22
218GD_BITS_CURSOR = 23
219GD_OVERUNDER_SHARED = 24
220GD_BLEND = 25
221GD_CIFRACT = 26
222GD_CROSSHAIR_CINDEX = 27
223GD_DITHER = 28
224GD_LINESMOOTH_CMODE = 30
225GD_LINESMOOTH_RGB = 31
226GD_LOGICOP = 33
227GD_NSCRNS = 35
228GD_NURBS_ORDER = 36
229GD_NBLINKS = 37
230GD_NVERTEX_POLY = 39
231GD_PATSIZE_64 = 40
232GD_PNTSMOOTH_CMODE = 41
233GD_PNTSMOOTH_RGB = 42
234GD_PUP_TO_OVERUNDER = 43
235GD_READSOURCE = 44
236GD_READSOURCE_ZBUFFER = 48
237GD_STEREO = 50
238GD_SUBPIXEL_LINE = 51
239GD_SUBPIXEL_PNT = 52
240GD_SUBPIXEL_POLY = 53
241GD_TRIMCURVE_ORDER = 54
242GD_WSYS = 55
243GD_ZDRAW_GEOM = 57
244GD_ZDRAW_PIXELS = 58
245GD_SCRNTYPE = 61
246GD_TEXTPORT = 62
247GD_NMMAPS = 63
248GD_FRAMEGRABBER = 64
249GD_TIMERHZ = 66
250GD_DBBOX = 67
251GD_AFUNCTION = 68
252GD_ALPHA_OVERUNDER = 69
253GD_BITS_ACBUF = 70
254GD_BITS_ACBUF_HW = 71
255GD_BITS_STENCIL = 72
256GD_CLIPPLANES = 73
257GD_FOGVERTEX = 74
258GD_LIGHTING_TWOSIDE = 76
259GD_POLYMODE = 77
260GD_POLYSMOOTH = 78
261GD_SCRBOX = 79
262GD_TEXTURE = 80
263GD_FOGPIXEL = 81
264GD_TEXTURE_PERSP = 82
265GD_MUXPIPES = 83
266GD_NOLIMIT = -2
267GD_WSYS_NONE = 0
268GD_WSYS_4S = 1
269GD_SCRNTYPE_WM = 0
270GD_SCRNTYPE_NOWM = 1
271N_PIXEL_TOLERANCE = 1
272N_CULLING = 2
273N_DISPLAY = 3
274N_ERRORCHECKING = 4
275N_SUBDIVISIONS = 5
276N_S_STEPS = 6
277N_T_STEPS = 7
278N_TILES = 8
279N_TMP1 = 9
280N_TMP2 = 10
281N_TMP3 = 11
282N_TMP4 = 12
283N_TMP5 = 13
284N_TMP6 = 14
285N_FILL = 1.0
286N_OUTLINE_POLY = 2.0
287N_OUTLINE_PATCH = 5.0
288N_ISOLINE_S = 12.0
289N_ST = 0x8
290N_STW = 0xd
291N_XYZ = 0x4c
292N_XYZW = 0x51
293N_TEX = 0x88
294N_TEXW = 0x8d
295N_RGBA = 0xd0
296N_RGBAW = 0xd5
297N_P2D = 0x8
298N_P2DR = 0xd
299N_V3D = 0x4c
300N_V3DR = 0x51
301N_T2D = 0x88
302N_T2DR = 0x8d
303N_C4D = 0xd0
304N_C4DR = 0xd5
305LMNULL = 0.0
306MSINGLE = 0
307MPROJECTION = 1
308MVIEWING = 2
309MTEXTURE = 3
310MAXLIGHTS = 8
311MAXRESTRICTIONS = 4
312DEFMATERIAL = 0
313EMISSION = 1
314AMBIENT = 2
315DIFFUSE = 3
316SPECULAR = 4
317SHININESS = 5
318COLORINDEXES = 6
319ALPHA = 7
320DEFLIGHT = 100
321LCOLOR = 101
322POSITION = 102
323SPOTDIRECTION = 103
324SPOTLIGHT = 104
325DEFLMODEL = 200
326LOCALVIEWER = 201
327ATTENUATION = 202
328ATTENUATION2 = 203
329TWOSIDE = 204
330MATERIAL = 1000
331BACKMATERIAL = 1001
332LIGHT0 = 1100
333LIGHT1 = 1101
334LIGHT2 = 1102
335LIGHT3 = 1103
336LIGHT4 = 1104
337LIGHT5 = 1105
338LIGHT6 = 1106
339LIGHT7 = 1107
340LMODEL = 1200
341LMC_COLOR = 0
342LMC_EMISSION = 1
343LMC_AMBIENT = 2
344LMC_DIFFUSE = 3
345LMC_SPECULAR = 4
346LMC_AD = 5
347LMC_NULL = 6
348TX_MINFILTER = 0x100
349TX_MAGFILTER = 0x200
350TX_WRAP = 0x300
351TX_WRAP_S = 0x310
352TX_WRAP_T = 0x320
353TX_TILE = 0x400
354TX_BORDER = 0x500
355TX_NULL = 0x000
356TX_POINT = 0x110
357TX_BILINEAR = 0x220
358TX_MIPMAP = 0x120
359TX_MIPMAP_POINT = 0x121
360TX_MIPMAP_LINEAR = 0x122
361TX_MIPMAP_BILINEAR = 0x123
362TX_MIPMAP_TRILINEAR = 0x124
363TX_REPEAT = 0x301
364TX_CLAMP = 0x302
365TX_SELECT = 0x303
366TX_TEXTURE_0 = 0
367TV_MODULATE = 0x101
368TV_BLEND = 0x102
369TV_DECAL = 0x103
370TV_COLOR = 0x200
371TV_NULL = 0x000
372TV_ENV0 = 0
373TX_S = 0
374TX_T = 1
375TG_OFF = 0
376TG_ON = 1
377TG_CONTOUR = 2
378TG_LINEAR = 3
379TG_SPHEREMAP = 4
380TG_REFRACTMAP = 5
381DGLSINK = 0
382DGLLOCAL = 1
383DGLTSOCKET = 2
384DGL4DDN = 3
385PUP_CURSOR = PUP_COLOR
386FATAL = 1
387WARNING = 2
388ASK_CONT = 3
389ASK_RESTART = 4
390XMAXSCREEN = 1279
391YMAXSCREEN = 1023
392XMAXMEDIUM = 1023
393YMAXMEDIUM = 767
394XMAX170 = 645
395YMAX170 = 484
396XMAXPAL = 779
397YMAXPAL = 574