FILL a frame-buffer with color.
static int32_t gpu_async_fill( struct gpu_buffer * dst, struct gpu_rectangle * rect, gpu_color_t color )
This function FILL a destination-filled area with color. This function is asynchronous, application can call gpu_async_register_callback function to register a callback function. The callback function will be invoked when GPU operation finished.
Type: struct gpu_buffer *
Pointer to the destination-filled area buffer.
Type: struct gpu_rectangle *
Pointer to the destination-filled area rectangle.
Type: gpu_color_t
A 32-bit ARGB color resized to the area pixel format.
Type: int32_t
Operation status.
A GPU Operation still in processing.