Add premultiplied option to composite operation (#1835)

This commit is contained in:
Andargor
2019-08-14 14:01:23 -04:00
committed by Lovell Fuller
parent 3fa91bb4ce
commit 4ae8999f62
10 changed files with 81 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ struct Composite {
int left;
int top;
bool tile;
bool premultiplied;
Composite():
input(nullptr),
@@ -48,7 +49,8 @@ struct Composite {
gravity(0),
left(-1),
top(-1),
tile(false) {}
tile(false),
premultiplied(false) {}
};
struct PipelineBaton {