mirror of https://github.com/yshui/picom.git
backend: clarify what clone_image does
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
eb39426b08
commit
c738400058
|
@ -335,9 +335,10 @@ struct backend_operations {
|
||||||
bool (*image_op)(backend_t *backend_data, enum image_operations op, void *image_data,
|
bool (*image_op)(backend_t *backend_data, enum image_operations op, void *image_data,
|
||||||
const region_t *reg_op, const region_t *reg_visible, void *args);
|
const region_t *reg_op, const region_t *reg_visible, void *args);
|
||||||
|
|
||||||
/// Create another instance of the `image_data`. All `image_op` and
|
/// Create another instance of the `image_data`. The newly created image
|
||||||
/// `set_image_property` calls on the returned image should not affect the
|
/// inherits its content and all image properties from the image being
|
||||||
/// original image
|
/// cloned. All `image_op` and `set_image_property` calls on the
|
||||||
|
/// returned image should not affect the original image.
|
||||||
void *(*clone_image)(backend_t *base, const void *image_data,
|
void *(*clone_image)(backend_t *base, const void *image_data,
|
||||||
const region_t *reg_visible);
|
const region_t *reg_visible);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue