[weston] linux-dmabuf: align DMABUF exposed formats with EGL supported formats
vincent.abriou at st.com
Tue Nov 22 08:54:58 UTC 2016
I did this patch because I didn't know when the EGL extension to
advertise EGL supported format will be available.
Since Varad patch set I understand that it is in a good way to land shortly.
So we can abandon my patch.
On 11/21/2016 06:49 PM, Daniel Stone wrote:
> Hi Vincent,
> On 7 October 2016 at 16:08, Vincent Abriou <vincent.abriou at st.com> wrote:
>> @@ -72,6 +72,9 @@ install-libweston_moduleLTLIBRARIES install-moduleLTLIBRARIES: install-libLTLIBR
>> lib_LTLIBRARIES = libweston- at LIBWESTON_MAJOR@.la
>> libweston_ at LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON
>> libweston_ at LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBUNWIND_CFLAGS)
>> +if ENABLE_DRM_COMPOSITOR
>> +libweston_ at LIBWESTON_MAJOR@_la_CFLAGS += $(DRM_COMPOSITOR_CFLAGS)
>> libweston_ at LIBWESTON_MAJOR@_la_LIBADD = $(COMPOSITOR_LIBS) $(LIBUNWIND_LIBS) \
>> $(DLOPEN_LIBS) -lm $(CLOCK_GETTIME_LIBS) \
>> $(LIBINPUT_BACKEND_LIBS) libshared.la
> So, given that the set of formats is defined unconditionally in
> gl-renderer, this would break compilation with --disable-drm-backend.
> The options that come to mind are either: using wl_shm enums for these
> formats, shipping a local copy of drm_fourcc.h, or mandating the DRM
> backend for dmabuf. Of those, I'd prefer the first, I think.
> I did merge your YUYV patch, though: thanks!
More information about the wayland-devel