![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDGPESurfobject has overridden several of the GPESurfobject's constructors in order to add functionality.
When your driver creates a surface, it should never create a DDGPESurfobject directly. Instead, you should define your own surface object that derives from DDGPESurf. To add hardware- or driver-specific functionality, you can new constructors and possibly override one or more of the existing constructors.
If your surface object calls one of the DDGPESurfconstructors without supplying a pointer to memory that has been allocated for the surface's graphic information, DDGPESurfwill automatically allocate system memory for you. The DDGPESurfdestructor will free any memory allocated by the DDGPESurfconstructors.
DDGPESurf ( int width , int height , void * pBits , int stride , EGPEFormat format ); DDGPESurf ( int width , int height , void * pBits , int stride , EGPEFormat format , EDDGPEPixelFormat pixelFormat ); DDGPESurf ( int width , int height , int stride , EGPEFormat format , EDDGPEPixelFormat pixelFormat ); DDGPESurf ( int width , int height , EGPEFormat format );
Parameters
Last updated on Tuesday, July 13, 2004