Contidos dentro
Localizar Mais Documentação
Destaques de Recursos de Suporte
| Fazer download desta apostila em PDF
Marker Test Descriptions
17
- This chapter describes the Marker test programs. The following is defined for each test program:
-
- Name of the test program
- Test types (See the section, "Denizen Test Types" on page 2 for the different test types.)
- Description of the test program
- Attributes tested by the program
- Operators tested by the program
- Output from the test program
· gc_marker_simple_rgb
-
| Test Types: | RGB, SM |
| Description: | Draws a marker into a gcache and checks to see that it is rendered when gcache is displayed |
- Attributes Tested: Uses default attributes
- Operators Tested: xgl_object_create
- Output:.....Three white plus markers displayed
· gc_marker_pttypes_rgb
-
| Test Types: | RGB, SM |
| Description: | Tests different point types for gcache markers and tests one gcache marker with 25 points |
- Attributes Tested: XGL_CTX_MARKER
- Operators Tested: xgl_object_create
-
| Output:· marker_2d_default | Nine cross markers displayed four times with different point types and one 25 plus markers displayed once. Point types used are F3D and F3H. |
| Test Types: | INDEX, SM |
| Description: | Tests the correct rendering of 2D markers using default marker attributes |
- Attributes Tested: XGL_CTX_MARKER
- Operators Tested: xgl_object_get
-
-
xgl_object_set
xgl_multimarker
Output: Three asterisk markers displayed with default white color
· marker_attr
-
| Test Types: | INDEX, SM |
| Description: | Tests index color multimarkers with nondefault marker attributes. Marker color, size, and description are varied. |
- Attributes Tested: XGL_CTX_MARKER
- Operators Tested: xgl_object_set
- Output:.....Five markers displayed as dot, plus, asterisk, circle, and cross with different color and scale factors. The scale factor is in the inner loop.
· marker_pttypes
-
| Test Types: | INDEX, SM |
| Description: | Tests multimarkers rendered with different point types |
- Attributes Tested: XGL_CTX_MARKER
-
-
XGL_CTX_MARKER_SCALE_FACTOR
Operators Tested: xgl_object_set
xgl_multimarker
Output: Nine cross markers rendered six times with a scale of 10.0
and varied point types:
XGL_PT_I2D
XGL_PT_I2H
XGL_PT_F2D
XGL_PT_F2H
XGL_PT_F3D
XGL_PT_F3H
- Four hundred plus markers rendering in one multimarker call with a scale of 12.3.
· marker_hlhsr
-
| Test Types: | INDEX, SM |
| Description: | Tests markers' hidden line-hidden surface removal. Draws markers at identical position but with different depth and checks that only the front marker shows up. Depth combination is varied. |
- Attributes Tested: XGL_3D_CTX_HLHSR_MODE
-
-
XGL_CTX_MARKER_COLOR
XGL_CTX_MARKER
XGL_CTX_MARKER_SCALE_FACTOR
Operators Tested: xgl_object_set
xgl_multimarker
Output: First frame: four circle markers in red. Second and third
- frame: four circle markers in green. Fourth frame: two circle markers, one in red and the other one in green.
· marker_2d_user
- Test Types:...INDEX, SM
- Description:...Tests user-defined markers. Constructs a few 2D marker descriptions and renders a single marker using each of them. Checks that they're rendered correctly (checks each line segment).
- Attributes Tested: XGL_MARKER_DESCRIPTION
-
-
XGL_CTX_MARKER_SCALE_FACTOR
Operators Tested: xgl_object_set
xgl_multimarker
Output: Four user defined white markers: a rotated L shape, an
asterisk, a square, and a triangle
· marker_2d_plane_mask
-
| Test Types: | INDEX, SM |
| Description: | Tests that the XGL_CTX_PLANE_MASK attribute applies to 2D markers |
- Attributes Tested: XGL_CTX_MARKER
- Operators Tested: xgl_object_get
-
| Output:· marker_2d_ras_op | Four circle markers displayed |
| Test Types: | INDEX, SM |
| Description: | Tests that the XGL_CTX_ROP attribute applies to 2D markers |
- Attributes Tested: XGL_CTX_MARKER
-
-
XGL_CTX_ROP
- Operators Tested: xgl_object_get
- Output:.....Four plus markers displayed in color: black, white, black, green, green, red, red, blue, blue, light green, light green, light blue, light blue, light red, light red, white
· marker_2d_default_rgb
-
| Test Types: | RGB, SM |
| Description: | Tests the correct rendering of 2D markers using default marker attributes |
- Attributes Tested: XGL_CTX_MARKER
- Operators Tested: xgl_object_get
-
-
xgl_object_set
xgl_multimarker
Output: Three asterisk markers displayed with default green color
· marker_attr_rgb
-
| Test Types: | RGB SM |
| Description: | Tests RGB multimarkers with nondefault marker attributes. Marker color, size, and description are varied. |
- Attributes Tested: XGL_CTX_MARKER
-
-
XGL_CTX_MARKER_SCALE_FACTOR
XGL_CTX_MARKER_COLOR
Operators Tested: xgl_object_set
xgl_multimarker
Output: Four markers displayed as dot, plus, asterisk, circle, and
- cross with different colors and scale factors. The scale factor is in the inner loop.
· marker_pttypes_rgb
-
| Test Types: | RGB, SM |
| Description: | Tests multimarkers rendered with different point types |
- Attributes Tested: XGL_CTX_MARKER
-
-
XGL_CTX_MARKER_SCALE_FACTOR
Operators Tested: xgl_object_set
xgl_multimarker
Output: Nine cross markers rendered six times with a scale of 10.0
and varied point types:
XGL_PT_I2D
XGL_PT_I2H
XGL_PT_F2D
XGL_PT_F2H
XGL_PT_F3D
-
XGL_PT_F3H Four hundred plus markers rendering in one multimarker call with a scale of 12.3.
· marker_hlhsr_rgb
-
| Test Types: | RGB, SM |
| Description: | Tests RGB markers' hidden line-hidden surface removal. Draws markers at identical position but with different depth and checks that only the front marker shows up. Depth combination is varied. |
- Attributes Tested: XGL_3D_CTX_HLHSR_MODE
- Operators Tested: xgl_object_set
-
| Output:· marker_2d_user_rgb: | First frame: four circle markers in red. Second and third frame: four circle markers in green. Fourth frame: two circle markers, one in red and the other one in green. |
| Test Types: | RGB, SM |
| Description: | Tests RGB user-defined 2D markers. Constructs a few marker descriptions and renders a single marker using each of them. Checks that they're rendered correctly (checks each line segment). |
- Attributes Tested: XGL_MARKER_DESCRIPTION
- Operators Tested: xgl_object_set
- Output:.....Four user defined green markers: a rotated L shape, an asterisk, a square, and a triangle
|
|