render: Implement rest of transforms

pull/20/head
Andri Yngvason 2020-03-07 12:16:01 +00:00
parent c32993d87d
commit 433ee722ec
1 changed files with 9 additions and 9 deletions

View File

@ -81,21 +81,21 @@ static const float transforms[][4] = {
0.0f, 1.0f,
-1.0f, 0.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED] = { // TODO
1.0f, 0.0f,
[WL_OUTPUT_TRANSFORM_FLIPPED] = {
-1.0f, 0.0f,
0.0f, 1.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_90] = { // TODO
1.0f, 0.0f,
0.0f, 1.0f,
[WL_OUTPUT_TRANSFORM_FLIPPED_90] = {
0.0f, -1.0f,
-1.0f, 0.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_180] = { // TODO
[WL_OUTPUT_TRANSFORM_FLIPPED_180] = {
1.0f, 0.0f,
0.0f, 1.0f,
0.0f, -1.0f,
},
[WL_OUTPUT_TRANSFORM_FLIPPED_270] = { // TODO
1.0f, 0.0f,
[WL_OUTPUT_TRANSFORM_FLIPPED_270] = {
0.0f, 1.0f,
1.0f, 0.0f,
},
};