blob: 3611f8c6fb7d4ff66a634f88a0797e5bb9b10dcb [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Conformance</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul0b27ace2003-03-08 17:38:57 +00008
9<H1>Conformance</H1>
10
11<p>
12The SGI OpenGL conformance tests verify correct operation of OpenGL
13implementations. I, Brian Paul, have been given a copy of the tests
14for testing Mesa. The tests are not publically available.
15</p>
16<p>
17This file has the latest results of testing Mesa with the OpenGL 1.2
18conformance tests. Testing with the preliminary OpenGL 1.3 tests has
19also been done. Mesa passes all the 1.3 tests.
20</p>
21<p>
22The tests were run using the software X11 device driver on 24-bpp
23and 16-bpp displays.
24</p>
25<p>
26Mesa 4.0 and later pass all conformance tests at all path levels.
27Note that this says nothing about the conformance of hardware drivers
28based upon Mesa.
29</p>
30
31
32<pre>
33
34COVERAGE TESTS
35--------------
36
37Test that all API functions accept the legal parameters and reject
38illegal parameters. The result of each test is either pass or fail.
39
40% covgl
41OpenGL Coverage Test.
42Version 1.2
43
44covgl passed.
45
46covgl passed at 1.1 level.
47
48covgl passed at 1.2 level.
49
50covgl passed for ARB_multitexture.
51
52
53% covglu
54OpenGL GLU Coverage Test.
55Version 1.3
56
57covglu passed.
58
59covglu passed at 1.1 level.
60
61
62% covglx
63OpenGL X Coverage Test.
64Version 1.1.1
65
66covglx passed.
67
68
69% primtest -v
70Open GL Primitives Test.
71Version 1.2
72
73[lots of output deleted]
74
75292159 Combinations.
76primtest passed.
77
78
79
80
81GL CONFORMANCE TEST
82===================
83
84Render test images, read them back, then test for expected results.
85
86
87----------------------------------------------------------------------
88% conform -v 2
89
90OpenGL Conformance Test
91Version 1.2
92
93Setup Report.
94 Verbose level = 2.
95 Random number seed = 1.
96 Path inactive.
97
98Visual Report.
99 Display ID = 35. Indirect Rendering.
100 Double Buffered.
101 RGBA (5, 6, 5, 0).
102 Stencil (8).
103 Depth (16).
104 Accumulation (16, 16, 16, 16).
105
106Epsilon Report.
107 zero error epsilon = 0.000122.
108 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
109 Depth buffer error epsilon = 0.000137.
110 Stencil plane error epsilon = 0.00404.
111 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
112
113Default State test passed.
114Must Pass test passed.
115Divide By Zero test passed.
116Viewport Clamp test passed.
117Matrix Stack test passed.
118Matrix Stack Mixing test passed.
119Vertex Order test passed.
120Transformations test passed.
121Transformation Normal test passed.
122Viewport Transformation test passed.
123Buffer Clear test passed.
124Buffer Corners test passed.
125Buffer Color test passed.
126Color Ramp test passed.
127Mask test passed.
128Buffer Invariance test passed.
129Accumulation Buffer test passed.
130Select test passed.
131Feedback test passed.
132Scissor test passed.
133Alpha Plane Function test passed.
134Stencil Plane Clear test passed.
135Stencil Plane Corners test passed.
136Stencil Plane Operation test passed.
137Stencil Plane Function test passed.
138Depth Buffer Clear test passed.
139Depth Buffer Function test passed.
140Blend test passed.
141Dither test passed.
142LogicOp Function test does not exist for an RGB visual.
143DrawPixels test passed.
144CopyPixels test passed.
145Bitmap Rasterization test passed.
146Point Rasterization test passed.
147Anti-aliased Point test passed.
148Line Rasterization test passed.
149Line Stipple test passed.
150Anti-aliased Line test passed.
151Horizontal and Vertical Line test passed.
152Triangle Rasterization test passed.
153Triangle Tile test passed.
154Triangle Stipple test passed.
155Anti-aliased Triangles test passed.
156Quad Rasterization test passed.
157Polygon Face test passed.
158Polygon Cull test passed.
159Polygon Stipple test passed.
160Polygon Edge test passed.
161Ambient Material test passed.
162Ambient Scene test passed.
163Attenuation Position test passed.
164Diffuse Light test passed.
165Diffuse Material test passed.
166Diffuse Material Normal test passed.
167Diffuse Material Positioning test passed.
168Emissive Material test passed.
169Specular Exponent test passed.
170Specular Exponent Normal test passed.
171Specular Local Eye Half Angle test passed.
172Specular Light test passed.
173Specular Material test passed.
174Specular Normal test passed.
175Spot Positioning test passed.
176Spot Exponent and Positioning test passed.
177Spot Exponent and Direction test passed.
178Fog Exponential test passed.
179Fog Linear test passed.
180Texture Decal test passed.
181Texture Border test passed.
182Mipmaps Selection test passed.
183Mipmaps Interpolation test passed.
184Display Lists test passed.
185Evaluator test passed.
186Evaluator Color test passed.
187Texture Edge Clamp test passed.
188Packed Pixels test passed.
189Texture LOD test passed.
190Rescale Normal test passed.
191Color Table test passed.
192Convolution test passed.
193Convolution Border test passed.
194Histogram test passed.
195MinMax test passed.
196MultiTexture test passed.
197
198Conform passed.
199
200----------------------------------------------------------------------
201% conform -v 2 -p 1
202
203OpenGL Conformance Test
204Version 1.2
205
206Setup Report.
207 Verbose level = 2.
208 Random number seed = 1.
209 Path level = 1.
210
211Visual Report.
212 Display ID = 35. Indirect Rendering.
213 Double Buffered.
214 RGBA (5, 6, 5, 0).
215 Stencil (8).
216 Depth (16).
217 Accumulation (16, 16, 16, 16).
218
219Epsilon Report.
220 zero error epsilon = 0.000122.
221 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
222 Depth buffer error epsilon = 0.000137.
223 Stencil plane error epsilon = 0.00404.
224 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
225
226Default State test passed.
227Must Pass test passed.
228Divide By Zero test passed.
229Viewport Clamp test passed.
230Matrix Stack test passed.
231Matrix Stack Mixing test passed.
232Vertex Order test passed.
233Transformations test passed.
234Transformation Normal test passed.
235Viewport Transformation test passed.
236Buffer Clear test passed.
237Buffer Corners test passed.
238Buffer Color test passed.
239Color Ramp test passed.
240Mask test passed.
241Buffer Invariance test passed.
242Accumulation Buffer test passed.
243Select test passed.
244Feedback test passed.
245Scissor test passed.
246Alpha Plane Function test passed.
247Stencil Plane Clear test passed.
248Stencil Plane Corners test passed.
249Stencil Plane Operation test passed.
250Stencil Plane Function test passed.
251Depth Buffer Clear test passed.
252Depth Buffer Function test passed.
253Blend test passed.
254Dither test passed.
255LogicOp Function test does not exist for an RGB visual.
256DrawPixels test passed.
257CopyPixels test passed.
258Bitmap Rasterization test passed.
259Point Rasterization test passed.
260Anti-aliased Point test passed.
261Line Rasterization test passed.
262Line Stipple test passed.
263Anti-aliased Line test passed.
264Horizontal and Vertical Line test passed.
265Triangle Rasterization test passed.
266Triangle Tile test passed.
267Triangle Stipple test passed.
268Anti-aliased Triangles test passed.
269Quad Rasterization test passed.
270Polygon Face test passed.
271Polygon Cull test passed.
272Polygon Stipple test passed.
273Polygon Edge test passed.
274Ambient Material test passed.
275Ambient Scene test passed.
276Attenuation Position test passed.
277Diffuse Light test passed.
278Diffuse Material test passed.
279Diffuse Material Normal test passed.
280Diffuse Material Positioning test passed.
281Emissive Material test passed.
282Specular Exponent test passed.
283Specular Exponent Normal test passed.
284Specular Local Eye Half Angle test passed.
285Specular Light test passed.
286Specular Material test passed.
287Specular Normal test passed.
288Spot Positioning test passed.
289Spot Exponent and Positioning test passed.
290Spot Exponent and Direction test passed.
291Fog Exponential test passed.
292Fog Linear test passed.
293Texture Decal test passed.
294Texture Border test passed.
295Mipmaps Selection test passed.
296Mipmaps Interpolation test passed.
297Display Lists test passed.
298Evaluator test passed.
299Evaluator Color test passed.
300Texture Edge Clamp test passed.
301Packed Pixels test passed.
302Texture LOD test passed.
303Rescale Normal test passed.
304Color Table test passed.
305Convolution test passed.
306Convolution Border test passed.
307Histogram test passed.
308MinMax test passed.
309MultiTexture test passed.
310
311Conform passed.
312
313----------------------------------------------------------------------
314% conform -v 2 -p 2
315
316OpenGL Conformance Test
317Version 1.2
318
319Setup Report.
320 Verbose level = 2.
321 Random number seed = 1.
322 Path level = 2.
323
324Visual Report.
325 Display ID = 35. Indirect Rendering.
326 Double Buffered.
327 RGBA (5, 6, 5, 0).
328 Stencil (8).
329 Depth (16).
330 Accumulation (16, 16, 16, 16).
331
332Epsilon Report.
333 zero error epsilon = 0.000122.
334 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
335 Depth buffer error epsilon = 0.000137.
336 Stencil plane error epsilon = 0.00404.
337 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
338
339Default State test passed.
340Must Pass test passed.
341Divide By Zero test passed.
342Viewport Clamp test passed.
343Matrix Stack test passed.
344Matrix Stack Mixing test passed.
345Vertex Order test passed.
346Transformations test passed.
347Transformation Normal test passed.
348Viewport Transformation test passed.
349Buffer Clear test passed.
350Buffer Corners test passed.
351Buffer Color test passed.
352Color Ramp test passed.
353Mask test passed.
354Buffer Invariance test passed.
355Accumulation Buffer test passed.
356Select test passed.
357Feedback test passed.
358Scissor test passed.
359Alpha Plane Function test passed.
360Stencil Plane Clear test passed.
361Stencil Plane Corners test passed.
362Stencil Plane Operation test passed.
363Stencil Plane Function test passed.
364Depth Buffer Clear test passed.
365Depth Buffer Function test passed.
366Blend test passed.
367Dither test passed.
368LogicOp Function test does not exist for an RGB visual.
369DrawPixels test passed.
370CopyPixels test passed.
371Bitmap Rasterization test passed.
372Point Rasterization test passed.
373Anti-aliased Point test passed.
374Line Rasterization test passed.
375Line Stipple test passed.
376Anti-aliased Line test passed.
377Horizontal and Vertical Line test passed.
378Triangle Rasterization test passed.
379Triangle Tile test passed.
380Triangle Stipple test passed.
381Anti-aliased Triangles test passed.
382Quad Rasterization test passed.
383Polygon Face test passed.
384Polygon Cull test passed.
385Polygon Stipple test passed.
386Polygon Edge test passed.
387Ambient Material test passed.
388Ambient Scene test passed.
389Attenuation Position test passed.
390Diffuse Light test passed.
391Diffuse Material test passed.
392Diffuse Material Normal test passed.
393Diffuse Material Positioning test passed.
394Emissive Material test passed.
395Specular Exponent test passed.
396Specular Exponent Normal test passed.
397Specular Local Eye Half Angle test passed.
398Specular Light test passed.
399Specular Material test passed.
400Specular Normal test passed.
401Spot Positioning test passed.
402Spot Exponent and Positioning test passed.
403Spot Exponent and Direction test passed.
404Fog Exponential test passed.
405Fog Linear test passed.
406Texture Decal test passed.
407Texture Border test passed.
408Mipmaps Selection test passed.
409Mipmaps Interpolation test passed.
410Display Lists test passed.
411Evaluator test passed.
412Evaluator Color test passed.
413Texture Edge Clamp test passed.
414Packed Pixels test passed.
415Texture LOD test passed.
416Rescale Normal test passed.
417Color Table test passed.
418Convolution test passed.
419Convolution Border test passed.
420Histogram test passed.
421MinMax test passed.
422MultiTexture test passed.
423
424Conform passed.
425
426----------------------------------------------------------------------
427% conform -v 2 -p 3
428
429OpenGL Conformance Test
430Version 1.2
431
432Setup Report.
433 Verbose level = 2.
434 Random number seed = 1.
435 Path level = 3.
436
437Visual Report.
438 Display ID = 35. Indirect Rendering.
439 Double Buffered.
440 RGBA (5, 6, 5, 0).
441 Stencil (8).
442 Depth (16).
443 Accumulation (16, 16, 16, 16).
444
445Epsilon Report.
446 zero error epsilon = 0.000122.
447 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
448 Depth buffer error epsilon = 0.000137.
449 Stencil plane error epsilon = 0.00404.
450 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
451
452Default State test passed.
453Must Pass test passed.
454Divide By Zero test passed.
455Viewport Clamp test passed.
456Matrix Stack test passed.
457Matrix Stack Mixing test passed.
458Vertex Order test passed.
459Transformations test passed.
460Transformation Normal test passed.
461Viewport Transformation test passed.
462Buffer Clear test passed.
463Buffer Corners test passed.
464Buffer Color test passed.
465Color Ramp test passed.
466Mask test passed.
467Buffer Invariance test passed.
468Accumulation Buffer test passed.
469Select test passed.
470Feedback test passed.
471Scissor test passed.
472Alpha Plane Function test passed.
473Stencil Plane Clear test passed.
474Stencil Plane Corners test passed.
475Stencil Plane Operation test passed.
476Stencil Plane Function test passed.
477Depth Buffer Clear test passed.
478Depth Buffer Function test passed.
479Blend test passed.
480Dither test passed.
481LogicOp Function test does not exist for an RGB visual.
482DrawPixels test passed.
483CopyPixels test passed.
484Bitmap Rasterization test passed.
485Point Rasterization test passed.
486Anti-aliased Point test passed.
487Line Rasterization test passed.
488Line Stipple test passed.
489Anti-aliased Line test passed.
490Horizontal and Vertical Line test passed.
491Triangle Rasterization test passed.
492Triangle Tile test passed.
493Triangle Stipple test passed.
494Anti-aliased Triangles test passed.
495Quad Rasterization test passed.
496Polygon Face test passed.
497Polygon Cull test passed.
498Polygon Stipple test passed.
499Polygon Edge test passed.
500Ambient Material test passed.
501Ambient Scene test passed.
502Attenuation Position test passed.
503Diffuse Light test passed.
504Diffuse Material test passed.
505Diffuse Material Normal test passed.
506Diffuse Material Positioning test passed.
507Emissive Material test passed.
508Specular Exponent test passed.
509Specular Exponent Normal test passed.
510Specular Local Eye Half Angle test passed.
511Specular Light test passed.
512Specular Material test passed.
513Specular Normal test passed.
514Spot Positioning test passed.
515Spot Exponent and Positioning test passed.
516Spot Exponent and Direction test passed.
517Fog Exponential test passed.
518Fog Linear test passed.
519Texture Decal test passed.
520Texture Border test passed.
521Mipmaps Selection test passed.
522Mipmaps Interpolation test passed.
523Display Lists test passed.
524Evaluator test passed.
525Evaluator Color test passed.
526Texture Edge Clamp test passed.
527Packed Pixels test passed.
528Texture LOD test passed.
529Rescale Normal test passed.
530Color Table test passed.
531Convolution test passed.
532Convolution Border test passed.
533Histogram test passed.
534MinMax test passed.
535MultiTexture test passed.
536
537Conform passed.
538
539----------------------------------------------------------------------
540% conform -v 2 -p 4
541
542OpenGL Conformance Test
543Version 1.2
544
545Setup Report.
546 Verbose level = 2.
547 Random number seed = 1.
548 Path level = 4.
549
550Visual Report.
551 Display ID = 35. Indirect Rendering.
552 Double Buffered.
553 RGBA (5, 6, 5, 0).
554 Stencil (8).
555 Depth (16).
556 Accumulation (16, 16, 16, 16).
557
558Epsilon Report.
559 zero error epsilon = 0.000122.
560 RGBA error epsilon = 0.0324, 0.016, 0.0324, 0.000122.
561 Depth buffer error epsilon = 0.000137.
562 Stencil plane error epsilon = 0.00404.
563 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
564
565Default State test passed.
566Must Pass test passed.
567Divide By Zero test passed.
568Viewport Clamp test passed.
569Matrix Stack test passed.
570Matrix Stack Mixing test passed.
571Vertex Order test passed.
572Transformations test passed.
573Transformation Normal test passed.
574Viewport Transformation test passed.
575Buffer Clear test passed.
576Buffer Corners test passed.
577Buffer Color test passed.
578Color Ramp test passed.
579Mask test passed.
580Buffer Invariance test passed.
581Accumulation Buffer test passed.
582Select test passed.
583Feedback test passed.
584Scissor test passed.
585Alpha Plane Function test passed.
586Stencil Plane Clear test passed.
587Stencil Plane Corners test passed.
588Stencil Plane Operation test passed.
589Stencil Plane Function test passed.
590Depth Buffer Clear test passed.
591Depth Buffer Function test passed.
592Blend test passed.
593Dither test passed.
594LogicOp Function test does not exist for an RGB visual.
595DrawPixels test passed.
596CopyPixels test passed.
597Bitmap Rasterization test passed.
598Point Rasterization test passed.
599Anti-aliased Point test passed.
600Line Rasterization test passed.
601Line Stipple test passed.
602Anti-aliased Line test passed.
603Horizontal and Vertical Line test passed.
604Triangle Rasterization test passed.
605Triangle Tile test passed.
606Triangle Stipple test passed.
607Anti-aliased Triangles test passed.
608Quad Rasterization test passed.
609Polygon Face test passed.
610Polygon Cull test passed.
611Polygon Stipple test passed.
612Polygon Edge test passed.
613Ambient Material test passed.
614Ambient Scene test passed.
615Attenuation Position test passed.
616Diffuse Light test passed.
617Diffuse Material test passed.
618Diffuse Material Normal test passed.
619Diffuse Material Positioning test passed.
620Emissive Material test passed.
621Specular Exponent test passed.
622Specular Exponent Normal test passed.
623Specular Local Eye Half Angle test passed.
624Specular Light test passed.
625Specular Material test passed.
626Specular Normal test passed.
627Spot Positioning test passed.
628Spot Exponent and Positioning test passed.
629Spot Exponent and Direction test passed.
630Fog Exponential test passed.
631Fog Linear test passed.
632Texture Decal test passed.
633Texture Border test passed.
634Mipmaps Selection test passed.
635Mipmaps Interpolation test passed.
636Display Lists test passed.
637Evaluator test passed.
638Evaluator Color test passed.
639Texture Edge Clamp test passed.
640Packed Pixels test passed.
641Texture LOD test passed.
642Rescale Normal test passed.
643Color Table test passed.
644Convolution test passed.
645Convolution Border test passed.
646Histogram test passed.
647MinMax test passed.
648MultiTexture test passed.
649
650Conform passed.
651
652
653
654GLX CONFORMANCE TEST
655====================
656
657% conformx -v 2
658
659OpenGL X Conformance Test
660Version 1.1.1
661
662Setup Report.
663 Verbose level = 2.
664 Random number seed = 1.
665 Path inactive.
666
667Visual Report.
668 Display ID = 34. Direct Rendering.
669 Double Buffered.
670 RGBA (8, 8, 8, 0).
671 Stencil (8).
672 Depth (16).
673 Accumulation (16, 16, 16, 16).
674
675Epsilon Report.
676 zero error epsilon = 0.000122.
677 RGBA error epsilon = 0.00404, 0.00404, 0.00404, 0.000122.
678 Depth buffer error epsilon = 0.000137.
679 Stencil plane error epsilon = 0.00404.
680 Accumulation error epsilon = 0.000137, 0.000137, 0.000137, 0.000137.
681
682Default State test passed.
683glReadPixels() test passed.
684Font test passed.
685
686Conformx passed.
687
688
689</pre>
690
691NOTE: conformx passes for all machine path levels (-p option).
692
693
694</body>
695</html>