e_output: Add APIs for stream capture to mask canvas with image object. 71/228571/5
authorSeunghun Lee <shiin.lee@samsung.com>
Sun, 22 Mar 2020 03:00:27 +0000 (12:00 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 26 Mar 2020 01:26:45 +0000 (01:26 +0000)
commit12c48bcf9cc516815665e64f535b7b81eac0f528
tree3e1ca431cc739c6ca5bfdbe05b94276d4333b795
parent69b3400007926aae20afff8706c718cf02ecd1d2
e_output: Add APIs for stream capture to mask canvas with image object.

This patch introduces APIs for masking canvas with image object during
stream capture. Namely, these methods are:

Eina_Bool e_output_stream_capture_mask_image_file_set(file)
Eina_Bool e_output_stream_capture_mask_image_geometry_set(x, y, w, h)

Once the image file is given, image object will be created on top of
canvas whenever starting stream capture and will be destroyed whenever
finishing stream capture.
It can be canceled by setting null as file name.

Image object will be re-loadeded if the file name changes during stream
capture, and will be destroyed if null is given as file name.

Change-Id: Id12895e894588c3700aeca52dab1213f57fdc44e
src/bin/e_output.c
src/bin/e_output.h