COLOR MATRIX CONFORMANCE Jon Leech, SGI (ljp@engr.sgi.com) Coverage: Add COLOR to the list of queried state in CallGet(). Add COLOR to the list of matrix modes in CallMatrixMode(). Conformance: Add COLOR to the list of matrix modes in mstack.c. Add COLOR to the list of matrix modes in xformmix.c. Set the matrix to one column of all zeros, one column of all ones, and two columns of random values. Draw a two-pixel image with one black and one white pixel. Verify that the resulting image is consistent with the expected result. Repeat the test with a matrix consisting of a random permutation of the identity matrix (e.g. three zeros and one one per column; no one located so as to cause an identify transformation). ** xformmix.c ** Matrix Stack Mixing Test. ** ** Description - ** Tests that matrix stacks can be mixed. A series of ** transformations are applied while the matrix mode is ** switched with each glPushMatrix() and glPopMatrix(). After ** a series of transformations, a small quad is drawn and its ** position is checked. ** mstack.c ** Matrix Stack Test. ** ** Description - ** Test the functionality of glPushMatrix() and glPopMatrix()* * on the three matrix modes (GL_MODELVIEW_MATRIX, ** GL_PROJECTION_MATRIX and GL_TEXTURE_MATRIX). Each matrix ** stack is pushed and popped to their maximum depth with ** unique matrices. Each matrix popped off the stack is ** checked to verify stack ordering.