|
|
Created:
4 years ago by Daniele Castagna Modified:
4 years ago CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionexo: NV12 support for linux-buffer-params interface.
So far the only client using linux-buffer-params interface has only been
wayland_motion_client that allocates only RGB buffers.
A new wayland test client that uses linux-buffer-params
and produces YUV formats is in the works.
This CL adds NV12 to linux-buffer-params. It additionally removes the
check that the fds coming from wayland are valid, since wayland guarantees
that already.
BUG=
Committed: https://crrev.com/d89189d4cb6762dcbd0e622f6473920408a30fc2
Cr-Commit-Position: refs/heads/master@{#437400}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Post error if more than on fd is set. #Patch Set 3 : Move code around. #Patch Set 4 : Can't have an invalid fd. #Patch Set 5 : Fds via wayland can't be invalid. #Patch Set 6 : Multiple fds will be the way. #Messages
Total messages: 24 (13 generated)
dcastagna@chromium.org changed reviewers: + hoegsberg@chromium.org, reveman@chromium.org
ccing gurchetansingh@
https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... components/exo/wayland/server.cc:700: if (!i) { can we post an error or have buffer creation fail instead of silently trying to create a buffer from just one of the fds?
https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... components/exo/wayland/server.cc:700: if (!i) { On 2016/11/30 at 22:59:49, reveman wrote: > can we post an error or have buffer creation fail instead of silently trying to create a buffer from just one of the fds? Done.
On 2016/11/30 at 23:31:02, Daniele Castagna wrote: > https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... > File components/exo/wayland/server.cc (right): > > https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... > components/exo/wayland/server.cc:700: if (!i) { > On 2016/11/30 at 22:59:49, reveman wrote: > > can we post an error or have buffer creation fail instead of silently trying to create a buffer from just one of the fds? > > Done. Reverted it since all fds passed via wayland have to be valid fds.
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the work. This CL adds NV12 to linux-buffer-params. It also makes sure only the first plane fd is used, since Chromium doens't support importing multiple-fds buffers yet. BUG=b/32726875 ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the work. This CL adds NV12 to linux-buffer-params. BUG= ==========
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the work. This CL adds NV12 to linux-buffer-params. BUG= ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the work. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ==========
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/11/30 at 23:41:20, Daniele Castagna wrote: > On 2016/11/30 at 23:31:02, Daniele Castagna wrote: > > https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... > > File components/exo/wayland/server.cc (right): > > > > https://codereview.chromium.org/2543633005/diff/1/components/exo/wayland/serv... > > components/exo/wayland/server.cc:700: if (!i) { > > On 2016/11/30 at 22:59:49, reveman wrote: > > > can we post an error or have buffer creation fail instead of silently trying to create a buffer from just one of the fds? > > > > Done. > > Reverted it since all fds passed via wayland have to be valid fds. As discussed, we want chrome/drivers to work with multiple fds. The ugly TODO has been removed. PTAL.
lgtm
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the work. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ==========
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ==========
On 2016/11/30 22:40:48, Daniele Castagna wrote: > ccing gurchetansingh@ lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by dcastagna@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1481244967830500, "parent_rev": "a88650ef94dbc65dbcaa770e93ab0e91f6064e5a", "commit_rev": "06233593a6fbc228c768f58f0cdd58391dc6f8d6"}
Message was sent while issue was closed.
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= ========== to ========== exo: NV12 support for linux-buffer-params interface. So far the only client using linux-buffer-params interface has only been wayland_motion_client that allocates only RGB buffers. A new wayland test client that uses linux-buffer-params and produces YUV formats is in the works. This CL adds NV12 to linux-buffer-params. It additionally removes the check that the fds coming from wayland are valid, since wayland guarantees that already. BUG= Committed: https://crrev.com/d89189d4cb6762dcbd0e622f6473920408a30fc2 Cr-Commit-Position: refs/heads/master@{#437400} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/d89189d4cb6762dcbd0e622f6473920408a30fc2 Cr-Commit-Position: refs/heads/master@{#437400} |