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