#include <MVirtualScreen.h>
Inheritance diagram for MVirtualScreen:
Public Member Functions | |
MVirtualScreen () | |
Default constructor. | |
virtual void | FlushVirtualBuffer (bool aOnlyIfActive=true)=0 |
Copies the data from virtual buffer to device physical frame buffer. If the update succeeds, generates FiredScreenRefreshEvent() event. | |
virtual void | FlushFrameBuffer (bool aOnlyIfActive=true)=0 |
Copies the data from physical device frame buffer to virtual buffer. If the update succeeds, generates FiredScreenRefreshEvent() event. | |
virtual char * | GetFrameBuffer ()=0 |
Returns the reference to underlaying physical MFrameBuffer of current device. | |
Static Public Member Functions | |
MVirtualScreen & | GetVirtualScreen () |
Returns the reference to the default MVirtualScreen This reference is used by upper library layers. | |
Public Attributes | |
MVirtualScreenEvents * | iEvents |
This interface manages the shadow virtual buffer associated with the primary MFrameBuffer All the upper library layers are using virtual screen for drawing. Virtual screen could be flushed to the underlying FrameBuffer at any appropriate moment However, the real flushing takes place only if this application is active so it will not spoil the output of other applications
Application could have as many virtual buffers as necessary. However, the upper library layers are using the default MVirtualScreen returned by static GetVirtualScreen() method of this class
|
Copies the data from physical device frame buffer to virtual buffer. If the update succeeds, generates FiredScreenRefreshEvent() event.
|
|
Copies the data from virtual buffer to device physical frame buffer. If the update succeeds, generates FiredScreenRefreshEvent() event.
|
|
A pointer to observer for MVirtualScreenEvents |