Refactor egl::surface_descriptor_t, removed obj_count and plane_indices
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user