COPY from a frame-buffer to another.
static int32_t gpu_async_copy( struct gpu_buffer * dst, struct gpu_rectangle * dst_rect, struct gpu_buffer * src, struct gpu_rectangle * src_rect )
This function COPY a frame-buffer to a destination frame-buffer. 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 area buffer.
Type: struct gpu_rectangle *
Pointer to the destination area rectangle.
Type: struct gpu_buffer *
Pointer to the source area buffer.
Type: struct gpu_rectangle *
Pointer to the source area rectangle.
Type: int32_t
Operation status.
A GPU Operation still in processing.