MEMORY MANAGEMENT BASED ON AUTOMATIC FULL-SCREEN DETECTION
First Claim
1. A method for a computer system having a system frame buffer and multiple surface buffers allocated in video memory, the method comprising:
- automatically detecting that a window surface associated with a first application is an exclusive window surface for a display;
automatically transitioning to a full-screen mode in which a graphics processor flushes content to the display including flipping between a front surface buffer and a back surface buffer associated with the first application, the transitioning to the full-screen mode in response to detecting the exclusive window surface;
automatically detecting that the window surface associated with the first application is not an exclusive window surface for the display; and
automatically transitioning to a windowed mode in which the graphics processor flushes content to the display including flushing the system frame buffer, wherein transitioning to the windowed mode includes a minimum number of buffer content copy operations between the front surface buffer, the back surface buffer and the system frame buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A window surface associated with a first application is automatically detected as an exclusive window surface for a display. In response, the system automatically transitions to a full-screen mode in which a graphics processor flushes content to the display. The full-screen mode includes flipping between a front surface buffer and a back surface buffer associated with the first application. It is subsequently detected that the window surface associated with the first application is not an exclusive window surface for the display. In response, the system automatically transitions to a windowed mode in which the graphics processor flushes content to the display. In windowed mode, the system frame buffer is flushed to the display. The transition to windowed mode includes a minimum number of buffer content copy operations between the front surface buffer, the back surface buffer and the system frame buffer.
109 Citations
16 Claims
-
1. A method for a computer system having a system frame buffer and multiple surface buffers allocated in video memory, the method comprising:
-
automatically detecting that a window surface associated with a first application is an exclusive window surface for a display; automatically transitioning to a full-screen mode in which a graphics processor flushes content to the display including flipping between a front surface buffer and a back surface buffer associated with the first application, the transitioning to the full-screen mode in response to detecting the exclusive window surface; automatically detecting that the window surface associated with the first application is not an exclusive window surface for the display; and automatically transitioning to a windowed mode in which the graphics processor flushes content to the display including flushing the system frame buffer, wherein transitioning to the windowed mode includes a minimum number of buffer content copy operations between the front surface buffer, the back surface buffer and the system frame buffer. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a graphics processor; a display; a memory having a system frame buffer associated with a window server, a front surface buffer associated with a first application, and a back surface buffer associated with the first application. a kernel driver to automatically detect that a window surface associated with a first application is an exclusive window surface for the display; a display controller to transition from a windowed mode to a full-screen mode in which the graphics processor flushes content to the display including flipping between the front surface buffer and the back surface buffer; the kernel driver further to automatically detect that the window surface associated with the first application is not an exclusive window surface for the display; the display controller further to transition from the full-screen mode to the windowed mode in which the graphics processor flushes content to the display including flushing the system frame buffer to the display, wherein the transitioning to the windowed mode includes a minimum number of buffer content copy operations between the front surface buffer, the back surface buffer and the system frame buffer. - View Dependent Claims (8, 9, 10)
-
-
11. A computer-readable storage medium having instructions stored thereon that, when executed, cause a computer to:
-
automatically detect that a window surface associated with a first application is an exclusive window surface for a display; automatically transition to a full-screen mode in which a graphics processor flushes content to the display including flipping between a front surface buffer and a back surface buffer associated with the first application, the transitioning to the full-screen mode in response to detecting the exclusive window surface; automatically detect that the window surface associated with the first application is not an exclusive window surface for the display; and automatically transition to a windowed mode in which the graphics processor flushes content to the display including flushing a system frame buffer, wherein transitioning to the windowed mode includes a minimum number of buffer content copy operations between the front surface buffer, the back surface buffer and the system frame buffer. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification