new backend: glx: implement IMAGE_OP_APPLY_ALPHA

Slight change to the backend_operations::fill interface.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-05-10 08:34:58 +01:00
parent 18b1fc95ff
commit 80c7b2f7ec
6 changed files with 46 additions and 19 deletions

View File

@@ -22,6 +22,10 @@ typedef struct {
int right;
} margin_t;
struct color {
double red, green, blue, alpha;
};
typedef uint32_t opacity_t;
#define MARGIN_INIT \