Collaboration diagram for VdpBitmapSurface; Bitmap Surface object:
![]() |
A VdpBitmapSurface may be filled with:
VdpBitmapSurface content may be accessed by:
VdpBitmapSurface objects are intended to store static read-only data, such as font glyphs, and the bitmaps used to compose an applications' user-interface.
The primary differences between VdpBitmapSurfaces and VdpOutputSurfaces are:
Typedefs | |
typedef VdpStatus | VdpBitmapSurfaceQueryCapabilities (VdpDevice device, VdpRGBAFormat surface_rgba_format, VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) |
Query the implementation's VdpBitmapSurface capabilities. | |
typedef uint32_t | VdpBitmapSurface |
An opaque handle representing a VdpBitmapSurface object. | |
typedef VdpStatus | VdpBitmapSurfaceCreate (VdpDevice device, VdpRGBAFormat rgba_format, uint32_t width, uint32_t height, VdpBool frequently_accessed, VdpBitmapSurface *surface) |
Create a VdpBitmapSurface. | |
typedef VdpStatus | VdpBitmapSurfaceDestroy (VdpBitmapSurface surface) |
Destroy a VdpBitmapSurface. | |
typedef VdpStatus | VdpBitmapSurfaceGetParameters (VdpBitmapSurface surface, VdpRGBAFormat *rgba_format, uint32_t *width, uint32_t *height, VdpBool *frequently_accessed) |
Retrieve the parameters used to create a VdpBitmapSurface. | |
typedef VdpStatus | VdpBitmapSurfacePutBitsNative (VdpBitmapSurface surface, void const *const *source_data, uint32_t const *source_pitches, VdpRect const *destination_rect) |
Copy image data from application memory in the surface's native format to a VdpBitmapSurface. |
|
An opaque handle representing a VdpBitmapSurface object.
|
|
Create a VdpBitmapSurface.
|
|
Destroy a VdpBitmapSurface.
|
|
Retrieve the parameters used to create a VdpBitmapSurface.
|
|
Copy image data from application memory in the surface's native format to a VdpBitmapSurface.
|
|
Query the implementation's VdpBitmapSurface capabilities.
|