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