Patent ID: 8351716

Claim:
In a distributed computing system, a method of efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a local device by determining an appropriate compression mechanism, the method comprising: initializing a connection with the remote device, by the local device; executing one or more applications on the local device, each of which generates a graphics display for display on the remote device; receiving a graphics set for rendering at least a portion of the graphics display for the one or more applications; receiving, from the remote device, one or more supported encoding types, wherein the one or more supported encoding types are used by the local device to determine the appropriate compression mechanism of one or more compression mechanisms for compressing one or more fields of the graphics set, wherein the one or more compression mechanisms comprises a run-length encoding (RLE) mechanism, and wherein the one or more supported encoding types are received from the remote device during the initialization of the remote device and the local device; based on the one or more supported encoding types, determining the appropriate compression mechanism for the compressing of the one or more fields of the graphics set; and sending graphical information to the remote device, the graphical information being associated with a portion of a window, the portion being hidden, wherein when the window is rotated, the portion becomes displayed, sending graphical information to the remote device including: prioritizing the graphical information based on visibility information for the graphical information on the remote device; and delaying sending at least a portion of the graphical information based on the prioritizing.