7 printf(
";;; Boolean values\n");
8 printf(
"(defconstant GL_FALSE %d)\n", GL_FALSE);
9 printf(
"(defconstant GL_TRUE %d)\n", GL_TRUE);
13 printf(
";;; Data types\n");
14 printf(
"(defconstant GL_BYTE %d)\n", GL_BYTE);
15 printf(
"(defconstant GL_UNSIGNED_BYTE %d)\n", GL_UNSIGNED_BYTE);
16 printf(
"(defconstant GL_SHORT %d)\n", GL_SHORT);
17 printf(
"(defconstant GL_UNSIGNED_SHORT %d)\n", GL_UNSIGNED_SHORT);
18 printf(
"(defconstant GL_INT %d)\n", GL_INT);
19 printf(
"(defconstant GL_UNSIGNED_INT %d)\n", GL_UNSIGNED_INT);
20 printf(
"(defconstant GL_FLOAT %d)\n", GL_FLOAT);
21 printf(
"(defconstant GL_2_BYTES %d)\n", GL_2_BYTES);
22 printf(
"(defconstant GL_3_BYTES %d)\n", GL_3_BYTES);
23 printf(
"(defconstant GL_4_BYTES %d)\n", GL_4_BYTES);
27 printf(
";;; Primitives\n");
28 printf(
"(defconstant GL_LINES %d)\n", GL_LINES);
29 printf(
"(defconstant GL_POINTS %d)\n", GL_POINTS);
30 printf(
"(defconstant GL_LINE_STRIP %d)\n", GL_LINE_STRIP);
31 printf(
"(defconstant GL_LINE_LOOP %d)\n", GL_LINE_LOOP);
32 printf(
"(defconstant GL_TRIANGLES %d)\n", GL_TRIANGLES);
33 printf(
"(defconstant GL_TRIANGLE_STRIP %d)\n", GL_TRIANGLE_STRIP);
34 printf(
"(defconstant GL_TRIANGLE_FAN %d)\n", GL_TRIANGLE_FAN);
35 printf(
"(defconstant GL_QUADS %d)\n", GL_QUADS);
36 printf(
"(defconstant GL_QUAD_STRIP %d)\n", GL_QUAD_STRIP);
37 printf(
"(defconstant GL_POLYGON %d)\n", GL_POLYGON);
38 printf(
"(defconstant GL_EDGE_FLAG %d)\n", GL_EDGE_FLAG);
42 printf(
";;; Matrix Mode\n");
43 printf(
"(defconstant GL_MATRIX_MODE %d)\n", GL_MATRIX_MODE);
44 printf(
"(defconstant GL_MODELVIEW %d)\n", GL_MODELVIEW);
45 printf(
"(defconstant GL_PROJECTION %d)\n", GL_PROJECTION);
46 printf(
"(defconstant GL_TEXTURE %d)\n", GL_TEXTURE);
50 printf(
";;; Points\n");
51 printf(
"(defconstant GL_POINT_SMOOTH %d)\n", GL_POINT_SMOOTH);
52 printf(
"(defconstant GL_POINT_SIZE %d)\n", GL_POINT_SIZE);
53 printf(
"(defconstant GL_POINT_SIZE_GRANULARITY %d)\n", GL_POINT_SIZE_GRANULARITY);
54 printf(
"(defconstant GL_POINT_SIZE_RANGE %d)\n", GL_POINT_SIZE_RANGE);
58 printf(
";;; Lines\n");
59 printf(
"(defconstant GL_LINE_SMOOTH %d)\n", GL_LINE_SMOOTH);
60 printf(
"(defconstant GL_LINE_STIPPLE %d)\n", GL_LINE_STIPPLE);
61 printf(
"(defconstant GL_LINE_STIPPLE_PATTERN %d)\n", GL_LINE_STIPPLE_PATTERN);
62 printf(
"(defconstant GL_LINE_STIPPLE_REPEAT %d)\n", GL_LINE_STIPPLE_REPEAT);
63 printf(
"(defconstant GL_LINE_WIDTH %d)\n", GL_LINE_WIDTH);
64 printf(
"(defconstant GL_LINE_WIDTH_GRANULARITY %d)\n", GL_LINE_WIDTH_GRANULARITY);
65 printf(
"(defconstant GL_LINE_WIDTH_RANGE %d)\n", GL_LINE_WIDTH_RANGE);
69 printf(
";;; Polygons\n");
70 printf(
"(defconstant GL_POINT %d)\n", GL_POINT);
71 printf(
"(defconstant GL_LINE %d)\n", GL_LINE);
72 printf(
"(defconstant GL_FILL %d)\n", GL_FILL);
73 printf(
"(defconstant GL_CCW %d)\n", GL_CCW);
74 printf(
"(defconstant GL_CW %d)\n", GL_CW);
75 printf(
"(defconstant GL_FRONT %d)\n", GL_FRONT);
76 printf(
"(defconstant GL_BACK %d)\n", GL_BACK);
77 printf(
"(defconstant GL_CULL_FACE %d)\n", GL_CULL_FACE);
78 printf(
"(defconstant GL_CULL_FACE_MODE %d)\n", GL_CULL_FACE_MODE);
79 printf(
"(defconstant GL_POLYGON_SMOOTH %d)\n", GL_POLYGON_SMOOTH);
80 printf(
"(defconstant GL_POLYGON_STIPPLE %d)\n", GL_POLYGON_STIPPLE);
81 printf(
"(defconstant GL_FRONT_FACE %d)\n", GL_FRONT_FACE);
82 printf(
"(defconstant GL_POLYGON_MODE %d)\n", GL_POLYGON_MODE);
86 printf(
";;; Display Lists\n");
87 printf(
"(defconstant GL_COMPILE %d)\n", GL_COMPILE);
88 printf(
"(defconstant GL_COMPILE_AND_EXECUTE %d)\n", GL_COMPILE_AND_EXECUTE);
89 printf(
"(defconstant GL_LIST_BASE %d)\n", GL_LIST_BASE);
90 printf(
"(defconstant GL_LIST_INDEX %d)\n", GL_LIST_INDEX);
91 printf(
"(defconstant GL_LIST_MODE %d)\n", GL_LIST_MODE);
95 printf(
";;; Depth buffer\n");
96 printf(
"(defconstant GL_NEVER %d)\n", GL_NEVER);
97 printf(
"(defconstant GL_LESS %d)\n", GL_LESS);
98 printf(
"(defconstant GL_GEQUAL %d)\n", GL_GEQUAL);
99 printf(
"(defconstant GL_LEQUAL %d)\n", GL_LEQUAL);
100 printf(
"(defconstant GL_GREATER %d)\n", GL_GREATER);
101 printf(
"(defconstant GL_NOTEQUAL %d)\n", GL_NOTEQUAL);
102 printf(
"(defconstant GL_EQUAL %d)\n", GL_EQUAL);
103 printf(
"(defconstant GL_ALWAYS %d)\n", GL_ALWAYS);
104 printf(
"(defconstant GL_DEPTH_TEST %d)\n", GL_DEPTH_TEST);
105 printf(
"(defconstant GL_DEPTH_BITS %d)\n", GL_DEPTH_BITS);
106 printf(
"(defconstant GL_DEPTH_CLEAR_VALUE %d)\n", GL_DEPTH_CLEAR_VALUE);
107 printf(
"(defconstant GL_DEPTH_FUNC %d)\n", GL_DEPTH_FUNC);
108 printf(
"(defconstant GL_DEPTH_RANGE %d)\n", GL_DEPTH_RANGE);
109 printf(
"(defconstant GL_DEPTH_WRITEMASK %d)\n", GL_DEPTH_WRITEMASK);
110 printf(
"(defconstant GL_DEPTH_COMPONENT %d)\n", GL_DEPTH_COMPONENT);
114 printf(
";;; Lighting\n");
115 printf(
"(defconstant GL_LIGHTING %d)\n", GL_LIGHTING);
116 printf(
"(defconstant GL_LIGHT0 %d)\n", GL_LIGHT0);
117 printf(
"(defconstant GL_LIGHT1 %d)\n", GL_LIGHT1);
118 printf(
"(defconstant GL_LIGHT2 %d)\n", GL_LIGHT2);
119 printf(
"(defconstant GL_LIGHT3 %d)\n", GL_LIGHT3);
120 printf(
"(defconstant GL_LIGHT4 %d)\n", GL_LIGHT4);
121 printf(
"(defconstant GL_LIGHT5 %d)\n", GL_LIGHT5);
122 printf(
"(defconstant GL_LIGHT6 %d)\n", GL_LIGHT6);
123 printf(
"(defconstant GL_LIGHT7 %d)\n", GL_LIGHT7);
124 printf(
"(defconstant GL_SPOT_EXPONENT %d)\n", GL_SPOT_EXPONENT);
125 printf(
"(defconstant GL_SPOT_CUTOFF %d)\n", GL_SPOT_CUTOFF);
126 printf(
"(defconstant GL_CONSTANT_ATTENUATION %d)\n", GL_CONSTANT_ATTENUATION);
127 printf(
"(defconstant GL_LINEAR_ATTENUATION %d)\n", GL_LINEAR_ATTENUATION);
128 printf(
"(defconstant GL_QUADRATIC_ATTENUATION %d)\n", GL_QUADRATIC_ATTENUATION);
129 printf(
"(defconstant GL_AMBIENT %d)\n", GL_AMBIENT);
130 printf(
"(defconstant GL_DIFFUSE %d)\n", GL_DIFFUSE);
131 printf(
"(defconstant GL_SPECULAR %d)\n", GL_SPECULAR);
132 printf(
"(defconstant GL_SHININESS %d)\n", GL_SHININESS);
133 printf(
"(defconstant GL_EMISSION %d)\n", GL_EMISSION);
134 printf(
"(defconstant GL_POSITION %d)\n", GL_POSITION);
135 printf(
"(defconstant GL_SPOT_DIRECTION %d)\n", GL_SPOT_DIRECTION);
136 printf(
"(defconstant GL_AMBIENT_AND_DIFFUSE %d)\n", GL_AMBIENT_AND_DIFFUSE);
137 printf(
"(defconstant GL_COLOR_INDEXES %d)\n", GL_COLOR_INDEXES);
138 printf(
"(defconstant GL_LIGHT_MODEL_TWO_SIDE %d)\n", GL_LIGHT_MODEL_TWO_SIDE);
139 printf(
"(defconstant GL_LIGHT_MODEL_LOCAL_VIEWER %d)\n", GL_LIGHT_MODEL_LOCAL_VIEWER);
140 printf(
"(defconstant GL_LIGHT_MODEL_AMBIENT %d)\n", GL_LIGHT_MODEL_AMBIENT);
141 printf(
"(defconstant GL_FRONT_AND_BACK %d)\n", GL_FRONT_AND_BACK);
142 printf(
"(defconstant GL_SHADE_MODEL %d)\n", GL_SHADE_MODEL);
143 printf(
"(defconstant GL_FLAT %d)\n", GL_FLAT);
144 printf(
"(defconstant GL_SMOOTH %d)\n", GL_SMOOTH);
145 printf(
"(defconstant GL_COLOR_MATERIAL %d)\n", GL_COLOR_MATERIAL);
146 printf(
"(defconstant GL_COLOR_MATERIAL_FACE %d)\n", GL_COLOR_MATERIAL_FACE);
147 printf(
"(defconstant GL_COLOR_MATERIAL_PARAMETER %d)\n", GL_COLOR_MATERIAL_PARAMETER);
148 printf(
"(defconstant GL_NORMALIZE %d)\n", GL_NORMALIZE);
152 printf(
";;; User clipping planes\n");
153 printf(
"(defconstant GL_CLIP_PLANE0 %d)\n", GL_CLIP_PLANE0);
154 printf(
"(defconstant GL_CLIP_PLANE1 %d)\n", GL_CLIP_PLANE1);
155 printf(
"(defconstant GL_CLIP_PLANE2 %d)\n", GL_CLIP_PLANE2);
156 printf(
"(defconstant GL_CLIP_PLANE3 %d)\n", GL_CLIP_PLANE3);
157 printf(
"(defconstant GL_CLIP_PLANE4 %d)\n", GL_CLIP_PLANE4);
158 printf(
"(defconstant GL_CLIP_PLANE5 %d)\n", GL_CLIP_PLANE5);
162 printf(
";;; Accumulation buffer\n");
163 printf(
"(defconstant GL_ACCUM_RED_BITS %d)\n", GL_ACCUM_RED_BITS);
164 printf(
"(defconstant GL_ACCUM_GREEN_BITS %d)\n", GL_ACCUM_GREEN_BITS);
165 printf(
"(defconstant GL_ACCUM_BLUE_BITS %d)\n", GL_ACCUM_BLUE_BITS);
166 printf(
"(defconstant GL_ACCUM_ALPHA_BITS %d)\n", GL_ACCUM_ALPHA_BITS);
167 printf(
"(defconstant GL_ACCUM_CLEAR_VALUE %d)\n", GL_ACCUM_CLEAR_VALUE);
168 printf(
"(defconstant GL_ACCUM %d)\n", GL_ACCUM);
169 printf(
"(defconstant GL_ADD %d)\n", GL_ADD);
170 printf(
"(defconstant GL_LOAD %d)\n", GL_LOAD);
171 printf(
"(defconstant GL_MULT %d)\n", GL_MULT);
172 printf(
"(defconstant GL_RETURN %d)\n", GL_RETURN);
176 printf(
";;; Alpha testing\n");
177 printf(
"(defconstant GL_ALPHA_TEST %d)\n", GL_ALPHA_TEST);
178 printf(
"(defconstant GL_ALPHA_TEST_REF %d)\n", GL_ALPHA_TEST_REF);
179 printf(
"(defconstant GL_ALPHA_TEST_FUNC %d)\n", GL_ALPHA_TEST_FUNC);
183 printf(
";;; Blending\n");
184 printf(
"(defconstant GL_BLEND %d)\n", GL_BLEND);
185 printf(
"(defconstant GL_BLEND_SRC %d)\n", GL_BLEND_SRC);
186 printf(
"(defconstant GL_BLEND_DST %d)\n", GL_BLEND_DST);
187 printf(
"(defconstant GL_ZERO %d)\n", GL_ZERO);
188 printf(
"(defconstant GL_ONE %d)\n", GL_ONE);
189 printf(
"(defconstant GL_SRC_COLOR %d)\n", GL_SRC_COLOR);
190 printf(
"(defconstant GL_ONE_MINUS_SRC_COLOR %d)\n", GL_ONE_MINUS_SRC_COLOR);
191 printf(
"(defconstant GL_DST_COLOR %d)\n", GL_DST_COLOR);
192 printf(
"(defconstant GL_ONE_MINUS_DST_COLOR %d)\n", GL_ONE_MINUS_DST_COLOR);
193 printf(
"(defconstant GL_SRC_ALPHA %d)\n", GL_SRC_ALPHA);
194 printf(
"(defconstant GL_ONE_MINUS_SRC_ALPHA %d)\n", GL_ONE_MINUS_SRC_ALPHA);
195 printf(
"(defconstant GL_DST_ALPHA %d)\n", GL_DST_ALPHA);
196 printf(
"(defconstant GL_ONE_MINUS_DST_ALPHA %d)\n", GL_ONE_MINUS_DST_ALPHA);
197 printf(
"(defconstant GL_SRC_ALPHA_SATURATE %d)\n", GL_SRC_ALPHA_SATURATE);
201 printf(
";;; Render Mode\n");
202 printf(
"(defconstant GL_FEEDBACK %d)\n", GL_FEEDBACK);
203 printf(
"(defconstant GL_RENDER %d)\n", GL_RENDER);
204 printf(
"(defconstant GL_SELECT %d)\n", GL_SELECT);
208 printf(
";;; Feedback\n");
209 printf(
"(defconstant GL_2D %d)\n", GL_2D);
210 printf(
"(defconstant GL_3D %d)\n", GL_3D);
211 printf(
"(defconstant GL_3D_COLOR %d)\n", GL_3D_COLOR);
212 printf(
"(defconstant GL_3D_COLOR_TEXTURE %d)\n", GL_3D_COLOR_TEXTURE);
213 printf(
"(defconstant GL_4D_COLOR_TEXTURE %d)\n", GL_4D_COLOR_TEXTURE);
214 printf(
"(defconstant GL_POINT_TOKEN %d)\n", GL_POINT_TOKEN);
215 printf(
"(defconstant GL_LINE_TOKEN %d)\n", GL_LINE_TOKEN);
216 printf(
"(defconstant GL_LINE_RESET_TOKEN %d)\n", GL_LINE_RESET_TOKEN);
217 printf(
"(defconstant GL_POLYGON_TOKEN %d)\n", GL_POLYGON_TOKEN);
218 printf(
"(defconstant GL_BITMAP_TOKEN %d)\n", GL_BITMAP_TOKEN);
219 printf(
"(defconstant GL_DRAW_PIXEL_TOKEN %d)\n", GL_DRAW_PIXEL_TOKEN);
220 printf(
"(defconstant GL_COPY_PIXEL_TOKEN %d)\n", GL_COPY_PIXEL_TOKEN);
221 printf(
"(defconstant GL_PASS_THROUGH_TOKEN %d)\n", GL_PASS_THROUGH_TOKEN);
226 printf(
"(defconstant GL_FOG %d)\n", GL_FOG);
227 printf(
"(defconstant GL_FOG_MODE %d)\n", GL_FOG_MODE);
228 printf(
"(defconstant GL_FOG_DENSITY %d)\n", GL_FOG_DENSITY);
229 printf(
"(defconstant GL_FOG_COLOR %d)\n", GL_FOG_COLOR);
230 printf(
"(defconstant GL_FOG_INDEX %d)\n", GL_FOG_INDEX);
231 printf(
"(defconstant GL_FOG_START %d)\n", GL_FOG_START);
232 printf(
"(defconstant GL_FOG_END %d)\n", GL_FOG_END);
233 printf(
"(defconstant GL_LINEAR %d)\n", GL_LINEAR);
234 printf(
"(defconstant GL_EXP %d)\n", GL_EXP);
235 printf(
"(defconstant GL_EXP2 %d)\n", GL_EXP2);
239 printf(
";;; Logic Ops\n");
240 printf(
"(defconstant GL_LOGIC_OP %d)\n", GL_LOGIC_OP);
241 printf(
"(defconstant GL_LOGIC_OP_MODE %d)\n", GL_LOGIC_OP_MODE);
242 printf(
"(defconstant GL_CLEAR %d)\n", GL_CLEAR);
243 printf(
"(defconstant GL_SET %d)\n", GL_SET);
244 printf(
"(defconstant GL_COPY %d)\n", GL_COPY);
245 printf(
"(defconstant GL_COPY_INVERTED %d)\n", GL_COPY_INVERTED);
246 printf(
"(defconstant GL_NOOP %d)\n", GL_NOOP);
247 printf(
"(defconstant GL_INVERT %d)\n", GL_INVERT);
248 printf(
"(defconstant GL_AND %d)\n", GL_AND);
249 printf(
"(defconstant GL_NAND %d)\n", GL_NAND);
250 printf(
"(defconstant GL_OR %d)\n", GL_OR);
251 printf(
"(defconstant GL_NOR %d)\n", GL_NOR);
252 printf(
"(defconstant GL_XOR %d)\n", GL_XOR);
253 printf(
"(defconstant GL_EQUIV %d)\n", GL_EQUIV);
254 printf(
"(defconstant GL_AND_REVERSE %d)\n", GL_AND_REVERSE);
255 printf(
"(defconstant GL_AND_INVERTED %d)\n", GL_AND_INVERTED);
256 printf(
"(defconstant GL_OR_REVERSE %d)\n", GL_OR_REVERSE);
257 printf(
"(defconstant GL_OR_INVERTED %d)\n", GL_OR_INVERTED);
261 printf(
";;; Stencil\n");
262 printf(
"(defconstant GL_STENCIL_TEST %d)\n", GL_STENCIL_TEST);
263 printf(
"(defconstant GL_STENCIL_WRITEMASK %d)\n", GL_STENCIL_WRITEMASK);
264 printf(
"(defconstant GL_STENCIL_BITS %d)\n", GL_STENCIL_BITS);
265 printf(
"(defconstant GL_STENCIL_FUNC %d)\n", GL_STENCIL_FUNC);
266 printf(
"(defconstant GL_STENCIL_VALUE_MASK %d)\n", GL_STENCIL_VALUE_MASK);
267 printf(
"(defconstant GL_STENCIL_REF %d)\n", GL_STENCIL_REF);
268 printf(
"(defconstant GL_STENCIL_FAIL %d)\n", GL_STENCIL_FAIL);
269 printf(
"(defconstant GL_STENCIL_PASS_DEPTH_PASS %d)\n", GL_STENCIL_PASS_DEPTH_PASS);
270 printf(
"(defconstant GL_STENCIL_PASS_DEPTH_FAIL %d)\n", GL_STENCIL_PASS_DEPTH_FAIL);
271 printf(
"(defconstant GL_STENCIL_CLEAR_VALUE %d)\n", GL_STENCIL_CLEAR_VALUE);
272 printf(
"(defconstant GL_STENCIL_INDEX %d)\n", GL_STENCIL_INDEX);
273 printf(
"(defconstant GL_KEEP %d)\n", GL_KEEP);
274 printf(
"(defconstant GL_REPLACE %d)\n", GL_REPLACE);
275 printf(
"(defconstant GL_INCR %d)\n", GL_INCR);
276 printf(
"(defconstant GL_DECR %d)\n", GL_DECR);
280 printf(
";;; Buffers Pixel Drawing/Reading\n");
281 printf(
"(defconstant GL_NONE %d)\n", GL_NONE);
282 printf(
"(defconstant GL_LEFT %d)\n", GL_LEFT);
283 printf(
"(defconstant GL_RIGHT %d)\n", GL_RIGHT);
284 printf(
"(defconstant GL_FRONT_LEFT %d)\n", GL_FRONT_LEFT);
285 printf(
"(defconstant GL_FRONT_RIGHT %d)\n", GL_FRONT_RIGHT);
286 printf(
"(defconstant GL_BACK_LEFT %d)\n", GL_BACK_LEFT);
287 printf(
"(defconstant GL_BACK_RIGHT %d)\n", GL_BACK_RIGHT);
288 printf(
"(defconstant GL_AUX0 %d)\n", GL_AUX0);
289 printf(
"(defconstant GL_COLOR_INDEX %d)\n", GL_COLOR_INDEX);
290 printf(
"(defconstant GL_STENCIL_BUFFER %d)\n", GL_STENCIL_BUFFER);
291 printf(
"(defconstant GL_DEPTH_BUFFER %d)\n", GL_DEPTH_BUFFER);
292 printf(
"(defconstant GL_RED %d)\n", GL_RED);
293 printf(
"(defconstant GL_GREEN %d)\n", GL_GREEN);
294 printf(
"(defconstant GL_BLUE %d)\n", GL_BLUE);
295 printf(
"(defconstant GL_ALPHA %d)\n", GL_ALPHA);
296 printf(
"(defconstant GL_LUMINANCE %d)\n", GL_LUMINANCE);
297 printf(
"(defconstant GL_LUMINANCE_ALPHA %d)\n", GL_LUMINANCE_ALPHA);
298 printf(
"(defconstant GL_ALPHA_BITS %d)\n", GL_ALPHA_BITS);
299 printf(
"(defconstant GL_RED_BITS %d)\n", GL_RED_BITS);
300 printf(
"(defconstant GL_GREEN_BITS %d)\n", GL_GREEN_BITS);
301 printf(
"(defconstant GL_BLUE_BITS %d)\n", GL_BLUE_BITS);
302 printf(
"(defconstant GL_INDEX_BITS %d)\n", GL_INDEX_BITS);
303 printf(
"(defconstant GL_SUBPIXEL_BITS %d)\n", GL_SUBPIXEL_BITS);
304 printf(
"(defconstant GL_AUX_BUFFERS %d)\n", GL_AUX_BUFFERS);
305 printf(
"(defconstant GL_READ_BUFFER %d)\n", GL_READ_BUFFER);
306 printf(
"(defconstant GL_DRAW_BUFFER %d)\n", GL_DRAW_BUFFER);
307 printf(
"(defconstant GL_DOUBLEBUFFER %d)\n", GL_DOUBLEBUFFER);
308 printf(
"(defconstant GL_STEREO %d)\n", GL_STEREO);
309 printf(
"(defconstant GL_BITMAP %d)\n", GL_BITMAP);
310 printf(
"(defconstant GL_COLOR %d)\n", GL_COLOR);
311 printf(
"(defconstant GL_DEPTH %d)\n", GL_DEPTH);
312 printf(
"(defconstant GL_STENCIL %d)\n", GL_STENCIL);
313 printf(
"(defconstant GL_DITHER %d)\n", GL_DITHER);
314 printf(
"(defconstant GL_RGB %d)\n", GL_RGB);
315 printf(
"(defconstant GL_RGBA %d)\n", GL_RGBA);
319 printf(
";;; Implementation limits\n");
320 printf(
"(defconstant GL_MAX_MODELVIEW_STACK_DEPTH %d)\n", GL_MAX_MODELVIEW_STACK_DEPTH);
321 printf(
"(defconstant GL_MAX_PROJECTION_STACK_DEPTH %d)\n", GL_MAX_PROJECTION_STACK_DEPTH);
322 printf(
"(defconstant GL_MAX_TEXTURE_STACK_DEPTH %d)\n", GL_MAX_TEXTURE_STACK_DEPTH);
323 printf(
"(defconstant GL_MAX_ATTRIB_STACK_DEPTH %d)\n", GL_MAX_ATTRIB_STACK_DEPTH);
324 printf(
"(defconstant GL_MAX_NAME_STACK_DEPTH %d)\n", GL_MAX_NAME_STACK_DEPTH);
326 printf(
"(defconstant GL_MAX_LIST_NESTING %d)\n", GL_MAX_LIST_NESTING);
327 printf(
"(defconstant GL_MAX_LIGHTS %d)\n", GL_MAX_LIGHTS);
328 printf(
"(defconstant GL_MAX_CLIP_PLANES %d)\n", GL_MAX_CLIP_PLANES);
329 printf(
"(defconstant GL_MAX_VIEWPORT_DIMS %d)\n", GL_MAX_VIEWPORT_DIMS);
330 printf(
"(defconstant GL_MAX_PIXEL_MAP_TABLE %d)\n", GL_MAX_PIXEL_MAP_TABLE);
331 printf(
"(defconstant GL_MAX_EVAL_ORDER %d)\n", GL_MAX_EVAL_ORDER);
332 printf(
"(defconstant GL_MAX_TEXTURE_SIZE %d)\n", GL_MAX_TEXTURE_SIZE);
336 printf(
";;; Gets\n");
337 printf(
"(defconstant GL_ATTRIB_STACK_DEPTH %d)\n", GL_ATTRIB_STACK_DEPTH);
338 printf(
"(defconstant GL_COLOR_CLEAR_VALUE %d)\n", GL_COLOR_CLEAR_VALUE);
339 printf(
"(defconstant GL_COLOR_WRITEMASK %d)\n", GL_COLOR_WRITEMASK);
340 printf(
"(defconstant GL_CURRENT_INDEX %d)\n", GL_CURRENT_INDEX);
341 printf(
"(defconstant GL_CURRENT_COLOR %d)\n", GL_CURRENT_COLOR);
342 printf(
"(defconstant GL_CURRENT_NORMAL %d)\n", GL_CURRENT_NORMAL);
343 printf(
"(defconstant GL_CURRENT_RASTER_COLOR %d)\n", GL_CURRENT_RASTER_COLOR);
344 printf(
"(defconstant GL_CURRENT_RASTER_DISTANCE %d)\n", GL_CURRENT_RASTER_DISTANCE);
345 printf(
"(defconstant GL_CURRENT_RASTER_INDEX %d)\n", GL_CURRENT_RASTER_INDEX);
346 printf(
"(defconstant GL_CURRENT_RASTER_POSITION %d)\n", GL_CURRENT_RASTER_POSITION);
347 printf(
"(defconstant GL_CURRENT_RASTER_TEXTURE_COORDS %d)\n", GL_CURRENT_RASTER_TEXTURE_COORDS);
348 printf(
"(defconstant GL_CURRENT_RASTER_POSITION_VALID %d)\n", GL_CURRENT_RASTER_POSITION_VALID);
349 printf(
"(defconstant GL_CURRENT_TEXTURE_COORDS %d)\n", GL_CURRENT_TEXTURE_COORDS);
350 printf(
"(defconstant GL_INDEX_CLEAR_VALUE %d)\n", GL_INDEX_CLEAR_VALUE);
351 printf(
"(defconstant GL_INDEX_MODE %d)\n", GL_INDEX_MODE);
352 printf(
"(defconstant GL_INDEX_WRITEMASK %d)\n", GL_INDEX_WRITEMASK);
353 printf(
"(defconstant GL_MODELVIEW_MATRIX %d)\n", GL_MODELVIEW_MATRIX);
354 printf(
"(defconstant GL_MODELVIEW_STACK_DEPTH %d)\n", GL_MODELVIEW_STACK_DEPTH);
355 printf(
"(defconstant GL_NAME_STACK_DEPTH %d)\n", GL_NAME_STACK_DEPTH);
356 printf(
"(defconstant GL_PROJECTION_MATRIX %d)\n", GL_PROJECTION_MATRIX);
357 printf(
"(defconstant GL_PROJECTION_STACK_DEPTH %d)\n", GL_PROJECTION_STACK_DEPTH);
358 printf(
"(defconstant GL_RENDER_MODE %d)\n", GL_RENDER_MODE);
359 printf(
"(defconstant GL_RGBA_MODE %d)\n", GL_RGBA_MODE);
360 printf(
"(defconstant GL_TEXTURE_MATRIX %d)\n", GL_TEXTURE_MATRIX);
361 printf(
"(defconstant GL_TEXTURE_STACK_DEPTH %d)\n", GL_TEXTURE_STACK_DEPTH);
362 printf(
"(defconstant GL_VIEWPORT %d)\n", GL_VIEWPORT);
369 printf(
";;; Evaluators\n");
370 printf(
"(defconstant GL_AUTO_NORMAL %d)\n", GL_AUTO_NORMAL);
371 printf(
"(defconstant GL_MAP1_COLOR_4 %d)\n", GL_MAP1_COLOR_4);
372 printf(
"(defconstant GL_MAP1_GRID_DOMAIN %d)\n", GL_MAP1_GRID_DOMAIN);
373 printf(
"(defconstant GL_MAP1_GRID_SEGMENTS %d)\n", GL_MAP1_GRID_SEGMENTS);
374 printf(
"(defconstant GL_MAP1_INDEX %d)\n", GL_MAP1_INDEX);
375 printf(
"(defconstant GL_MAP1_NORMAL %d)\n", GL_MAP1_NORMAL);
376 printf(
"(defconstant GL_MAP1_TEXTURE_COORD_1 %d)\n", GL_MAP1_TEXTURE_COORD_1);
377 printf(
"(defconstant GL_MAP1_TEXTURE_COORD_2 %d)\n", GL_MAP1_TEXTURE_COORD_2);
378 printf(
"(defconstant GL_MAP1_TEXTURE_COORD_3 %d)\n", GL_MAP1_TEXTURE_COORD_3);
379 printf(
"(defconstant GL_MAP1_TEXTURE_COORD_4 %d)\n", GL_MAP1_TEXTURE_COORD_4);
380 printf(
"(defconstant GL_MAP1_VERTEX_3 %d)\n", GL_MAP1_VERTEX_3);
381 printf(
"(defconstant GL_MAP1_VERTEX_4 %d)\n", GL_MAP1_VERTEX_4);
382 printf(
"(defconstant GL_MAP2_COLOR_4 %d)\n", GL_MAP2_COLOR_4);
383 printf(
"(defconstant GL_MAP2_GRID_DOMAIN %d)\n", GL_MAP2_GRID_DOMAIN);
384 printf(
"(defconstant GL_MAP2_GRID_SEGMENTS %d)\n", GL_MAP2_GRID_SEGMENTS);
385 printf(
"(defconstant GL_MAP2_INDEX %d)\n", GL_MAP2_INDEX);
386 printf(
"(defconstant GL_MAP2_NORMAL %d)\n", GL_MAP2_NORMAL);
387 printf(
"(defconstant GL_MAP2_TEXTURE_COORD_1 %d)\n", GL_MAP2_TEXTURE_COORD_1);
388 printf(
"(defconstant GL_MAP2_TEXTURE_COORD_2 %d)\n", GL_MAP2_TEXTURE_COORD_2);
389 printf(
"(defconstant GL_MAP2_TEXTURE_COORD_3 %d)\n", GL_MAP2_TEXTURE_COORD_3);
390 printf(
"(defconstant GL_MAP2_TEXTURE_COORD_4 %d)\n", GL_MAP2_TEXTURE_COORD_4);
391 printf(
"(defconstant GL_MAP2_VERTEX_3 %d)\n", GL_MAP2_VERTEX_3);
392 printf(
"(defconstant GL_MAP2_VERTEX_4 %d)\n", GL_MAP2_VERTEX_4);
396 printf(
";;; Hints\n");
397 printf(
"(defconstant GL_FOG_HINT %d)\n", GL_FOG_HINT);
398 printf(
"(defconstant GL_LINE_SMOOTH_HINT %d)\n", GL_LINE_SMOOTH_HINT);
399 printf(
"(defconstant GL_PERSPECTIVE_CORRECTION_HINT %d)\n", GL_PERSPECTIVE_CORRECTION_HINT);
400 printf(
"(defconstant GL_POINT_SMOOTH_HINT %d)\n", GL_POINT_SMOOTH_HINT);
401 printf(
"(defconstant GL_POLYGON_SMOOTH_HINT %d)\n", GL_POLYGON_SMOOTH_HINT);
402 printf(
"(defconstant GL_DONT_CARE %d)\n", GL_DONT_CARE);
403 printf(
"(defconstant GL_FASTEST %d)\n", GL_FASTEST);
404 printf(
"(defconstant GL_NICEST %d)\n", GL_NICEST);
408 printf(
";;; Scissor box\n");
409 printf(
"(defconstant GL_SCISSOR_TEST %d)\n", GL_SCISSOR_TEST);
410 printf(
"(defconstant GL_SCISSOR_BOX %d)\n", GL_SCISSOR_BOX);
414 printf(
";;; Pixel Mode / Transfer\n");
415 printf(
"(defconstant GL_MAP_COLOR %d)\n", GL_MAP_COLOR);
416 printf(
"(defconstant GL_MAP_STENCIL %d)\n", GL_MAP_STENCIL);
417 printf(
"(defconstant GL_INDEX_SHIFT %d)\n", GL_INDEX_SHIFT);
418 printf(
"(defconstant GL_INDEX_OFFSET %d)\n", GL_INDEX_OFFSET);
419 printf(
"(defconstant GL_RED_SCALE %d)\n", GL_RED_SCALE);
420 printf(
"(defconstant GL_RED_BIAS %d)\n", GL_RED_BIAS);
421 printf(
"(defconstant GL_GREEN_SCALE %d)\n", GL_GREEN_SCALE);
422 printf(
"(defconstant GL_GREEN_BIAS %d)\n", GL_GREEN_BIAS);
423 printf(
"(defconstant GL_BLUE_SCALE %d)\n", GL_BLUE_SCALE);
424 printf(
"(defconstant GL_BLUE_BIAS %d)\n", GL_BLUE_BIAS);
425 printf(
"(defconstant GL_ALPHA_SCALE %d)\n", GL_ALPHA_SCALE);
426 printf(
"(defconstant GL_ALPHA_BIAS %d)\n", GL_ALPHA_BIAS);
427 printf(
"(defconstant GL_DEPTH_SCALE %d)\n", GL_DEPTH_SCALE);
428 printf(
"(defconstant GL_DEPTH_BIAS %d)\n", GL_DEPTH_BIAS);
429 printf(
"(defconstant GL_PIXEL_MAP_S_TO_S_SIZE %d)\n", GL_PIXEL_MAP_S_TO_S_SIZE);
430 printf(
"(defconstant GL_PIXEL_MAP_I_TO_I_SIZE %d)\n", GL_PIXEL_MAP_I_TO_I_SIZE);
431 printf(
"(defconstant GL_PIXEL_MAP_I_TO_R_SIZE %d)\n", GL_PIXEL_MAP_I_TO_R_SIZE);
432 printf(
"(defconstant GL_PIXEL_MAP_I_TO_G_SIZE %d)\n", GL_PIXEL_MAP_I_TO_G_SIZE);
433 printf(
"(defconstant GL_PIXEL_MAP_I_TO_B_SIZE %d)\n", GL_PIXEL_MAP_I_TO_B_SIZE);
434 printf(
"(defconstant GL_PIXEL_MAP_I_TO_A_SIZE %d)\n", GL_PIXEL_MAP_I_TO_A_SIZE);
435 printf(
"(defconstant GL_PIXEL_MAP_R_TO_R_SIZE %d)\n", GL_PIXEL_MAP_R_TO_R_SIZE);
436 printf(
"(defconstant GL_PIXEL_MAP_G_TO_G_SIZE %d)\n", GL_PIXEL_MAP_G_TO_G_SIZE);
437 printf(
"(defconstant GL_PIXEL_MAP_B_TO_B_SIZE %d)\n", GL_PIXEL_MAP_B_TO_B_SIZE);
438 printf(
"(defconstant GL_PIXEL_MAP_A_TO_A_SIZE %d)\n", GL_PIXEL_MAP_A_TO_A_SIZE);
439 printf(
"(defconstant GL_PIXEL_MAP_S_TO_S %d)\n", GL_PIXEL_MAP_S_TO_S);
440 printf(
"(defconstant GL_PIXEL_MAP_I_TO_I %d)\n", GL_PIXEL_MAP_I_TO_I);
441 printf(
"(defconstant GL_PIXEL_MAP_I_TO_R %d)\n", GL_PIXEL_MAP_I_TO_R);
442 printf(
"(defconstant GL_PIXEL_MAP_I_TO_G %d)\n", GL_PIXEL_MAP_I_TO_G);
443 printf(
"(defconstant GL_PIXEL_MAP_I_TO_B %d)\n", GL_PIXEL_MAP_I_TO_B);
444 printf(
"(defconstant GL_PIXEL_MAP_I_TO_A %d)\n", GL_PIXEL_MAP_I_TO_A);
445 printf(
"(defconstant GL_PIXEL_MAP_R_TO_R %d)\n", GL_PIXEL_MAP_R_TO_R);
446 printf(
"(defconstant GL_PIXEL_MAP_G_TO_G %d)\n", GL_PIXEL_MAP_G_TO_G);
447 printf(
"(defconstant GL_PIXEL_MAP_B_TO_B %d)\n", GL_PIXEL_MAP_B_TO_B);
448 printf(
"(defconstant GL_PIXEL_MAP_A_TO_A %d)\n", GL_PIXEL_MAP_A_TO_A);
449 printf(
"(defconstant GL_PACK_ALIGNMENT %d)\n", GL_PACK_ALIGNMENT);
450 printf(
"(defconstant GL_PACK_LSB_FIRST %d)\n", GL_PACK_LSB_FIRST);
451 printf(
"(defconstant GL_PACK_ROW_LENGTH %d)\n", GL_PACK_ROW_LENGTH);
452 printf(
"(defconstant GL_PACK_SKIP_PIXELS %d)\n", GL_PACK_SKIP_PIXELS);
453 printf(
"(defconstant GL_PACK_SKIP_ROWS %d)\n", GL_PACK_SKIP_ROWS);
454 printf(
"(defconstant GL_PACK_SWAP_BYTES %d)\n", GL_PACK_SWAP_BYTES);
455 printf(
"(defconstant GL_UNPACK_ALIGNMENT %d)\n", GL_UNPACK_ALIGNMENT);
456 printf(
"(defconstant GL_UNPACK_LSB_FIRST %d)\n", GL_UNPACK_LSB_FIRST);
457 printf(
"(defconstant GL_UNPACK_ROW_LENGTH %d)\n", GL_UNPACK_ROW_LENGTH);
458 printf(
"(defconstant GL_UNPACK_SKIP_PIXELS %d)\n", GL_UNPACK_SKIP_PIXELS);
459 printf(
"(defconstant GL_UNPACK_SKIP_ROWS %d)\n", GL_UNPACK_SKIP_ROWS);
460 printf(
"(defconstant GL_UNPACK_SWAP_BYTES %d)\n", GL_UNPACK_SWAP_BYTES);
461 printf(
"(defconstant GL_ZOOM_X %d)\n", GL_ZOOM_X);
462 printf(
"(defconstant GL_ZOOM_Y %d)\n", GL_ZOOM_Y);
466 printf(
";;; Texture mapping\n");
467 printf(
"(defconstant GL_TEXTURE_ENV %d)\n", GL_TEXTURE_ENV);
468 printf(
"(defconstant GL_TEXTURE_ENV_MODE %d)\n", GL_TEXTURE_ENV_MODE);
469 printf(
"(defconstant GL_TEXTURE_1D %d)\n", GL_TEXTURE_1D);
470 printf(
"(defconstant GL_TEXTURE_2D %d)\n", GL_TEXTURE_2D);
471 printf(
"(defconstant GL_TEXTURE_WRAP_S %d)\n", GL_TEXTURE_WRAP_S);
472 printf(
"(defconstant GL_TEXTURE_WRAP_T %d)\n", GL_TEXTURE_WRAP_T);
473 printf(
"(defconstant GL_TEXTURE_MAG_FILTER %d)\n", GL_TEXTURE_MAG_FILTER);
474 printf(
"(defconstant GL_TEXTURE_MIN_FILTER %d)\n", GL_TEXTURE_MIN_FILTER);
475 printf(
"(defconstant GL_TEXTURE_ENV_COLOR %d)\n", GL_TEXTURE_ENV_COLOR);
476 printf(
"(defconstant GL_TEXTURE_GEN_S %d)\n", GL_TEXTURE_GEN_S);
477 printf(
"(defconstant GL_TEXTURE_GEN_T %d)\n", GL_TEXTURE_GEN_T);
478 printf(
"(defconstant GL_TEXTURE_GEN_MODE %d)\n", GL_TEXTURE_GEN_MODE);
479 printf(
"(defconstant GL_TEXTURE_BORDER_COLOR %d)\n", GL_TEXTURE_BORDER_COLOR);
480 printf(
"(defconstant GL_NEAREST_MIPMAP_NEAREST %d)\n", GL_NEAREST_MIPMAP_NEAREST);
481 printf(
"(defconstant GL_NEAREST_MIPMAP_LINEAR %d)\n", GL_NEAREST_MIPMAP_LINEAR);
482 printf(
"(defconstant GL_LINEAR_MIPMAP_NEAREST %d)\n", GL_LINEAR_MIPMAP_NEAREST);
483 printf(
"(defconstant GL_LINEAR_MIPMAP_LINEAR %d)\n", GL_LINEAR_MIPMAP_LINEAR);
484 printf(
"(defconstant GL_OBJECT_LINEAR %d)\n", GL_OBJECT_LINEAR);
485 printf(
"(defconstant GL_OBJECT_PLANE %d)\n", GL_OBJECT_PLANE);
486 printf(
"(defconstant GL_EYE_LINEAR %d)\n", GL_EYE_LINEAR);
487 printf(
"(defconstant GL_EYE_PLANE %d)\n", GL_EYE_PLANE);
488 printf(
"(defconstant GL_SPHERE_MAP %d)\n", GL_SPHERE_MAP);
489 printf(
"(defconstant GL_DECAL %d)\n", GL_DECAL);
490 printf(
"(defconstant GL_MODULATE %d)\n", GL_MODULATE);
491 printf(
"(defconstant GL_NEAREST %d)\n", GL_NEAREST);
492 printf(
"(defconstant GL_REPEAT %d)\n", GL_REPEAT);
493 printf(
"(defconstant GL_CLAMP %d)\n", GL_CLAMP);
494 printf(
"(defconstant GL_S %d)\n", GL_S);
495 printf(
"(defconstant GL_T %d)\n", GL_T);
496 printf(
"(defconstant GL_R %d)\n", GL_R);
497 printf(
"(defconstant GL_Q %d)\n", GL_Q);
498 printf(
"(defconstant GL_TEXTURE_GEN_R %d)\n", GL_TEXTURE_GEN_R);
499 printf(
"(defconstant GL_TEXTURE_GEN_Q %d)\n", GL_TEXTURE_GEN_Q);
503 printf(
";;; Utility\n");
504 printf(
"(defconstant GL_VENDOR %d)\n", GL_VENDOR);
505 printf(
"(defconstant GL_RENDERER %d)\n", GL_RENDERER);
506 printf(
"(defconstant GL_VERSION %d)\n", GL_VERSION);
507 printf(
"(defconstant GL_EXTENSIONS %d)\n", GL_EXTENSIONS);
511 printf(
";;; Errors\n");
512 printf(
"(defconstant GL_INVALID_VALUE %d)\n", GL_INVALID_VALUE);
513 printf(
"(defconstant GL_INVALID_ENUM %d)\n", GL_INVALID_ENUM);
514 printf(
"(defconstant GL_INVALID_OPERATION %d)\n", GL_INVALID_OPERATION);
515 printf(
"(defconstant GL_STACK_OVERFLOW %d)\n", GL_STACK_OVERFLOW);
516 printf(
"(defconstant GL_STACK_UNDERFLOW %d)\n", GL_STACK_UNDERFLOW);
517 printf(
"(defconstant GL_OUT_OF_MEMORY %d)\n", GL_OUT_OF_MEMORY);
521 printf(
";;; Extensions\n");
522 printf(
"(defconstant GL_CONSTANT_COLOR_EXT %d)\n", GL_CONSTANT_COLOR_EXT);
523 printf(
"(defconstant GL_ONE_MINUS_CONSTANT_COLOR_EXT %d)\n", GL_ONE_MINUS_CONSTANT_COLOR_EXT);
524 printf(
"(defconstant GL_CONSTANT_ALPHA_EXT %d)\n", GL_CONSTANT_ALPHA_EXT);
525 printf(
"(defconstant GL_ONE_MINUS_CONSTANT_ALPHA_EXT %d)\n", GL_ONE_MINUS_CONSTANT_ALPHA_EXT);
526 printf(
"(defconstant GL_BLEND_EQUATION_EXT %d)\n", GL_BLEND_EQUATION_EXT);
527 printf(
"(defconstant GL_MIN_EXT %d)\n", GL_MIN_EXT);
528 printf(
"(defconstant GL_MAX_EXT %d)\n", GL_MAX_EXT);
529 printf(
"(defconstant GL_FUNC_ADD_EXT %d)\n", GL_FUNC_ADD_EXT);
530 printf(
"(defconstant GL_FUNC_SUBTRACT_EXT %d)\n", GL_FUNC_SUBTRACT_EXT);
531 printf(
"(defconstant GL_FUNC_REVERSE_SUBTRACT_EXT %d)\n", GL_FUNC_REVERSE_SUBTRACT_EXT);
532 printf(
"(defconstant GL_BLEND_COLOR_EXT %d)\n", GL_BLEND_COLOR_EXT);
533 printf(
"(defconstant GL_REPLACE_EXT %d)\n", GL_REPLACE_EXT);
540 printf(
";;; GL_NO_ERROR must be zero)\n");
541 printf(
"(defconstant GL_NO_ERROR %d)\n", GL_NO_ERROR);
551 printf(
";;; Compile_time tests for extensions:\n");
552 printf(
"(defconstant GL_EXT_blend_color %d)\n", GL_EXT_blend_color);
553 printf(
"(defconstant GL_EXT_blend_logic_op %d)\n", GL_EXT_blend_logic_op);
554 printf(
"(defconstant GL_EXT_blend_minmax %d)\n", GL_EXT_blend_minmax);
555 printf(
"(defconstant GL_EXT_blend_subtract %d)\n", GL_EXT_blend_subtract);
562 printf(
"(defconstant GL_ACCUM_BUFFER_BIT %d)\n", GL_ACCUM_BUFFER_BIT);
563 printf(
"(defconstant GL_COLOR_BUFFER_BIT %d)\n", GL_COLOR_BUFFER_BIT);
564 printf(
"(defconstant GL_CURRENT_BIT %d)\n", GL_CURRENT_BIT);
565 printf(
"(defconstant GL_DEPTH_BUFFER_BIT %d)\n", GL_DEPTH_BUFFER_BIT);
566 printf(
"(defconstant GL_ENABLE_BIT %d)\n", GL_ENABLE_BIT);
567 printf(
"(defconstant GL_EVAL_BIT %d)\n", GL_EVAL_BIT);
568 printf(
"(defconstant GL_FOG_BIT %d)\n", GL_FOG_BIT);
569 printf(
"(defconstant GL_HINT_BIT %d)\n", GL_HINT_BIT);
570 printf(
"(defconstant GL_LIGHTING_BIT %d)\n", GL_LIGHTING_BIT);
571 printf(
"(defconstant GL_LINE_BIT %d)\n", GL_LINE_BIT);
572 printf(
"(defconstant GL_LIST_BIT %d)\n", GL_LIST_BIT);
573 printf(
"(defconstant GL_PIXEL_MODE_BIT %d)\n", GL_PIXEL_MODE_BIT);
574 printf(
"(defconstant GL_POINT_BIT %d)\n", GL_POINT_BIT);
575 printf(
"(defconstant GL_POLYGON_BIT %d)\n", GL_POLYGON_BIT);
576 printf(
"(defconstant GL_POLYGON_STIPPLE_BIT %d)\n", GL_POLYGON_STIPPLE_BIT);
577 printf(
"(defconstant GL_SCISSOR_BIT %d)\n", GL_SCISSOR_BIT);
578 printf(
"(defconstant GL_STENCIL_BUFFER_BIT %d)\n", GL_STENCIL_BUFFER_BIT);
579 printf(
"(defconstant GL_TEXTURE_BIT %d)\n", GL_TEXTURE_BIT);
580 printf(
"(defconstant GL_TRANSFORM_BIT %d)\n", GL_TRANSFORM_BIT);
581 printf(
"(defconstant GL_VIEWPORT_BIT %d)\n", GL_VIEWPORT_BIT);
582 printf(
"(defconstant GL_ALL_ATTRIB_BITS %d)\n", GL_ALL_ATTRIB_BITS);