Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-20 Thread Pekka Paalanen
On Fri, 3 Mar 2017 23:05:12 + Daniel Stone wrote: > Rather than duplicating knowledge of pixel formats across several > components, create a custom central repository. > > Differential Revision: https://phabricator.freedesktop.org/D1511 > > Signed-off-by: Daniel Stone > --- > Makefile.am

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-16 Thread Emil Velikov
On 16 March 2017 at 10:54, Daniel Stone wrote: > Hey Emil, > > On 13 March 2017 at 17:57, Emil Velikov wrote: >> On 10 March 2017 at 15:28, Daniel Stone wrote: >>> On 9 March 2017 at 22:57, Emil Velikov wrote: According to WL_bind_wayland_display and the i965/i915 drivers (afaict) abo

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-16 Thread Daniel Stone
Hey Emil, On 13 March 2017 at 17:57, Emil Velikov wrote: > On 10 March 2017 at 15:28, Daniel Stone wrote: >> On 9 March 2017 at 22:57, Emil Velikov wrote: >>> According to WL_bind_wayland_display and the i965/i915 drivers >>> (afaict) above five should have two planes. Then again, the FOURCC an

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-13 Thread Emil Velikov
On 10 March 2017 at 15:28, Daniel Stone wrote: > Hey Emil, > > On 9 March 2017 at 22:57, Emil Velikov wrote: >> So was feeling a bit bored and decided to remind myself about all the >> crazy formats out there :-) >> >> I believe you've got a couple of mistakes, plus there's a couple of >> questio

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-10 Thread Daniel Stone
Hey Emil, On 9 March 2017 at 22:57, Emil Velikov wrote: > So was feeling a bit bored and decided to remind myself about all the > crazy formats out there :-) > > I believe you've got a couple of mistakes, plus there's a couple of > questions/ideas below. > Note that handful of those are inspired

Re: [PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-09 Thread Emil Velikov
Hi Daniel, So was feeling a bit bored and decided to remind myself about all the crazy formats out there :-) I believe you've got a couple of mistakes, plus there's a couple of questions/ideas below. Note that handful of those are inspired by now format info is stored in DRM. On 3 March 2017 at

[PATCH weston v9 01/62] libweston: Add pixel-format helpers

2017-03-03 Thread Daniel Stone
Rather than duplicating knowledge of pixel formats across several components, create a custom central repository. Differential Revision: https://phabricator.freedesktop.org/D1511 Signed-off-by: Daniel Stone --- Makefile.am | 2 + libweston/pixel-formats.c | 403 +