Location:
GraphicsAccelerator.h
Link against: _integrator_scdv.lib
class CHardwareGraphicsAccelerator : public CGraphicsAccelerator;
A factory for creating 2D graphics accelerator objects whose graphics operations are implemented in hardware, software or a mixture of both.
Objects of derived classes can only write to hardware bitmaps (RHardwareBitmap
). Note that graphics accelerators may support only a subset of all graphics operations.
CBase
- Base class for all classes to be instantiated on the heap
CGraphicsAccelerator
- Abstract base class for 2D graphics accelerators
CHardwareGraphicsAccelerator
- A factory for creating 2D graphics accelerator objects whose graphics operations are implemented in hardware, software
or a mixture of both
Defined in CHardwareGraphicsAccelerator
:
Capabilities()
, GenericCapabilities()
, NewL()
, Operation()
, Operation()
, Operation()
, Operation()
, Reserved_1()
, Reserved_2()
, Reserved_3()
, Reserved_4()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CHardwareGraphicsAccelerator *NewL(RHardwareBitmap aBitmap);
Create a new CHardwareGraphicsAccelerator for use with a given hardware bitmap.
Do not use, link against scdv.lib.
|
|
static IMPORT_C const TGraphicsAcceleratorCaps *GenericCapabilities();
Gets the generic capabilities of the accelerator, including the supported display modes for the bitmap passed to NewL()
.
Do not use, link against scdv.lib.
|
virtual const TGraphicsAcceleratorCaps *Capabilities()=0;
Returns the capabilities of the graphics accelerator.
|
virtual TInt Operation(const TGraphicsOperation &aOperation)=0;
Requests the graphics accelerator to perform a single graphics operation.
|
|
virtual TInt Operation(const TGraphicsOperation &aOperation, TInt aNumClipRects, TRect *aClipRects)=0;
Requests the graphics accelerator perform a single graphics operation within a clipping region. This version is of Operation()
is only usable if the accelerator capabilities returned by Capabilities()
indicate that clipping to a region is supported.
|
|
virtual TInt Operation(TDes8 &aBuffer)=0;
Requests the graphics accelerator perform one or more graphics operations contained in a buffer.
The underlying implementation may be able to process a group of graphics operations more efficiently than if Operation()
was called for each individually.
This function should be implemented as if Operation()
was called in turn for each operation contained in the buffer. Each operation should be carried out immediately after the
one preceding it. If a method returns an error, the length of aBuffer should be set to indicate the number of operations that
have been successfully processed. In this case, the operation in which the error occurred will be indicated by the memory
address &aBuffer[aBuffer.Length()].
|
|
virtual TInt Operation(TDes8 &aBuffer, TInt aNumClipRects, TRect *aClipRects)=0;
Requests the graphics accelerator perform one or more graphics operations within a clipping region. This version is of Operation()
is only usable if the accelerator capabilities returned by Capabilities()
indicate that clipping to a region is supported.
The underlying implementation may be able to process a group of graphics operations more efficiently than if Operation()
was called for each individually.
This function should be implemented as if Operation()
was called in turn for each operation contained in the buffer. Each operation should be carried out immediately after the
one preceding it. If a method returns an error, the length of aBuffer should be set to indicate the number of operations that
have been successfully processed. In this case, the operation in which the error occurred will be indicated by the memory
address &aBuffer[aBuffer.Length()].
|
|
virtual void Reserved_4()=0;