Method and apparatus for displaying application image
First Claim
1. A method for displaying an application image, which is applicable in a device comprising a first operating system and a second operating system with the first operating system comprising a memory comprising a storage area assigned to an application of the second operating system and which comprises:
- performing read and write operations, by the second operating system, in the storage area and transmitting a display request at the end of the operations to request a display process on the application image stored in the storage area;
receiving, by the first operating system, the display request from the second operating system and reading the application image stored in the storage area, wherein the first operating system is distinct from the second operating system;
judging, by the first operating system, whether a window manager is needed to process the application image according to the configuration of a local image display system, and if the window manager is needed, transmitting the application image to the window manager and transmitting the application image processed by the window manager to a display graphic library for processing;
otherwise, transmitting the application image directly to the display graphic library for processing; and
acquiring, by the first operating system, the location of a frame buffer through a display driver, transmitting the application image processed by the display graphic library to the frame buffer, and displaying the application image through the frame buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a device for displaying an application image are provided, and the method includes the following steps: receiving a display request from a second operating system, and reading the application image stored in a storage area; judging whether it is required to process the application image through a window manager according to the configuration of the local image display system, and if required, sending the application image to the window manager, and sending the application image processed by the window manager to a display graphics library for processing; if not, directly sending the application image to the display graphics library for processing; and acquiring the location of the display memory through a display driver, sending the application image processed by the display graphics library to the display memory, and displaying the application image through the display memory. Using the solution, the application image of the installable operating system can be displayed in the local operating system.
-
Citations
7 Claims
-
1. A method for displaying an application image, which is applicable in a device comprising a first operating system and a second operating system with the first operating system comprising a memory comprising a storage area assigned to an application of the second operating system and which comprises:
-
performing read and write operations, by the second operating system, in the storage area and transmitting a display request at the end of the operations to request a display process on the application image stored in the storage area; receiving, by the first operating system, the display request from the second operating system and reading the application image stored in the storage area, wherein the first operating system is distinct from the second operating system; judging, by the first operating system, whether a window manager is needed to process the application image according to the configuration of a local image display system, and if the window manager is needed, transmitting the application image to the window manager and transmitting the application image processed by the window manager to a display graphic library for processing;
otherwise, transmitting the application image directly to the display graphic library for processing; andacquiring, by the first operating system, the location of a frame buffer through a display driver, transmitting the application image processed by the display graphic library to the frame buffer, and displaying the application image through the frame buffer. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for displaying an application image, which is applicable in a device comprising a first operating system and a second operating system, the second operating system being distinct from the first operating system, with the first operating system comprising a memory comprising a storage area assigned to an application of the second operating system and which comprises:
-
a running module configured to perform read and write operations in the storage area and transmit a display request to a proxy module at the end of the operations to request the proxy module for a display process on the application image stored in the storage area; the proxy module configured to assign the storage area to the application of the second operating system in the memory of the first operating system after the application is run, receive the display request from the second operating system, read the application image stored in the storage area, and judge whether a window manager is needed to process the application image according to the configuration of a local image display system, and if the window manager is needed, transmit the application image to the window manager and transmit the application image processed by the window manager to a graphic processing module;
otherwise, transmit the application image directly to the graphic processing module;the graphic processing module configured to receive the application image from the proxy module and process the application image; a display driver module configured to acquire the location of a frame buffer module and transmit the application image processed by the graphic processing module to the frame buffer module; and the frame buffer module configured to receive the application image from the display driver module and display the application image. - View Dependent Claims (6, 7)
-
Specification