cg6 Subtests

Table 8-1 cg6 Subtests

Subtests

Description

Cursor Test

cg6 visually checks the overlay registers of the RAMDAC. A pointer is drawn on the screen and moved to predetermined locations. There is a problem if the pointer disappears. This visual test ensures that the overlay is working properly

Fast Copy in Double Buffer Test Mode

Creates two full-size screen raster images in double buffer mode, writing different patterns to each. The hidden buffer is copied to the visible buffer, and the data is compared. An error message is returned if there are inconsistencies. Then the buffer is flipped and the process is repeated. Note: This test only applies to Sun Microsystems GX+ graphic accelerators with double-buffering capacity.

TEC Test

Verifies that the Transformation Engine and Cursor control logic are accessible to confirm that further TEC access is performed correctly.

FBC Test

Verifies that the Frame Buffer Controller logic is accessible to confirm that further FBC access is performed correctly.

Frame Buffer Test

Verifies that the frame buffer memory is working. A "walking ones" pattern is written to memory, with a specific color signifying one of eight bits. The screen is divided into eight equally wide vertical stripes. A "walking one" is written to each stripe, causing eight iterations of these stripes. The value written is read back and checked. If the values do not match, an error is reported.

Screen Test Using Blits

Draws blocks of color and performs blit transfers to other portions of the screen. First, the entire screen is drawn with cyan, then a black block is placed in the upper-left corner. This subtest blits this block on the upper-right, lower-right, and lower-left corners, then "or's" the whole image.

Blit Test

Draws a block of data and blit into a location at the bottom-right rectangle.

Line Test

Draws lines on the screen in different colors with different data values. The data is read back and compared with the expected values. An error is returned in the case of a mismatch.

Polygon Test

Draws hourglass-shaped polygons on the screen, using the four vertices. After all the polygons are rendered in the video memory, they are read back and the data compared with expected values. If there is a mismatch, an error is displayed.

Colormap Test

Loads all 256 locations in the color map with a greyscale, both backward and forward. This means decreasing values are loaded to all R, G, and B values. Note: If the system being tested has a monochrome or greyscale monitor, visual color problems are undetectable.