mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-25 21:59:11 +01:00
test/alloc: add zpos-2x-fail
This commit is contained in:
parent
1db99c213c
commit
2e1dd93b60
2 changed files with 20 additions and 0 deletions
|
@ -30,6 +30,7 @@ tests = {
|
||||||
'simple-1x',
|
'simple-1x',
|
||||||
'simple-1x-fail',
|
'simple-1x-fail',
|
||||||
'simple-3x',
|
'simple-3x',
|
||||||
|
'zpos-2x-fail',
|
||||||
'zpos-3x',
|
'zpos-3x',
|
||||||
'zpos-3x-intersect-fail',
|
'zpos-3x-intersect-fail',
|
||||||
'zpos-3x-intersect-partial',
|
'zpos-3x-intersect-partial',
|
||||||
|
|
|
@ -123,6 +123,25 @@ static struct test_case tests[] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = "zpos-2x-fail",
|
||||||
|
.layers = {
|
||||||
|
{
|
||||||
|
.width = 100,
|
||||||
|
.height = 100,
|
||||||
|
.zpos = 1,
|
||||||
|
.compat = { CURSOR_PLANE },
|
||||||
|
.result = NULL,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.width = 1920,
|
||||||
|
.height = 1080,
|
||||||
|
.zpos = 2,
|
||||||
|
.compat = { PRIMARY_PLANE },
|
||||||
|
.result = PRIMARY_PLANE,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.name = "zpos-3x",
|
.name = "zpos-3x",
|
||||||
.layers = {
|
.layers = {
|
||||||
|
|
Loading…
Reference in a new issue