CDirectScreenBitmap Class Reference
class CDirectScreenBitmap : public CBase |
Direct Screen Bitmap. API to allow provide synchronisation of the display of images with the displays refresh to prevent tearing.
This is an abstract base class, so must be derived from on a per-variant basis.
Note: this class is likely to be deprecated in the future
Member Functions Documentation
BeginUpdate(TAcceleratedBitmapInfo &)
Close()
void | Close | ( | ) | [pure virtual] |
Create(const TRect &, TSettingsFlags)
Creates a CDirectScreenBitmap object which can be used for drawing to a region of the screen indicated by aScreenRect. This region must have previously been 'claimed' via the Window Servers Direct Screen Access API.
Parameters
const TRect & aScreenRect | The region to be displayed |
TSettingsFlags aSettingsFlags | The mode of operation. The upper 3 bits are used for the screen number value: 0..7. By default the screen with number 0 will be used. |
EndUpdate(TRequestStatus &)
Indicates to the Video Driver that the bitmap corresponding to the update has been fully rendered. The video driver will perform the actions required to copy this to the frame buffer.
The request status aComplete will be signalled when the copying has completed.
EndUpdate(const TRect &, TRequestStatus &)
Indicates to the Video Driver that the area indicated in aScreenRect has been fully rendered. The video driver will perform the actions required to copy this to the frame buffer.
The request status aComplete will be signalled when the copying has completed.
Note: aScreenRects coordinates are relative to the screen, not the update region specified in Create(). aScreenRect must fit entirely within the bounds of the original region passed to Create().
Parameters
const TRect & aScreenRect | The region to update |
TRequestStatus & aComplete | Asynchronous completion status |
NewL()
Constructs a
CDirectScreenBitmap derived object. The default screen (with number 0) will be used.
- leave
- KErrNoMemory There was insufficient memory to allocate the CDirectScreenBitmap derived object
NewL(TInt)
Parameters
TInt aScreenNo | Screen number, used by the CDirectScreenBitmap object. |
Member Enumerations Documentation
Enum TSettingsFlags
Enumerators
ENone = 0 | |
EDoubleBuffer = 1 | |
EIncrementalUpdate = 2 | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.