XGL Test Suite User's Guide
  Procure somente este livro
Fazer download desta apostila em PDF

............................Contents


1. Introduction
1
..Overview of Denizen 1
..Denizen Test Types 2
..Denizen Directory Tree 3
....Core Functionality 4
....Service Functionality 4
....Failure Analysis Resources 5

2. Verifying Your Implementation
7
..Setting Environment Variables 9
..Creating Verification Logs 10
..Comparing Your Results 11
..Using the Inspector Tool to Analyze Images 12

3. Options for Running Denizen
13
..run_denizen.sh Options and Arguments 13
....Options 13
....Test Areas 14
....Errors 14
..More Environment Variables 15
..Test Run Examples 15
..Test Make Example 17

4. Denizen Library Functions
19
..Relevant Denizen Data Types 19
..Commonly Used Arguments 20
..Denizen Library Functions 21
....CGM Functions 21
....Circle Functions 35
....Depth_Cueing Functions 37
....Gen Functions 37
....Lighting Functions 44
....Line Functions 45
....Marker Functions 48
....Nurbs Functions 49
....Polygon Functions 50
....Transform Functions 53

5. Antialiasing Test Descriptions
59
........· aa_line 59
........· aa_line_alt_patterned 60
........· aa_line_alt_patterned_interp 60
........· aa_line_blend_draw_mode 60
........· aa_line_blend_eq 61
........· aa_line_interp 61
........· aa_line_patterned 62
........· aa_line_patterned_interp 62
........· aa_marker 63
........· aa_mspg_edge 63
........· aa_mspg_hollow 64
........· aa_stroketext 64

6. Arc Test Descriptions
65
........· arc0 65
........· arc1 66
........· arc2 66
........· arc3 66
........· arc4 67
........· arc5 67
........· arc6 67
........· arc7 68
........· arc8 68
........· arc9 68
........· arc10 69
........· arc11 69
........· arc12 69
........· arc13 70
........· arc14 70
........· arc15 70
........· arc16 71
........· arc17 71
........· arc18 71
........· arc19 72
........· arc20 72
........· arc21 72
........· arc22 73
........· arc23 73
........· arc24 73
........· arc25 74
........· arc26 74
........· arc27 74
........· arc28 75
........· arc29 75
........· arc30 76
........· arc31 76
........· arc32 76
........· arc33 77
........· arc34 77
........· arc35 78
........· arc36 78
........· arc37 78
........· arc38 79
........· arc39 79
........· arc40 80
........· arc41 80
........· arc_annot_af3d_chord 81
........· arc_annot_af3d_nonid_trans 81
........· arc_annot_af3d_open 82
........· arc_annot_af3d_sector 82

7. Circle Test Descriptions
85
........· circle0 85
........· circle1 86
........· circle2 86
........· circle3 86
........· circle4 86
........· circle5 87
........· circle6 87
........· circle7 87
........· circle8 88
........· circle9 88
........· circle10 88
........· circle11 88
........· circle12 89
........· circle13 89
........· circle14 89
........· circle15 89
........· circle16 90
........· circle17 90
........· circle18 90
........· circle19 91
........· circle20 91
........· circle21 91
........· circle22 92

8. Clipping Test Descriptions
95
........· clip_viewclip_pg_2d 95
........· clip_viewclip_line_pttypes_2d 96
........· clip_viewclip_line_styles_2d 97
........· clip_viewclip_pg_2d_1 97
........· clip_viewclip_marker_2d 98
........· clip_viewclip_multiarc_2d 99
........· clip_viewclip_multicircle_2d 100
........· clip_viewclip_nu_bspline_curve_2d 101
........· clip_viewclip_pg_bbox_2d 102
........· clip_viewclip_qm 102
........· clip_viewclip_rect_2d 103
........· clip_viewclip_stext_2d 104
........· clip_viewclip_ts 104
........· clip_viewclip_line_pttypes_3d 105
........· clip_viewclip_pg_3d 106
........· clip_viewclip_line_styles_3d 106
........· clip_viewclip_marker_3d 107
........· clip_viewclip_stext_3d 108
........· clip_viewclip_pg_3d_1 108
........· clip_viewclip_nu_bspline_curve_3d 109
........· clip_viewclip_pg_bbox_3d 110
........· clip_viewportclip_pg_2d 111
........· clip_viewportclip_pg_3d 111
........· clip_modclip_line_styles_3d 112
........· clip_modclip_marker_3d 112
........· clip_modclip_pg_3d 113
........· clip_modclip_line_pttypes_3d 113
........· clip_modclip_pg_3d_1 114
........· clip_modclip_qm 114
........· clip_modclip_qm_1 115
........· clip_modclip_stext_3d 115
........· clip_modclip_ts 116
........· clip_modclip_ts_1 116

9. Colormap Test Descriptions
121
........· colormap0 121
........· colormap1 122
........· colormap2 122
........· colormap3 123
........· colormap4 123
........· colormap5 124
.........· colormap6 124
.........· cmap_ramp 124
.........· xcolor_mapping 125
.........· cmapper 125

10. Context Test Descriptions
127
.........· context_2d_create 127
.........· context_2d_pat_line 128
.........· context_2d_pat_line_rgb 128
.........· context_2d_pp 128
.........· context_2d_pp_all_attrs 128
.........· context_2d_pp_pat_line 129
.........· context_2d_pp_pat_line_rgb 129
.........· context_2d_pp_rgb 130
.........· context_2d_pu_non_null_attrs: 130
.........· context_2d_set_get_pixel 130
.........· context_2d_set_get_pixel_rgb 131
.........· context_2d_simple 131
.........· context_2d_simple_env_attrs 131
.........· context_env_attrs_rgb 131
.........· context_gf_attrs_rgb 132
.........· context_pp_all_attrs 132
.........· context_pu_non_null_attrs 132

11. Depth Cueing Test Descriptions
139
.........· dcue_fat_line 139
.........· dcue_fat_line_rgb 140
.........· dcue_line 140
.........· dcue_line_rgb 141
.........· dcue_quadmesh 141
.........· dcue_quadmesh_rgb 142
.........· dcue_scaled_line 143
.........· dcue_scaled_line_rgb 143
.........· dcue_scaled_pg 144
.........· dcue_scaled_pg_rgb 144
.........· dcue_simple 145
.........· dcue_simple_rgb 145
.........· dcue_triangle 146
.........· dcue_triangle_rgb 146

12. Elliptical Arc Test Descriptions
149
.........· el0 149
.........· el1 150
.........· el2 151
.........· el3 152
.........· el4 154
.........· el5 155

13. Lighting Test Descriptions
157
.........· light_pg_amb_facet 157
.........· light_pg_amb_simple_facet 158
.........· light_pg_amb_vtx 159
.........· light_pg_amb_vtx_rgb 159
.........· light_pg_amb_facet_rgb 160
.........· light_pg_pos_facet 160
.........· light_ts_amb_facet 161
.........· light_ts_pttypes_pos_facet 162
.........· light_ts_pos_facet 162
.........· light_ts_edge_pos_facet_rgb 163
.........· light_ts_dir_facet 164
.........· light_qm_edge_spot_facet 164
.........· light_qm_pttypes_spot_facet_rgb 165
.........· light_qm_spot_facet_rgb 166
.........· light_spg_pttypes_dir_facet 167
.........· light_spg_edge_dir_facet_rgb 168
.........· light_spg_dir_facet_rgb 168
.........· light_many 169
.........· light_copy 171
.........· light_ts_amb_dir_facet 171
.........· light_ts_amb_dir_vtx 172
.........· light_ts_modclip_amb_facet 173

14. Line Test Descriptions
177
.........· gc_line0 177
.........· gc_line_attr 178
.........· line0 178
.........· line1 179
.........· line2 179
.........· line3 180
.........· line4 181
.........· line5 181
.........· line6 182
.........· line7 182
.........· line8 182
.........· line9 183
.........· line10 183
.........· line11 184
.........· line12 185
.........· line13 185
.........· line14 186
.........· line15 186
.........· line16 187
.........· line17 188
.........· line18 188
.........· line19 189
.........· line20 190
.........· line21 190
.........· line22 191
.........· line23 191
.........· line24 192
.........· line25 193

15. Marker Test Descriptions
195
.........· gc_marker_simple_rgb 195
.........· gc_marker_pttypes_rgb 196
.........· marker_2d_default 196
.........· marker_attr 196
.........· marker_pttypes 197
.........· marker_hlhsr 197
.........· marker_2d_user 198
.........· marker_2d_plane_mask 198
.........· marker_2d_ras_op 198
.........· marker_2d_default_rgb 199
.........· marker_attr_rgb 199
.........· marker_pttypes_rgb 199
.........· marker_hlhsr_rgb 200
.........· marker_2d_user_rgb: 200

16. Multisimple Polygon
..Test Descriptions 203
.........· multipg_simple 203
.........· multipg_simple_rgb 204
.........· multipg0 204
.........· multipg2 206
.........· multipg3 206
.........· multipg4 207
.........· multipg_cull 208
.........· multipg_cull_z 208
.........· multipg_cull_rgb 209
.........· multipg_cull_z_rgb 209
.........· multipg_edge 210
.........· multipg_edge2 210
.........· multipg_edge3 211
.........· multipg_edge4 211
.........· multipg_face 212
.........· multipg_face_z 212
.........· multipg_face_rgb 213
.........· multipg_face_z_rgb 213
.........· multipg_fill 213
.........· multipg_fill_z 214
.........· multipg_fill2 214
.........· multipg_fill_rgb 215
.........· multipg_fill_z_rgb 215
.........· multipg_fill4 216
.........· multipg_fill5 216
.........· multipg_fill6 217
.........· multipg_fill7 217
.........· multipg_fill8 217
.........· multipg_back_fill_rgb 218
.........· multipg_back_fill_z_rgb 219
.........· multipg_fill10 219
.........· multipg_fill11 220
.........· multipg_hlhsr 220
.........· multipg_hlhsr2 221
.........· multipg_hlhsr4 221
.........· multipg_intrule 222
.........· multipg_intrule_rgb 222
.........· multipg_pttypes 223
.........· multipg_pttypes2 223
.........· gcache_multipg_cull 223
.........· gcache_multipg_edge4 224
.........· gcache_multipg_face 225
.........· gcache_multipg_face2 225
.........· gcache_multipg_fill1 226
.........· gcache_multipg_fill11 226
.........· gcache_multipg_fill3 227
.........· gcache_multipg_fill9 228
.........· ms_poly_sedge 228
.........· ms_pg_threshold 229
.........· ms_pg_facet_rgb 230
.........· ms_pg_facet_in 231
.........· ms_pg_fac_in_norm 232
.........· ms_pg_fac_rgb_norm 233

17. Nurbs Test Descriptions
239
.........· nubs_args 239
.........· nubs_approx 240
.........· nubs_attr 240
.........· nubs_pttypes 241
.........· nubs_hlhsr 241
.........· nubs0 242
.........· nubs1 242
.........· nubs2 243
.........· nubs3 243
.........· nubs4 244
.........· nubs5 244
.........· gc_nubs_args 244
.........· gc_nubs_pttypes 245
.........· gc_nubs0 245
.........· gc_nubs2 246
.........· nurbs0 247
.........· nurbs1 247
.........· gc_nurbs0 248

18. Picking Test Descriptions
251
.........· pick_control 251
.........· pick_control_rgb 252
.........· pick_aperture 252
.........· pick_aperture_rgb 253
.........· pick_set_get_id 253
.........· pick_2d_pp_id 254
.........· pick_set_get_id_rgb 254
.........· pick_2d_pp_id_rgb 255
.........· pick_2d_buf 255
.........· pick_2d_style 256
.........· pick_2d_buf_overflow 256
.........· pick_2d_buf_size 257
.........· pick_2d_buf_rgb 257
.........· pick_2d_style_rgb 257
.........· pick_2d_buf_rgb_overflow 258
.........· pick_2d_buf_size_rgb 258
.........· pick_rgb_primitives 259
.........· pick_rgb_ndefault_primitives 260
.........· pick_2d_rgb_trans_clip_prim 260
.........· pick_primitives 261
.........· pick_ndefault_primitives 261
.........· pick_2d_trans_clip_prim
............pick_prims3 262

19. Polygon Test Descriptions
265
.........· pg_simple 265
.........· pg_simple_rgb 266
.........· pg0 266
.........· pg2 267
.........· pg3 267
.........· pg4 268
.........· pg_cull 268
.........· pg_cull_z 269
.........· pg_cull_rgb 269
.........· pg_cull_z_rgb 270
.........· pg_edge 270
.........· pg_edge2 271
.........· pg_edge3 271
.........· pg_edge4 272
.........· pg_face 272
.........· pg_face_z 273
.........· pg_face_rgb 273
.........· pg_face_z_rgb 274
.........· pg_fill 274
.........· pg_fill_z 275
.........· pg_fill2 276
.........· pg_fill_rgb 276
.........· pg_fill_z_rgb 277
.........· pg_fill4 277
.........· pg_fill5 278
.........· pg_fill6 278
.........· pg_fill7 279
.........· pg_fill8 280
.........· pg_back_fill_rgb 280
.........· pg_back_fill_z_rgb 281
.........· pg_fill10 281
.........· pg_fill11 282
.........· pg_hlhsr 283
.........· pg_hlhsr_2 283
.........· pg_hlhsr_3 284
.........· pg_hlhsr_4 284
.........· pg_intrule 285
.........· pg_intrule2 285
.........· pg_pttypes 286
.........· pg_pttypes2 286
.........· pg_shade 286
.........· pg_shade_z 287
.........· pg_shade_rgb 288
.........· pg_shade_z_rgb 288
.........· pg_shade_hlhsr 289
.........· pg_shade_hlhsr2 289
.........· gc_pg_cull 290
.........· gc_pg_decomp 290
.........· gc_pg_decomp_pttypes 291
.........· gc_pg_edge4 292
.........· gc_pg_face 292
.........· gc_pg_face2 293
.........· gc_pg_fill1 293
.........· gc_pg_fill3 294
.........· gc_pg_fill9 294
.........· gc_pg_intrule 295
.........· gc_pg_intrule2 295
.........· gc_pg_pttypes 296
.........· gc_pg_pttypes2 297
.........· gc_pg_decomp_facet 297
.........· gc_pg_decomp_complex 298
.........· gc_pg_show_decomp 298
.........· polygon 299
.........· pg_threshold 299

20. Quadrilateral Mesh
..Test Descriptions 301
.........· qm_col_norm 301
.........· qm_col_norm_rgb 302
.........· qm_cull_rgb 303
.........· qm_hlhsr2_rgb 304
.........· qm_hlhsr_rgb 304
.........· qm_simple 305
.........· qm_simple_rgb 306
.........· qm_solid_interp 306
.........· qm_solid_interp_rgb 307
.........· qm_solid_no_illum 307
.........· qm_solid_no_illum_rgb 308
.........· qm_solid_per_facet 308
.........· qm_solid_per_facet_rgb 309
.........· qm_solid_per_vtx 309
.........· qm_solid_per_vtx_rgb 310
.........· qm_xform_no_illum 310
.........· qm_xform_no_illum_rgb 311
.........· qm_empty_interp 311
.........· qm_empty_interp_rgb 312
.........· qm_empty_no_illum 312
.........· qm_empty_no_illum_rgb 312
.........· qm_empty_per_facet 313
.........· qm_empty_per_facet_rgb 313
.........· qm_empty_per_vtx 313
.........· qm_empty_per_vtx_rgb 314
.........· qm_hollow_interp 314
.........· qm_hollow_interp_rgb 315
.........· qm_hollow_no_illum 315
.........· qm_hollow_no_illum_rgb 316
.........· qm_hollow_per_facet 316
.........· qm_hollow_per_facet_rgb 316
.........· qm_hollow_per_vtx 317
.........· qm_hollow_per_vtx_rgb 317
.........· qm_cull 318
.........· qm_hlhsr 319

21. Raster Test Descriptions
323
.........· ras_attr1 323
.........· ras_attr2 324
.........· ras_copy 324
.........· ras_op 324
.........· ras_copy2 325
.........· plane_mask 325
.........· ras0 326
.........· ras1 326
.........· ras_attr3 327
.........· ras_attr4 327
.........· ras_copy3 327
.........· ras_copy4 328
.........· ras3 329
.........· ras4 329
.........· ras5 330
.........· ras6 330
.........· ras_pix 330
.........· ras_pix_rgb 331
.........· ras_pix_row 331
.........· ras_pix_row_rgb 332
.........· image_tg 332
.........· cp_ras_multi_ctx 333
.........· xgl_img_2d 333
.........· xgl_img_2d_32 334
.........· xgl_img_rect 334
.........· cp_ras_32 335
.........· copy_buffer0 335
.........· copy_buffer1 336
.........· copy_buffer_ras_op 336
.........· win_backing_store 337
.........· ras_copy5 337
.........· ras_copy6 338
.........· ras_copy7 339

22. Rectangle Test Descriptions
341
.........· rect0 341
.........· rect1 342
.........· rect2 342
.........· rect3 342
.........· rect4 343
.........· rect5 343
.........· rect6 344
.........· rect7 344
.........· rect8 344
.........· rect9 345
.........· rect10 345
.........· rect11 346
.........· rect12 346
.........· rect13 346
.........· rect14 347
.........· rect15 347
.........· rect16 348
.........· rect17 348
.........· rect18 348
.........· rect19 349
.........· rect20 349
.........· rect21 350
.........· rect_annot_af3d_nonid_trans_rgb 350
.........· rect_annot_af3d_rgb 351

23. Set and Get Attribute Test Descriptions
353
.........· set_get_ctx1 353
.........· set_get_ctx2 354
.........· set_get_ctx3 354
.........· set_get_ctx4 355
.........· set_get_ctx5 355
.........· set_get_ctx6 356
.........· set_get_ctx7 356
.........· set_get_ctx8 357
.........· set_get_ctx9 357
.........· set_get_ctx10 358
.........· set_get_ctx11 358
.........· set_get_ctx12 358
.........· set_get_ctx13 359
.........· set_get_ctx14 359
.........· set_get_ctx15 359
.........· set_get_ctx16 359
.........· set_get_ctx17 360
.........· set_get_ctx18 360
.........· set_get_ctx19 361
.........· set_get_ctx20 361
.........· set_get_ctx21 362
.........· set_get_ctx22 362
.........· set_get_ctx23 362
.........· set_get_ctx24 363
.........· set_get_light 363
.........· set_get_lpat 363
.........· set_get_sfont 364

24. Strokefont Test Descriptions
367
.........· sf_font 367
.........· sf_attr 368
.........· sf_ctx_attr 368
.........· sf_dir 369
.........· sf_extent 370
.........· sf_hlhsr 370
.........· sf_ctx_attr2 370
.........· sf_dir2 372
.........· sf_extent2 372
.........· sf_font2 373
.........· sf_hlhsr2 373
.........· sf_ctx_attr3 373
.........· sf_extent3 374
.........· sf_font3 374
.........· sf0 375
.........· sf1 375
.........· sf2 376
.........· sf3 376
.........· sf4 377
.........· sf5 377
.........· sf_extent4 378
.........· sf_extent5 378
.........· sf_extent6 378
.........· sf_plane_mask 379
.........· sf_ras_op 379
.........· sf_mono_ctx_attr 380
.........· sf_mono_ctx_attr2 380
.........· sf_mono_ctx_attr3 380
.........· sf_mono_ctx_attr4 381
.........· sf_mono_ctx_attr5 381
.........· sf_mono_hlhsr 381
.........· sf_mono_hlhsr2 382
.........· at0 383
.........· at1 383
.........· at2 383
.........· at3 384
.........· at4 384
.........· at5 385
.........· at6 385
.........· at7 386
.........· at8 387
.........· at9 387
.........· at10 388
.........· at11 388
.........· at_plane_mask 389
.........· at_ras_op 389
.........· at_mono_ctx_attr 389
.........· at_mono_ctx_attr2 390
.........· at_mono_ctx_attr3 390
.........· at_mono_ctx_attr4 390
.........· at_mono_ctx_attr5 391
.........· at_mono_hlhsr2 391
.........· gc_sf2 392

25. System Test Descriptions
395
.........· sys_open 395
.........· sys_attr 396
.........· sys_destroy 396
.........· sys_create 396
.........· sys_inquire 397
.........· sys_obj 397

26. Transform Test Descriptions
399
.........· trans_operators_2d 399
.........· trans_operators_3d 400
.........· trans_pt_ptlist_2d 400
.........· trans_pt_ptlist_3d 401
.........· trans_multiply_float 401
.....· Modeling Transformations 402
.........· trans_model_trans 402
.........· trans_global_model_trans_2d 403
.........· trans_global_model_trans_2d_1 404
.........· trans_global_model_trans_3d 405
.........· trans_global_model_trans_3d_1 406
.........· trans_update_model_trans 407
.....· View Transformation 408
.........· trans_view_trans_3d 408

27. Transparency Test Descriptions
409
.........· transp_blend_eq_mspg 409
.........· transp_blend_eq_mspg_draw_unblended 410
.........· transp_blended_hollow_mspg 410
.........· transp_blended_mspg 411
.........· transp_screen_door_circle 411
.........· transp_screen_door_mspg 412
.........· transp_screen_door_pg 412
.........· transp_screen_door_qm 413
.........· transp_screen_door_rect 413
.........· transp_screen_door_tl 414
.........· transp_screen_door_ts 414
.........· transp_screen_door_values_mspg 415

28. Tristrip Test Descriptions
417
.........· ts_cull 417
.........· ts_cull_rgb 418
.........· ts_empty_interp 418
.........· ts_empty_interp_rgb 419
.........· ts_empty_no_illum 419
.........· ts_empty_no_illum_rgb 420
.........· ts_empty_per_facet 421
.........· ts_empty_per_facet_rgb 421
.........· ts_empty_per_vtx 422
.........· ts_empty_per_vtx_rgb 423
.........· ts_gcache_col_norm 423
.........· ts_gcache_col_norm_rgb 424
.........· ts_gcache_cull 425
.........· ts_gcache_cull_rgb 425
.........· ts_gcache_hlhsr 426
.........· ts_gcache_hlhsr_rgb 426
.........· ts_hlhsr 427
.........· ts_hlhsr_rgb 428
.........· ts_hollow_interp 428
.........· ts_hollow_interp_rgb 429
.........· ts_hollow_no_illum 430
.........· ts_hollow_no_illum_rgb 430
.........· ts_hollow_per_facet 431
.........· ts_hollow_per_facet_rgb 432
.........· ts_hollow_per_vtx 432
.........· ts_hollow_per_vtx_rgb 433
.........· ts_shade 434
.........· ts_shade_rgb 435
.........· ts_simple 435
.........· ts_simple_rgb 436
.........· ts_solid_interp 437
.........· ts_solid_interp_rgb 438
.........· ts_solid_no_illum 438
.........· ts_solid_no_illum_rgb 439
.........· ts_solid_per_facet 440
.........· ts_solid_per_facet_rgb 440
.........· ts_solid_per_vtx 441
.........· ts_solid_per_vtx_rgb 442
.........· ts_xform_no_illum 442
.........· ts_xform_no_illum_rgb 443

Index
447