package/webkitgtk: use the WPE renderer if available
If enabled at build time, WebKit's internal nested compositor can work more efficiently when targeting Wayland, by avoiding one unneeded buffer copy. The build option has been available for a few years in WebKitGTK releases. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d9ac22b7e2
commit
7e8f0d95a0
@ -28,8 +28,7 @@ WEBKITGTK_CONF_OPTS = \
|
||||
-DUSE_LIBHYPHEN=OFF \
|
||||
-DUSE_OPENJPEG=ON \
|
||||
-DUSE_SOUP2=ON \
|
||||
-DUSE_WOFF2=ON \
|
||||
-DUSE_WPE_RENDERER=OFF
|
||||
-DUSE_WOFF2=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y)
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
@ -101,6 +100,13 @@ WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy)
|
||||
WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON
|
||||
WEBKITGTK_DEPENDENCIES += wpebackend-fdo
|
||||
else
|
||||
WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y)
|
||||
WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user