Refactor egl::surface_descriptor_t, removed obj_count and plane_indices
This commit is contained in:
parent
9dbf0df67d
commit
10ca72f934
7 changed files with 54 additions and 48 deletions
|
|
@ -350,16 +350,14 @@ public:
|
|||
auto nv12_opt = egl::import_target(
|
||||
display.get(),
|
||||
std::move(fds),
|
||||
{ 1,
|
||||
(int)prime.width,
|
||||
{ (int)prime.width,
|
||||
(int)prime.height,
|
||||
{ prime.objects[prime.layers[0].object_index[0]].fd, -1, -1, -1 },
|
||||
0,
|
||||
0,
|
||||
{ prime.layers[0].pitch[0] },
|
||||
{ prime.layers[0].offset[0] } },
|
||||
{ 1,
|
||||
(int)prime.width / 2,
|
||||
{ (int)prime.width / 2,
|
||||
(int)prime.height / 2,
|
||||
{ prime.objects[prime.layers[0].object_index[1]].fd, -1, -1, -1 },
|
||||
0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue