摘要 |
A method includes defining, through a graphics driver component of a graphics processor of a computing device, a custom mode of displaying pixel data from the graphics processor on a display communicatively coupled to the computing device, and receiving, as an input through the custom mode, dimensional parameters of the display through the graphics processor. The custom mode is interpretable through an operating system executing on the computing device. The method also includes providing a virtual representation of the display through the operating system based on the received dimensional parameters of the display, and scaling, through the graphics processor, the pixel data corresponding to a scanout of the graphics processor to fit within the virtual representation of the display to provide a one-on-one mapping between a virtual display canvas corresponding to the scanout of the graphics processor and dimensions of the display. |