Skip to main content

Viewporting; Command Codes

Viewporting​

Another topic discussed at the meeting, and referred to the protocol committee for decision, was the capability of placing the "top level" picture in some rectangle of the virtual screen. The default rectangle might be the full screen. Alternatively it might be left up to the viewer to specify the default (via) interaction with the graphics system at the Using Host). In general, viewporting allows more than one "top level" picture to be viewed at once. The desire to view several different pictures on the same screen arises in cases where multiple users are working together and in cases where one user is interacting with a group of applications (in separate serving hosts). This author maintains that the coordinate transformations required by this feature are simpler than that of "full subpictures" since no rotations are involved, and would be part of the same mechanism in its implementation. In particular, merely another affine transformation (see Appendix 2) would be added to the levels caused by full subpicture calls. All that is required is keeping track of viewport identifiers and the associated rectangles. Since little extra work is involved, it is proposed that this feature be included at some high level of the protocol.

Command Codes​

Each command in the graphics protocol will be assigned a non-negative value which will represent this command in the byte stream. The algorithm whereby values and commands are associated is, it turns out, a very touchy subject. There are five or ten different criteria for a "best" algorithm, each criterion different in emphasis. This Gordian knot will be cut, in this proposal, by ordering the commands approximately according to level, and then just numbering them. In addition, if several closely related commands occur at the same level, some attempt will be made to encode variations of meanings in terms of bit configurations. Even if some later consideration causes a change in ordering to be proposed, it is this committee's feeling that the numbering should not be altered. However, until this matter is firmly settled, it is strongly advised that any implementation take into account the possibility of reassignment of command codes.